@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
	:root {
		--background: 0 0% 100%;
		--foreground: 0 0% 3.9%;

		--muted: 0 0% 96.1%;
		--muted-foreground: 0 0% 45.1%;

		--popover: 0 0% 100%;
		--popover-foreground: 0 0% 3.9%;

		--card: 0 0% 100%;
		--card-foreground: 0 0% 3.9%;

		--border: 0 0% 89.8%;
		--input: 0 0% 89.8%;

		--primary: 0 0% 9%;
		--primary-foreground: 0 0% 98%;

		--secondary: 0 0% 96.1%;
		--secondary-foreground: 0 0% 9%;

		--accent: 0 0% 96.1%;
		--accent-foreground: 0 0% 9%;

		--destructive: 0 90.6% 70.8%;
		--destructive-foreground: 0 75% 15%;

		--info: 198.6 88.7% 48.4%;
		--info-foreground: 204 93.8% 93.7%;

		--success: 158.1 64.4% 51.6%;
		--success-foreground: 165.7 91.3% 9%;

		--ring: 0 0% 3.9%;

		--radius: 0.5rem;

		--sidebar-background: 0 0% 100%;
		--sidebar-foreground: 240 5.3% 26.1%;
		--sidebar-primary: 240 5.9% 10%;
		--sidebar-primary-foreground: 0 0% 98%;
		--sidebar-accent: 240 4.8% 95.9%;
		--sidebar-accent-foreground: 240 5.9% 10%;
		--sidebar-border: 220 13% 91%;
		--sidebar-ring: 217.2 91.2% 59.8%;
	}

	.dark {
		--background: 0 0% 9%;
		--foreground: 0 0% 98%;

		--muted: 0 0% 14.9%;
		--muted-foreground: 0 0% 63.9%;

		--popover: 0 0% 3.9%;
		--popover-foreground: 0 0% 98%;

		--card: 0 0% 14.9%;
		--card-foreground: 0 0% 98%;

		--border: 0 0% 20%;
		--input: 0 0% 14.9%;

		--primary: 0 0% 98%;
		--primary-foreground: 0 0% 9%;

		--secondary: 0 0% 14.9%;
		--secondary-foreground: 0 0% 98%;

		--accent: 0 0% 14.9%;
		--accent-foreground: 0 0% 98%;

		--info: 198.6 88.7% 48.4%;
		--info-foreground: 204 93.8% 93.7%;

		--success: 158.1 64.4% 51.6%;
		--success-foreground: 165.7 91.3% 9%;

		--destructive: 0 90.6% 70.8%;
		--destructive-foreground: 0 75% 15%;

		--ring: 0 0% 83.1%;

		--sidebar-background: 0 0% 9%;
		--sidebar-foreground: 240 4.8% 95.9%;
		--sidebar-primary: 224.3 76.3% 48%;
		--sidebar-primary-foreground: 0 0% 100%;
		--sidebar-accent: 240 3.7% 15.9%;
		--sidebar-accent-foreground: 240 4.8% 95.9%;
		--sidebar-border: 240 3.7% 15.9%;
		--sidebar-ring: 217.2 91.2% 59.8%;
	}
}

@layer base {
	:root {
		overscroll-behavior: none;
	}
	* {
		@apply border-border;
		overscroll-behavior: none;
	}
	body {
		@apply bg-background text-foreground;
		font-family: 'Ubuntu', sans-serif;
	}
}

/* NATIVE VIEW TRANSITIONS API */
::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.25s;
}
