/* ==========================================================================
   Light theme
   Pale blue and lavender atmosphere with frosted glass surfaces. The accent is
   the indigo-violet from the GK logo. A warm amber is kept for the availability
   badge and the role line only.

   Contrast measured against the page base #D6E2FC:
     --text-strong      15.1:1
     --text             11.4:1
     --text-secondary    8.0:1
     --text-muted        5.8:1
     --accent-strong     6.4:1

   The sky is deeper blue toward the top right (about #8BADF8). There
   --text-secondary is 4.7:1 and --text-muted is only 3.4:1, so small muted
   labels should stay out of that corner or sit on a glass surface.
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Surfaces */
  --bg: #D6E2FC;
  --bg-subtle: #E2E8FD;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-raised: rgba(255, 255, 255, 0.82);
  --surface-sunken: rgba(255, 255, 255, 0.5);
  --surface-inverse: #12154A;

  /* Lines */
  --border: rgba(92, 84, 200, 0.16);
  --border-strong: rgba(92, 84, 200, 0.3);
  --grid-line: rgba(84, 78, 190, 0.07);

  /* Type */
  --text-strong: #080824;
  --text: #1F2350;
  --text-secondary: #363B6E;
  --text-muted: #4B5083;
  --text-inverse: #F4F5FF;

  /* Accent: indigo violet from the logo */
  --accent: #5B35E8;
  --accent-strong: #4A27D4;
  --accent-soft: rgba(91, 53, 232, 0.2);
  --accent-wash: rgba(91, 53, 232, 0.08);
  --accent-border: rgba(91, 53, 232, 0.3);
  --accent-contrast: #FFFFFF;
  --accent-glow: rgba(124, 92, 255, 0.28);

  /* Warm secondary, used sparingly */
  --warm-text: #A85A08;
  --warm-bg: rgba(250, 228, 196, 0.85);
  --warm-border: rgba(212, 130, 31, 0.4);
  --warm-dot: #C96B03;

  /* Brand gradient and buttons */
  --grad-brand: linear-gradient(135deg, #3F17D2 0%, #5B2BE6 55%, #7A45F2 100%);
  --grad-text: linear-gradient(100deg, #2512F0 0%, #4A22E8 60%, #6A3AF0 100%);
  --btn-primary-bg: #4A22DC;
  --btn-primary-bg-hover: #5B35E8;
  --btn-primary-fg: #FFFFFF;
  --btn-glow: rgba(79, 46, 224, 0.34);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-edge: rgba(92, 84, 200, 0.14);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 10px 34px rgba(70, 64, 170, 0.12), 0 2px 6px rgba(70, 64, 170, 0.06);
  --glass-shadow-lift: 0 18px 48px rgba(70, 64, 170, 0.2), 0 4px 10px rgba(70, 64, 170, 0.08);
  --glass-blur: 18px;

  /* Atmosphere */
  --atmos-a: rgba(255, 255, 255, 0.92);
  --atmos-b: rgba(96, 156, 248, 0.72);
  --atmos-c: rgba(190, 180, 252, 0.5);
  --atmos-d: rgba(76, 113, 211, 0.5);
  --atmos-e: rgba(150, 176, 252, 0.7);
  --cloud: rgba(255, 255, 255, 0.75);
  --page-wash: linear-gradient(180deg, #B6D1FA 0%, #D3E1FD 40%, #D6DBFD 74%, #BFCFFB 100%);
  --wave-a: rgba(150, 176, 252, 0.85);
  --wave-b: rgba(84, 118, 222, 0.9);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(60, 56, 160, 0.06), 0 2px 8px rgba(60, 56, 160, 0.05);
  --shadow-md: 0 6px 18px rgba(60, 56, 160, 0.1), 0 12px 28px rgba(60, 56, 160, 0.08);
  --shadow-lg: 0 14px 34px rgba(60, 56, 160, 0.14), 0 28px 64px rgba(60, 56, 160, 0.14);

  /* Chrome */
  --header-bg: rgba(228, 236, 255, 0.66);
  --header-border: rgba(255, 255, 255, 0.8);
  --overlay: rgba(20, 22, 70, 0.4);

  /* Status */
  --success: #25704F;
  --danger: #B03A2E;
}
