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

@font-face {
	font-family: "Sen";
	src: url("/fonts/sen-variable.ttf") format("truetype");
}

@layer base {
	:root {
		--background: 256 13% 95%;
		--foreground: 256 5% 10%;
		--card: 256 13% 90%;
		--card-foreground: 256 5% 15%;
		--popover: 256 13% 95%;
		--popover-foreground: 256 95% 10%;
		--primary: 256 57.3% 54.1%;
		--primary-foreground: 0 0% 100%;
		--secondary: 256 13% 70%;
		--secondary-foreground: 0 0% 0%;
		--muted: 218 13% 85%;
		--muted-foreground: 256 5% 40%;
		--accent: 218 13% 80%;
		--accent-foreground: 256 5% 15%;
		--destructive: 0 50% 42%;
		--destructive-foreground: 256 5% 90%;
		--border: 256 30% 80%;
		--input: 256 20% 42%;
		--ring: 256 57.3% 54.1%;
		--radius: 0.75rem;

		--sidebar-background: 0 0% 98%;
		--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%;
	}
}

@layer base {
	* {
		@apply border-border;
	}

	body {
		@apply bg-background text-foreground;
		scroll-behavior: smooth;
		font-family:
			"Sen",
			system-ui,
			-apple-system,
			BlinkMacSystemFont,
			"Segoe UI",
			Roboto,
			"Helvetica Neue",
			Arial,
			"Noto Sans",
			sans-serif,
			"Apple Color Emoji",
			"Segoe UI Emoji",
			"Segoe UI Symbol",
			"Noto Color Emoji";
	}
}

/* For Chrome, Edge, Safari */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* For Firefox */
input[type="number"] {
	-moz-appearance: textfield;
}
