/* DuckLab SaaS — Design Tokens */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* ── Color Palette ─────────────────────────────── */
    --bg-primary:     #0b0d13;
    --bg-secondary:   #12151e;
    --bg-tertiary:    #181c28;
    --bg-card:        #151821;
    --bg-hover:       #1c2030;
    --bg-input:       #111420;
    --border:         #222840;
    --border-light:   #2c3350;
    --border-focus:   #f5c518;

    /* ── Brand ─────────────────────────────────────── */
    --amber:          #f5c518;
    --amber-hover:    #ffd84d;
    --amber-dark:     #c49b00;
    --amber-bg:       rgba(245,197,24,0.08);
    --orange:         #ff6b35;
    --orange-hover:   #ff8f66;
    --teal:           #4ecdc4;
    --teal-hover:     #74e0d9;
    --purple:         #8b5cf6;

    /* ── Semantic ───────────────────────────────────── */
    --success:        #22c55e;
    --success-bg:     rgba(34,197,94,0.08);
    --warning:        #f59e0b;
    --warning-bg:     rgba(245,158,11,0.08);
    --danger:         #ef4444;
    --danger-bg:      rgba(239,68,68,0.08);
    --info:           #3b82f6;
    --info-bg:        rgba(59,130,246,0.08);

    /* ── Text ──────────────────────────────────────── */
    --text-primary:   #eaecf0;
    --text-secondary: #94a3b8;
    --text-muted:     #64748b;
    --text-inverse:   #0b0d13;

    /* ── Typography ────────────────────────────────── */
    --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:      'JetBrains Mono', 'Fira Code', monospace;
    --fs-xs:   .6875rem;
    --fs-sm:   .8125rem;
    --fs-base: .875rem;
    --fs-md:   1rem;
    --fs-lg:   1.125rem;
    --fs-xl:   1.25rem;
    --fs-2xl:  1.5rem;
    --fs-3xl:  2rem;
    --fs-4xl:  2.5rem;
    --fs-hero: clamp(2rem, 5vw, 3.5rem);

    /* ── Spacing ───────────────────────────────────── */
    --space-xs:  .25rem;
    --space-sm:  .5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* ── Radii ─────────────────────────────────────── */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   14px;
    --radius-xl:   20px;
    --radius-full: 9999px;

    /* ── Shadows ────────────────────────────────────── */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.25);
    --shadow-md:  0 4px 12px rgba(0,0,0,.3);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.4);
    --shadow-glow: 0 0 24px rgba(245,197,24,.12);
    --shadow-card: 0 2px 8px rgba(0,0,0,.2), 0 0 0 1px var(--border);

    /* ── Layout ─────────────────────────────────────── */
    --sidebar-w:   260px;
    --topbar-h:    60px;
    --content-max: 1400px;

    /* ── Motion ─────────────────────────────────────── */
    --ease-out:  cubic-bezier(.16,1,.3,1);
    --dur-fast:  .15s;
    --dur-base:  .25s;
    --dur-slow:  .4s;

    /* ── Z-index ───────────────────────────────────── */
    --z-sidebar: 100;
    --z-topbar:  90;
    --z-overlay: 200;
    --z-modal:   300;
    --z-toast:   400;
}

.admin-theme {
    --bg-primary:   #090c16;
    --amber:        #ff3b3b;
    --amber-hover:  #ff6666;
    --amber-bg:     rgba(255,59,59,.06);
    --border-focus: #ff3b3b;
}