@import "tailwindcss";
@import "fumadocs-ui/css/neutral.css";
@import "fumadocs-ui/css/preset.css";
@import "tw-animate-css";

@custom-variant dark (&:is(.dark *));

@source '../node_modules/fumadocs-ui/dist/**/*.js';

:root {
	--radius: 0.5rem;
	--background: oklch(0.99 0 0);
	--foreground: oklch(0 0 0);
	--card: oklch(1 0 0);
	--card-foreground: oklch(0 0 0);
	--popover: oklch(0.99 0 0);
	--popover-foreground: oklch(0 0 0);
	--primary: oklch(22% 0 248);
	--primary-foreground: oklch(1 0 0);
	--secondary: oklch(0.94 0 0);
	--secondary-foreground: oklch(0 0 0);
	--muted: oklch(0.97 0 0);
	--muted-foreground: oklch(0.44 0 0);
	--accent: oklch(0.94 0 0);
	--accent-foreground: oklch(0 0 0);
	--destructive: oklch(0.63 0.19 23.03);
	--border: oklch(0.92 0 0);
	--input: oklch(0.94 0 0);
	--ring: oklch(0 0 0);
	--chart-1: oklch(0.81 0.17 75.35);
	--chart-2: oklch(0.55 0.22 264.53);
	--chart-3: oklch(0.72 0 0);
	--chart-4: oklch(0.92 0 0);
	--chart-5: oklch(0.56 0 0);
	--sidebar: oklch(0.99 0 0);
	--sidebar-foreground: oklch(0 0 0);
	--sidebar-primary: oklch(0 0 0);
	--sidebar-primary-foreground: oklch(1 0 0);
	--sidebar-accent: oklch(0.94 0 0);
	--sidebar-accent-foreground: oklch(0 0 0);
	--sidebar-border: oklch(0.94 0 0);
	--sidebar-ring: oklch(0 0 0);
	--destructive-foreground: oklch(1 0 0);
	--font-sans: Geist, sans-serif;
	--font-serif: Georgia, serif;
	--font-mono: Geist Mono, monospace;
	--shadow-color: hsl(0 0% 0%);
	--shadow-opacity: 0.18;
	--shadow-blur: 2px;
	--shadow-spread: 0px;
	--shadow-offset-x: 0px;
	--shadow-offset-y: 1px;
	--letter-spacing: 0em;
	--spacing: 0.25rem;
	--shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
	--shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
	--shadow-sm: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
	--shadow: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
	--shadow-md: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 2px 4px -1px hsl(0 0% 0% / 0.18);
	--shadow-lg: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.18);
	--shadow-xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 8px 10px -1px hsl(0 0% 0% / 0.18);
	--shadow-2xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.45);
	--tracking-normal: 0em;
}

.dark {
	--background: oklch(0 0 0);
	--foreground: oklch(1 0 0);
	--card: oklch(0.14 0 0);
	--card-foreground: oklch(1 0 0);
	--popover: oklch(0.18 0 0);
	--popover-foreground: oklch(1 0 0);
	--primary: oklch(99% 0 0);
	--primary-foreground: oklch(0 0 0);
	--secondary: oklch(0.25 0 0);
	--secondary-foreground: oklch(1 0 0);
	--muted: oklch(0.23 0 0);
	--muted-foreground: oklch(0.72 0 0);
	--accent: oklch(0.32 0 0);
	--accent-foreground: oklch(1 0 0);
	--destructive: oklch(0.69 0.20 23.91);
	--border: oklch(0.26 0 0);
	--input: oklch(0.32 0 0);
	--ring: oklch(0.72 0 0);
	--chart-1: oklch(0.81 0.17 75.35);
	--chart-2: oklch(0.58 0.21 260.84);
	--chart-3: oklch(0.56 0 0);
	--chart-4: oklch(0.44 0 0);
	--chart-5: oklch(0.92 0 0);
	--sidebar: oklch(0.18 0 0);
	--sidebar-foreground: oklch(1 0 0);
	--sidebar-primary: oklch(1 0 0);
	--sidebar-primary-foreground: oklch(0 0 0);
	--sidebar-accent: oklch(0.32 0 0);
	--sidebar-accent-foreground: oklch(1 0 0);
	--sidebar-border: oklch(0.32 0 0);
	--sidebar-ring: oklch(0.72 0 0);
	--destructive-foreground: oklch(0 0 0);
	--radius: 0.5rem;
	--shadow-color: hsl(0 0% 0%);
	--letter-spacing: 0em;
	--spacing: 0.25rem;
	--font-sans: Geist, sans-serif;
	--font-serif: Georgia, serif;
	--font-mono: Geist Mono, monospace;
	--shadow-opacity: 0.18;
	--shadow-blur: 2px;
	--shadow-spread: 0px;
	--shadow-offset-x: 0px;
	--shadow-offset-y: 1px;
	--shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
	--shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
	--shadow-sm: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
	--shadow: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
	--shadow-md: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 2px 4px -1px hsl(0 0% 0% / 0.18);
	--shadow-lg: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.18);
	--shadow-xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 8px 10px -1px hsl(0 0% 0% / 0.18);
	--shadow-2xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.45);
}

@theme inline {
	--duration: 40s;
	--radius-sm: calc(var(--radius) - 4px);
	--radius-md: calc(var(--radius) - 2px);
	--radius-lg: var(--radius);
	--radius-xl: calc(var(--radius) + 4px);
	--color-background: var(--background);
	--color-foreground: var(--foreground);
	--color-card: var(--card);
	--color-card-foreground: var(--card-foreground);
	--color-popover: var(--popover);
	--color-popover-foreground: var(--popover-foreground);
	--color-primary: var(--primary);
	--color-primary-foreground: var(--primary-foreground);
	--color-secondary: var(--secondary);
	--color-secondary-foreground: var(--secondary-foreground);
	--color-muted: var(--muted);
	--color-muted-foreground: var(--muted-foreground);
	--color-accent: var(--accent);
	--color-accent-foreground: var(--accent-foreground);
	--color-destructive: var(--destructive);
	--color-border: var(--border);
	--color-input: var(--input);
	--color-ring: var(--ring);
	--color-chart-1: var(--chart-1);
	--color-chart-2: var(--chart-2);
	--color-chart-3: var(--chart-3);
	--color-chart-4: var(--chart-4);
	--color-chart-5: var(--chart-5);
	--color-sidebar: var(--sidebar);
	--color-sidebar-foreground: var(--sidebar-foreground);
	--color-sidebar-primary: var(--sidebar-primary);
	--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
	--color-sidebar-accent: var(--sidebar-accent);
	--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
	--color-sidebar-border: var(--sidebar-border);
	--color-sidebar-ring: var(--sidebar-ring);
	--font-sans: Geist, sans-serif;
	--font-mono: Geist Mono, monospace;
	--font-serif: Georgia, serif;
	--radius: 0.5rem;
	--tracking-tighter: calc(var(--tracking-normal) - 0.05em);
	--tracking-tight: calc(var(--tracking-normal) - 0.025em);
	--tracking-wide: calc(var(--tracking-normal) + 0.025em);
	--tracking-wider: calc(var(--tracking-normal) + 0.05em);
	--tracking-widest: calc(var(--tracking-normal) + 0.1em);
	--tracking-normal: var(--tracking-normal);
	--shadow-2xl: var(--shadow-2xl);
	--shadow-xl: var(--shadow-xl);
	--shadow-lg: var(--shadow-lg);
	--shadow-md: var(--shadow-md);
	--shadow: var(--shadow);
	--shadow-sm: var(--shadow-sm);
	--shadow-xs: var(--shadow-xs);
	--shadow-2xs: var(--shadow-2xs);
	--spacing: var(--spacing);
	--letter-spacing: var(--letter-spacing);
	--shadow-offset-y: var(--shadow-offset-y);
	--shadow-offset-x: var(--shadow-offset-x);
	--shadow-spread: var(--shadow-spread);
	--shadow-blur: var(--shadow-blur);
	--shadow-opacity: var(--shadow-opacity);
	--color-shadow-color: var(--shadow-color);
	--color-destructive-foreground: var(--destructive-foreground);
}

@layer base {
	* {
		/* outline: dashed lime 1px; */
		@apply border-border outline-ring/50;
	}
	body {
		@apply bg-background text-foreground;
    letter-spacing: var(--tracking-normal);
	}
}

@theme {
	--animate-marquee: marquee var(--duration) infinite linear;
	--animate-marquee-vertical: marquee-vertical var(--duration) infinite linear;

	@keyframes marquee {
		from {
			transform: translateX(0);
		}
		to {
			transform: translateX(calc(-100% - var(--gap)));
		}
	}

	@keyframes marquee-vertical {
		from {
			transform: translateY(0);
		}
		to {
			transform: translateY(calc(-100% - var(--gap)));
		}
	}
}

/*  */

.data-table table,
.table table {
	@apply w-full border-separate border-spacing-0;
}

.data-table table thead,
.table table thead {
	@apply border-t border-b border-border;
}

.data-table table th,
.table table th {
	@apply first:rounded-tl-md first:rounded-bl-md first:border-l 
	last:rounded-tr-md last:rounded-br-md last:border-r 
	border-t border-b border-border bg-muted/60 align-top;
}

.data-table table thead th,
.table table thead th {
	@apply text-left text-wrap lg:text-nowrap text-foreground 
	text-base font-normal tracking-tight p-3;
}

.data-table table tbody td,
.table table tbody td {
	@apply text-foreground text-sm p-3 border-b border-border;
}

/* .data-table table tr,
.table table tr {
	@apply even:bg-background-foreground hover:bg-background-foreground;
} */

.table table tbody td:nth-child(1) {
	width: 16ch;
}

/* TABLE1 */
.table1 {
	@apply bg-card mt-6 border border-collapse border-border rounded-none;
}

.table1 tr {
	@apply even:bg-muted;
}

.table1 thead tr th {
	@apply px-4 border border-collapse border-border;
}

.table1 tbody tr td {
	@apply border border-collapse px-1 py-px border-border;
}

.table1 tbody tr td:nth-child(3) {
	@apply text-right;
}

/* TABLE 2 */
.table2 {
	font-family: "Times New Roman", Times, serif;
	@apply mt-4 border border-separate border-border bg-none rounded-none;
}

.table2 thead tr th,
.table2 tbody tr td {
	@apply px-4 border border-border;
}

.table2 thead tr th {
	@apply text-primary;
}

.table2 tbody tr {
	@apply border border-border;
}

.table2 tbody tr td {
	@apply px-1 py-px;
}

/* TABLE 3 */
.table3 {
	font-family: "Times New Roman", Times, serif;
	border: thin solid;
	@apply mt-4 border-separate border-border bg-none rounded-none;
}

.table3 thead tr th,
.table3 tbody tr td {
	border: thin solid;
	@apply border-border;
}

.table3 tbody tr {
	@apply border border-border;
}

.table3 thead tr th {
	@apply px-4 text-primary;
}

.table3 tbody tr td {
	@apply px-1 py-px;
}

/* TABLE 4 */
.table4 {
	font-family: "Times New Roman", Times, serif;
	@apply border mt-4 border-collapse border-border bg-none rounded-none;
}

.table4 thead tr th,
.table4 tbody tr td {
	@apply border border-collapse border-border;
}

.table4 thead tr th {
	@apply px-4 text-primary;
}

.table4 tbody tr {
	@apply border border-border;
}

.table4 tbody tr td {
	@apply px-1 py-px;
}

/* TABLE 5 */
.table5 {
	@apply mt-6 mb-6 border-collapse rounded-none;
}

.table5,
.table5 thead th,
.table5 tbody td {
	@apply border border-solid border-neutral-950;
}

.table5 thead tr th {
	background-color: #191970 !important;
	color: #ededed !important;
}

.table5 thead th {
	padding: 0.5rem 1rem;
}

.table5 tbody {
	background-color: #add8e6;
}

.table5 tbody td {
	padding: 0.25rem;
	color: #111;
}

.table5 tbody td:nth-child(3) {
	text-align: right;
}

/* TABLE 6 */
.table6 {
	@apply font-serif border border-border border-separate mt-4 bg-none rounded-none;
}

.table6 thead tr th,
.table6 tbody tr td {
	@apply border border-border;
}

.table6 thead tr th {
	@apply md:px-2 text-center align-middle;
}

.table6 tbody tr td {
	@apply text-center;
}
