/* ============================================================================
   portal-job-applicant.css — the Job-applicant (recruitment) portal palette. ONE file retunes the portal.

   Loaded LAST in the head of job-applicant/layouts/common/header_script.blade.php,
   after the Sneat vendor CSS and every skin, so these values win. Nothing but
   custom properties lives here: skin and page files read var(--…) only.

   Institute Crimson. Crimson is an accent, never a field: white cards with a
   4px crimson top rule, not solid crimson blocks. Errors are burnt orange —
   on a crimson portal a red error reads as decoration.

   The admin side never loads this file, so nothing here can leak into it.
   The student portal carries its own copy: theme/portal-student.css.
   ========================================================================= */

:root {
    /* ── Brand ─────────────────────────────────────────────────────────── */
    /* The official red of iitdabudhabi.ac.ae, used flat (UI Doctrine §6). */
    --brand-deep:   #690F12;   /* dark heading text only — never a surface               */
    --brand-dark:   #861A1D;   /* hover and pressed                                      */
    --brand:        #A41E22;   /* top bar, buttons, links, headers, every red surface    */
    --brand-bright: #B8383C;   /* focus rings, light accent                              */
    --brand-soft:   #FCE6E6;   /* tinted panels, active menu item, chips                 */
    --brand-line:   #EFC9CB;   /* borders on tinted panels                               */
    --brand-rgb:    164, 30, 34;
    --shadow-rgb:   25, 25, 25;

    /* ── Warm neutrals ─────────────────────────────────────────────────── */
    --ink:          #191919;
    --ink-soft:     #55534F;
    --ink-mute:     #85817B;
    --paper:        #F7F6F4;
    --surface:      #FFFFFF;
    --surface-alt:  #FBFAF9;
    --line:         #E5E3E0;
    --line-strong:  #CFCCC7;

    /* ── Status ────────────────────────────────────────────────────────── */
    --ok:           #17694A;
    --ok-bg:        #E8F5EF;
    --ok-line:      #BFE3D2;
    --warn:         #8A6100;
    --warn-bg:      #FDF4E0;
    --warn-line:    #F0DCAE;
    --bad:          #C2410C;
    --bad-bg:       #FFF1E8;
    --bad-line:     #F6CFB6;
    --bad-dark:     #9A3412;
    --bad-rgb:      194, 65, 12;

    /* ── Type ──────────────────────────────────────────────────────────── */
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-arabic:  "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;
    --font-mono:    ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;

    /* ── Shape ─────────────────────────────────────────────────────────── */
    --radius-sm:    4px;       /* fields        */
    --radius:       8px;       /* cards/buttons */
    --radius-lg:    16px;      /* large panels  */
    --radius-pill:  999px;
    --shadow-card:  0 6px 18px rgba(25, 25, 25, .06);
    --focus-ring:   0 0 0 3px rgba(184, 56, 60, .28);

    /* ── Sneat / Bootstrap bridge ──────────────────────────────────────── */
    --bs-primary:            var(--brand);
    --bs-primary-rgb:        var(--brand-rgb);
    --bs-link-color:         var(--brand);
    --bs-link-hover-color:   var(--brand-dark);
    --bs-body-color:         var(--ink-soft);
    --bs-body-bg:            var(--paper);
    --bs-border-color:       var(--line);
    --bs-font-sans-serif:    var(--font-body);
    --bs-body-font-family:   var(--font-body);

    /* ── Shared partials (admin keeps their fallback values) ───────────── */
    /* calendar skin (partials/fc-theme) and date picker (flatpickr-erp.css) */
    --ui-maroon:      var(--brand);
    --ui-maroon-deep: var(--brand-deep);
    --ui-band-a:      var(--brand-soft);
    --ui-band-b:      var(--paper);
    --ui-band-line:   var(--brand-line);
    --ui-wash:        var(--surface-alt);
    --ui-ink:         var(--ink);
    --ui-ink-2:       var(--ink-soft);
    --ui-ink-3:       var(--ink-soft);
    --ui-ink-4:       var(--ink-mute);
    --ui-ink-5:       var(--ink-mute);
    --ui-ink-6:       var(--ink-mute);
    --ui-ink-7:       var(--ink-mute);
    --ui-line:        var(--line);
    --ui-line-2:      var(--line);
    --ui-line-faint:  var(--paper);
    /* toasts (partials/toasts) */
    --toast-info:     var(--brand);
    --toast-info-bg:  var(--brand-soft);
    --toast-bad:      var(--bad);
    --toast-bad-bg:   var(--bad-bg);
    /* first-visit tour (partials/spotlight-tour) */
    --tour-accent:       var(--brand);
    --tour-accent-deep:  var(--brand-deep);
    --tour-accent-hover: var(--brand-dark);
    --tour-accent-rgb:   var(--brand-rgb);
    /* help desk (partials/support/styles) */
    --sup-bad:        var(--bad);
    --sup-bad-bg:     var(--bad-bg);
    --sup-bad-line:   var(--bad-line);
}
