/*
 * ParadeSmart design tokens
 * ------------------------------------------------------------------
 * Source of truth: Figma "PS Dashboard" file nOTXZxmrZsnXKylibTOQJ8,
 * frame "READY: Dashboard - Ticketing" (59:409).
 *
 * Loaded globally in manage/base.html BEFORE project.css so that
 * migrated areas can consume these variables while un-migrated pages
 * keep their existing rules. Add new values here, not inline.
 */

:root {
  /* ---- Surfaces ---- */
  --ps-bg:              #f6f7f9;  /* app background behind cards      */
  --ps-surface:         #ffffff;  /* card / panel background          */
  --ps-placeholder:     #d9d9d9;  /* image + skeleton placeholders    */

  /* ---- Borders ---- */
  --ps-border:          #e6e9ec;  /* standard card + control border   */
  --ps-border-soft:     #e2e6e9;  /* border on tinted panels          */

  /* ---- Brand ---- */
  --ps-primary:         #4aa8b8;  /* primary buttons                  */
  --ps-primary-deep:    #0d6e8a;  /* large figures, emphasis text     */
  --ps-primary-active:  #00718d;  /* active nav item                  */
  --ps-primary-link:    #1d88ad;  /* inline links on tinted surfaces  */
  --ps-primary-avatar:  #076781;  /* user initials                    */

  /* ---- Buttons ---- */
  --ps-btn-primary:       #1d88ad;  /* primary + wide buttons            */
  --ps-btn-primary-hover: #0d6e8a;

  /* ---- Text ---- */
  --ps-input-text:      #202224;  /* search field text                */
  --ps-ink:             #1a1d1f;  /* headings, values, nav labels     */
  --ps-ink-display:     #0b2d3c;  /* welcome/display heading          */
  --ps-muted:           #6b7378;  /* captions, field labels           */
  --ps-muted-axis:      #60686c;  /* chart axis labels                */
  --ps-nav-group:       #a7acb2;  /* SETUP / ADMIN group labels       */

  /* ---- Status pills ---- */
  --ps-pill-text:       #227230;  /* also the "ok" pill on list rows     */
  --ps-pill-bg:         #e1f2e3;
  --ps-pill-warn-text:  #bc342a;  /* e.g. "No Coordinates"               */
  --ps-pill-warn-bg:    #fbe2e0;

  /* ---- Row toggle ---- */
  --ps-toggle-on:       #1d88ad;
  --ps-toggle-off:      #1a1d1f;  /* the Figma switch is an unresolved
                                     iOS placeholder; taken from the
                                     rendered comp                       */

  /* ---- Stat tile icon wells ---- */
  --ps-well-teal:       #e6f6fa;
  --ps-well-mint:       #eaf6e7;
  --ps-well-amber:      #fef7de;

  /* ---- Gradients ---- */
  --ps-gradient-soft:   linear-gradient(90deg, #eaf7fb 0%, #edf7ea 100%);
  --ps-gradient-event:  linear-gradient(128deg, rgba(26, 172, 204, 0.56) 5%,
                                                rgba(13, 110, 138, 0.56) 78%),
                        linear-gradient(90deg, #5ebbc7 0%, #5ebbc7 100%);

  /* ---- Radii ---- */
  --ps-radius-card:     14px;
  --ps-radius-control:   9px;
  --ps-radius-tile:      8px;
  --ps-radius-sm:        4px;
  --ps-radius-pill:    999px;

  /* ---- Type ---- */
  --ps-font:            'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ps-font-display:    'Playfair Display', Georgia, serif;

  --ps-text-2xs:        10px;
  --ps-text-xs:         11px;
  --ps-text-sm:         12px;
  --ps-text-nav:        13px;
  --ps-text-base:       14px;
  --ps-text-md:         16px;
  --ps-text-lg:         20px;
  --ps-text-xl:         25px;
  --ps-text-display:    32px;
  --ps-text-figure:     40px;
  --ps-text-tile:       45px;
  --ps-text-hero:       48px;

  /* ---- Layout ---- */
  --ps-sidebar-width:  260px;
  --ps-header-height:   76px;
  --ps-gutter:          35px;
  --ps-card-gap:        24px;
}
