/* ==========================================================================
   PERSIS Labs — design tokens
   Single source of truth for the palette, type scale, radii and elevation.
   Loaded by the landing page, the auth screens and the admin panel.

   Palette sampled from the brand mark (public/images/PERSIS_Labs.jpeg):
   green #8DC73F · orange #F9AF42 · blue #27AAE2 · graphite #5C5C5C
   ========================================================================== */

:root {
    /* --- Brand ------------------------------------------------------- */
    --pl-green: #8DC73F;
    --pl-green-dark: #6FA52B;
    --pl-green-soft: #F1F8E5;
    --pl-orange: #F9AF42;
    --pl-orange-dark: #E08F1C;
    --pl-orange-soft: #FEF4E6;
    --pl-blue: #27AAE2;
    --pl-blue-dark: #0F86BA;
    --pl-blue-soft: #E8F6FC;
    --pl-graphite: #5C5C5C;

    /* --- Semantic ---------------------------------------------------- */
    --pl-success: #4CAF50;
    --pl-success-soft: #EDF7EE;
    --pl-danger: #E5484D;
    --pl-danger-soft: #FDECEC;
    --pl-warning: var(--pl-orange);
    --pl-warning-soft: var(--pl-orange-soft);
    --pl-info: var(--pl-blue);
    --pl-info-soft: var(--pl-blue-soft);

    /* --- Neutrals ---------------------------------------------------- */
    --pl-ink: #24282B;
    --pl-ink-soft: #3C4248;
    --pl-body: #5C5C5C;
    --pl-muted: #8A9199;
    --pl-faint: #AEB4BB;
    --pl-line: #E7EAEE;
    --pl-line-soft: #F0F2F5;
    --pl-surface: #FFFFFF;
    --pl-surface-soft: #F6F8FA;
    --pl-surface-sunken: #EEF1F5;
    --pl-dark: #24282B;
    --pl-dark-soft: #2E343A;

    /* --- Expressive -------------------------------------------------- */
    --pl-gradient: linear-gradient(120deg, var(--pl-green) 0%, var(--pl-orange) 52%, var(--pl-blue) 100%);
    --pl-gradient-soft: linear-gradient(120deg, rgba(141, 199, 63, .14) 0%, rgba(249, 175, 66, .14) 52%, rgba(39, 170, 226, .14) 100%);
    --pl-gradient-dark: linear-gradient(165deg, #2B3238 0%, #20262B 100%);

    /* --- Shape ------------------------------------------------------- */
    --pl-radius-sm: 10px;
    --pl-radius: 14px;
    --pl-radius-md: 18px;
    --pl-radius-lg: 24px;
    --pl-radius-xl: 32px;
    --pl-radius-pill: 999px;

    /* --- Elevation --------------------------------------------------- */
    --pl-shadow-xs: 0 1px 2px rgba(36, 40, 43, .05);
    --pl-shadow-sm: 0 1px 2px rgba(36, 40, 43, .04), 0 4px 12px rgba(36, 40, 43, .05);
    --pl-shadow: 0 1px 2px rgba(36, 40, 43, .04), 0 12px 32px rgba(36, 40, 43, .07);
    --pl-shadow-lg: 0 24px 60px rgba(36, 40, 43, .13);
    --pl-shadow-brand: 0 10px 24px rgba(249, 175, 66, .32);

    /* --- Type -------------------------------------------------------- */
    --pl-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --pl-font-display: 'Montserrat', var(--pl-font);

    /* --- Motion ------------------------------------------------------ */
    --pl-ease: cubic-bezier(.4, 0, .2, 1);
    --pl-transition: .2s var(--pl-ease);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --pl-transition: .001ms;
    }
}
