/*
 * Next Limo design tokens — single source for the public site, admin panel and
 * (next) the customer/driver apps. Values here match today's design exactly;
 * change a value here, rebuild Tailwind, and every surface follows.
 *
 * Colour channels are space-separated RGB so Tailwind opacity modifiers
 * (bg-nextgold/20) keep working: rgb(var(--nl-gold) / 0.2).
 */
:root {
    /* Brand */
    --nl-gold:        212 175 55;   /* #D4AF37 */
    --nl-gold-text:   138 109 20;   /* #8A6D14 — gold for text on light backgrounds (4.5:1) */
    --nl-black:       5 5 5;        /* #050505 — public background */
    --nl-dark:        18 18 18;     /* #121212 — cards / admin dark surfaces */
    --nl-gray:        136 136 136;  /* #888888 */

    /* Status (bookings, payments, alerts) */
    --nl-success:     22 163 74;    /* green-600 */
    --nl-warning:     217 119 6;    /* amber-600 */
    --nl-danger:      220 38 38;    /* red-600 */
    --nl-info:        37 99 235;    /* blue-600 */

    /* Typography */
    --nl-font-sans:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --nl-font-brand:  'Montserrat', 'Inter', system-ui, sans-serif;

    /* Shape — Admin → Settings → Appearance sets --nl-radius (0–20px, standard 12px).
       --nl-r1 is "1px at the standard level": every other corner is written as
       calc(var(--nl-r1) * N), so the whole design scales together and looks exactly
       as drawn at 12px. Pills and circles never change. */
    --nl-radius:      12px;
    --nl-r1:          calc(var(--nl-radius) / 12);
    /* Buttons and fields; Appearance can give them their own shape (up to a pill). */
    --nl-radius-control: var(--nl-radius);
    --nl-radius-pill: 9999px;

    /* Motion */
    --nl-dur-fast:    150ms;
    --nl-dur-normal:  300ms;
    --nl-ease:        cubic-bezier(.2, .8, .2, 1);

    /* Focus ring (keyboard only) */
    --nl-focus:       212 175 55;
}

@media (prefers-reduced-motion: reduce) {
    :root { --nl-dur-fast: 0ms; --nl-dur-normal: 0ms; }
}
