@import "tailwindcss"; @theme { --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; --color-background: #f8f8f6; --color-foreground: #17191c; --color-card: #f8f8f6; --color-card-foreground: #17191c; --color-muted: #eeeeea; --color-muted-foreground: #3a3d42; --color-accent: #f1f1ee; --color-accent-foreground: #17191c; --color-primary: #2a2d31; --color-primary-foreground: #ffffff; --color-primary-hover: #17191c; --color-primary-muted: rgb(23 25 28 / 10%); --color-secondary: #eeeeea; --color-secondary-foreground: #17191c; --color-border: #d8d8d2; --color-border-subtle: #e9e9e4; --color-input: #ffffff; --color-ring: #2a2d31; --color-ring-muted: rgb(23 25 28 / 12%); --shadow-card: 0 1px 2px rgb(23 25 28 / 5%); --color-success: oklch(47.8% 0.13 150); --color-success-foreground: oklch(47.8% 0.13 150); --color-success-muted: oklch(94.8% 0.055 150); --color-warning: oklch(54.7% 0.13 65); --color-warning-foreground: oklch(54.7% 0.13 65); --color-warning-muted: oklch(96.3% 0.052 85); --color-danger: #c62030; --color-danger-foreground: #c62030; --color-danger-muted: rgb(198 32 48 / 10%); --color-expired: #5c5c58; --color-expired-foreground: #4b4b47; --color-expired-muted: #eeeeea; --radius-sm: 0.125rem; --radius-md: 0.25rem; --radius-lg: 0.375rem; --radius-xl: 0.5rem; --radius-2xl: 0.75rem; } @custom-variant dark (&:where(.dark, .dark *)); .dark { --color-background: #17191c; --color-foreground: #f7f2e8; --color-card: #1f2226; --color-card-foreground: #f7f2e8; --color-muted: #282b30; --color-muted-foreground: #bdb8ad; --color-accent: #2f2728; --color-accent-foreground: #f7f2e8; --color-primary: #2a2d31; --color-primary-foreground: #f7f2e8; --color-primary-hover: #17191c; --color-primary-muted: rgb(247 242 232 / 14%); --color-secondary: #282b30; --color-secondary-foreground: #f7f2e8; --color-border: #34373d; --color-border-subtle: #282b30; --color-input: #1f2226; --color-ring: #f7f2e8; --color-ring-muted: rgb(247 242 232 / 18%); --shadow-card: 0 1px 2px rgb(0 0 0 / 22%); --color-success: oklch(75% 0.12 150); --color-success-foreground: oklch(82% 0.12 150); --color-success-muted: oklch(32% 0.07 150); --color-warning: oklch(82% 0.13 75); --color-warning-foreground: oklch(86% 0.13 75); --color-warning-muted: oklch(35% 0.075 75); --color-danger: #f04a36; --color-danger-foreground: #ff7a66; --color-danger-muted: rgb(240 74 54 / 18%); --color-expired: #bdb8ad; --color-expired-foreground: #d6d0c4; --color-expired-muted: #282b30; --image-wrapper-size: 100%; } @layer base { * { @apply border-border; } html { @apply bg-background text-foreground; font-family: var(--font-sans); } body { @apply bg-background text-foreground antialiased; letter-spacing: 0; } code { font-family: var(--font-mono); } h1, h2, h3 { @apply text-foreground; } } @layer components { .btn { @apply inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md px-4 py-2.5 text-sm font-medium transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50; } .btn-xs { @apply px-2 py-1 text-xs; } .btn-sm { @apply px-3 py-2 text-sm; } .btn-md { @apply px-4 py-2.5 text-sm; } .btn-lg { @apply px-5 py-3 text-base; } .btn-primary { @apply text-primary-foreground bg-primary-hover hover:bg-[#c62030]/90 hover:text-[#f7f2e8]; } .btn-secondary { @apply border border-border bg-card text-secondary-foreground hover:border-border hover:bg-accent hover:text-accent-foreground; } .btn-borderless { @apply bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground; } .app-header { position: relative; z-index: 10; background: lab(0% 0 0); border-bottom: 0; box-shadow: none; } .app-header a, .app-header button, .app-header nav svg { color: #f7f2e8; stroke: #f7f2e8; } .app-header .brand-link svg { stroke: none; } .app-header .brand-link svg path[fill="#17191C"] { fill: #f7f2e8; } .app-header .btn-borderless { color: #f7f2e8; } .app-header .btn-borderless:hover { background: rgb(247 242 232 / 10%); color: #fffdf8; } .app-header .btn-secondary { background: rgb(247 242 232 / 8%); border-color: rgb(247 242 232 / 18%); color: #f7f2e8; } .app-header .btn-secondary:hover { background: rgb(247 242 232 / 14%); border-color: rgb(247 242 232 / 28%); color: #fffdf8; } .landing-page .app-header { display: none; } .landing-page { background: #17191c; } .brand-link svg { @apply shrink-0; stroke: none; } .brand-link svg:last-child { width: 5.25rem; height: auto; } .dark .brand-link svg path[fill="#17191C"] { fill: var(--color-foreground); } .section-header-subtle { @apply text-xs font-semibold uppercase tracking-[0.05em] text-muted-foreground; } .badge { @apply rounded-full px-2.5 py-1 text-xs font-medium; } .badge-success { @apply rounded-full bg-success-muted px-2.5 py-1 text-xs font-medium text-success-foreground; } .badge-warning { @apply rounded-full bg-warning-muted px-2.5 py-1 text-xs font-medium text-warning-foreground; } .badge-danger { @apply rounded-full bg-danger-muted px-2.5 py-1 text-xs font-medium text-danger-foreground; } .badge-expired { @apply rounded-full bg-expired-muted px-2.5 py-1 text-xs font-medium text-expired-foreground; } .card { @apply rounded-lg border border-border bg-card text-card-foreground; box-shadow: var(--shadow-card); } .card-header { @apply border-b border-border px-4 py-3; } .card-header-label { @apply text-xs font-semibold uppercase tracking-[0.05em] text-muted-foreground; } .card-header-title { @apply mt-1 text-base font-semibold text-card-foreground; } .card-body { @apply px-4 py-4; } .input-mono { @apply rounded-md border border-border bg-input px-3 py-2 font-mono text-[13px] leading-5 text-foreground transition placeholder:text-muted-foreground focus:border-ring focus:outline-none focus:ring-2 focus:ring-ring-muted; } .input-error { @apply text-sm font-medium text-danger-foreground; } } @utility img-wrapper-* { width: 100%; height: 100%; max-width: --value(--max-w-*, [length], [percentage], [*], "none", "inherit", "initial", "unset"); /* Automatically target the image inside */ & img { width: 100%; /* Replaces 'stretch' for better compatibility */ height: auto; /* Maintains aspect ratio */ display: block; /* Removes bottom whitespace common in inline images */ } }