/* ==========================================================================
   L'etoile Floral Studio - Theme Engine (Dark, Light, Gold Premium)
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Playfair Display", Didot, "Bodoni MT", Georgia, serif;
  --transition-speed: 0.25s;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --app-icon-scale: 1.5; /* Fixed 150% scaling by default */
}

/* ==========================================================================
   1. DARK MODE (Obsidian Gold / Night Teardown - media_1789575968346)
   ========================================================================== */
body.theme-dark {
  --bg-primary: #0d0f14;
  --bg-secondary: #131620;
  --bg-card: #13161f;
  --bg-card-hover: #1c202d;
  --bg-input: #0e111a;
  --border-color: rgba(212, 175, 55, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --gold-primary: #e5c158;
  --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 60%, #aa8022 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-badge-bg: rgba(212, 175, 55, 0.2);
  --gold-badge-text: #000000;
  --gold-btn-text: #0b0c10;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-info: #3b82f6;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-floating: 0 20px 45px rgba(0, 0, 0, 0.65);
  --star-gold: #fbbf24;
}

body.theme-dark,
body.theme-dark .mobile-device-shell {
  background-color: #0d0f14;
  background-image: radial-gradient(circle at 92% 5%, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.02) 40%, transparent 65%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ==========================================================================
   2. MINIMAL LIGHT MODE (Crisp Minimalist Paper - media_1789575977958)
   ========================================================================== */
body.theme-light {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f3f5;
  --bg-input: #f1f3f5;
  --border-color: #e5e7eb;
  --border-subtle: #f0f2f5;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --gold-primary: #111111; /* Sleek Minimal Obsidian Black */
  --gold-gradient: linear-gradient(135deg, #27272a 0%, #111111 100%);
  --gold-glow: rgba(0, 0, 0, 0.06);
  --gold-badge-bg: #111111;
  --gold-badge-text: #ffffff;
  --gold-btn-text: #ffffff;
  --accent-success: #059669;
  --accent-warning: #d97706;
  --accent-danger: #dc2626;
  --accent-info: #2563eb;
  --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-floating: 0 12px 36px rgba(0, 0, 0, 0.08);
  --star-gold: #d97706;
}

body.theme-light,
body.theme-light .mobile-device-shell {
  background-color: #f8f9fa;
  background-image: none;
}

/* ==========================================================================
   3. GOLD LIGHT / ROYAL CHAMPAGNE MODE (media_1789575988743)
   ========================================================================== */
body.theme-gold-premium {
  --bg-primary: #faf7f0;
  --bg-secondary: #fefdf9;
  --bg-card: #ffffff;
  --bg-card-hover: #fdf8eb;
  --bg-input: #fbf5e8;
  --border-color: #d4af37;
  --border-subtle: rgba(212, 175, 55, 0.45);
  --text-primary: #1a1205;
  --text-secondary: #5a4112;
  --text-muted: #856932;
  --gold-primary: #b8860b;
  --gold-gradient: linear-gradient(135deg, #fff2be 0%, #f0ca62 25%, #d49f2b 55%, #f9e29a 80%, #b5811c 100%);
  --gold-glow: rgba(212, 175, 55, 0.4);
  --gold-badge-bg: linear-gradient(135deg, #f0ca62 0%, #c9932b 100%);
  --gold-badge-text: #1a1205;
  --gold-btn-text: #1a1205;
  --accent-success: #059669;
  --accent-warning: #d97706;
  --accent-danger: #dc2626;
  --accent-info: #2563eb;
  --shadow-card: 0 10px 28px rgba(184, 145, 37, 0.24), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 20px 50px rgba(175, 138, 50, 0.3), 0 4px 14px rgba(0, 0, 0, 0.06);
  --star-gold: #d97706;
}

/* ==========================================================================
   GOLD BOTANICAL GREENERY & FLORAL WALLPAPER OPTIONS (6 Bespoke Haute Couture Motifs)
   Rich Champagne Gold Canvas with Lustrous 24K Gold Filigree & Palm Botanicals
   ========================================================================== */

/* OPTION 6 (Adopted Primary Default & Flagship): 24K Royal Palm, Monstera & Liquid Gold Ribbon */
body.theme-gold-premium .mobile-device-shell,
body.theme-gold-premium.gold-bg-option-6 .mobile-device-shell,
.phone-screen.gold-bg-option-6 {
  background-color: #faf7f0;
  background-image: url('../images/gold_theme_bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* OPTION 5: Modern Couture Botanical Greenery & Wildflower Meadow */
.phone-screen.gold-bg-option-5,
body.theme-gold-premium.gold-bg-option-5 .mobile-device-shell {
  background-color: #faf7f0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b8860b' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 160 Q50 120 70 80 Q90 40 100 10' stroke-width='1.5' stroke-opacity='0.55'/%3E%3Cg fill='%23d4af37' fill-opacity='0.22' stroke='%23b8860b' stroke-width='0.9' stroke-opacity='0.55'%3E%3Cpath d='M30 144 Q42 140 50 146 Q40 152 30 144 Z'/%3E%3Cpath d='M34 136 Q22 132 14 138 Q24 144 34 136 Z'/%3E%3Cpath d='M44 124 Q56 118 64 124 Q54 130 44 124 Z'/%3E%3Cpath d='M48 116 Q36 110 28 116 Q38 122 48 116 Z'/%3E%3Cpath d='M58 102 Q70 96 78 100 Q68 106 58 102 Z'/%3E%3Cpath d='M62 94 Q50 88 42 92 Q52 98 62 94 Z'/%3E%3Cpath d='M72 78 Q84 72 90 76 Q80 82 72 78 Z'/%3E%3Cpath d='M76 70 Q64 64 58 68 Q66 74 76 70 Z'/%3E%3Cpath d='M84 54 Q94 48 98 52 Q90 58 84 54 Z'/%3E%3Cpath d='M86 46 Q76 40 70 44 Q78 50 86 46 Z'/%3E%3Cpath d='M94 28 Q100 22 104 24 Q98 30 94 28 Z'/%3E%3C/g%3E%3Cpath d='M160 160 Q130 120 125 70' stroke-width='1.2' stroke-opacity='0.45'/%3E%3Ccircle cx='125' cy='70' r='4' fill='%23d4af37' fill-opacity='0.3' stroke='%23b8860b' stroke-width='1' stroke-opacity='0.6'/%3E%3Ccircle cx='120' cy='65' r='1.8' fill='%23b8860b' fill-opacity='0.6'/%3E%3Ccircle cx='130' cy='65' r='1.8' fill='%23b8860b' fill-opacity='0.6'/%3E%3Ccircle cx='125' cy='60' r='1.8' fill='%23b8860b' fill-opacity='0.6'/%3E%3Cg transform='translate(140, 110)' fill='%23d4af37' fill-opacity='0.2' stroke='%23b8860b' stroke-width='1.1' stroke-opacity='0.65'%3E%3Cpath d='M0 -14 C4 -14 7 -8 0 0 C-7 -8 -4 -14 0 -14 Z'/%3E%3Cpath d='M13 -4 C15 0 11 6 0 0 C11 -6 15 0 13 -4 Z'/%3E%3Cpath d='M8 12 C6 16 0 14 0 0 C0 14 6 16 8 12 Z'/%3E%3Cpath d='M-8 12 C-6 16 0 14 0 0 C0 14 -6 16 -8 12 Z'/%3E%3Cpath d='M-13 -4 C-15 0 -11 6 0 0 C-11 -6 -15 0 -13 -4 Z'/%3E%3Ccircle cx='0' cy='0' r='2.8' fill-opacity='0.6'/%3E%3C/g%3E%3Cpath d='M90 120 C94 116 100 118 98 124 C96 128 90 126 90 120 Z' fill='%23d4af37' fill-opacity='0.28' stroke='%23b8860b' stroke-width='0.9' stroke-opacity='0.55'/%3E%3Cpath d='M110 145 C116 142 120 146 116 152 C112 154 108 150 110 145 Z' fill='%23d4af37' fill-opacity='0.28' stroke='%23b8860b' stroke-width='0.9' stroke-opacity='0.55'/%3E%3Cpath d='M50 30 C56 26 62 30 58 36 C54 38 48 34 50 30 Z' fill='%23d4af37' fill-opacity='0.28' stroke='%23b8860b' stroke-width='0.9' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E");
  background-size: min(100vw, 440px) auto;
  background-position: center top;
  background-repeat: repeat-y;
}

/* OPTION 1: French Garden Rose & Trailing Eucalyptus Foliage */
.phone-screen.gold-bg-option-1,
body.theme-gold-premium.gold-bg-option-1 .mobile-device-shell {
  background-color: #faf7f0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b8860b' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 20 Q40 15 65 35 T90 90' stroke-width='1.5' stroke-opacity='0.55'/%3E%3Cpath d='M25 22 C22 12 34 8 40 16 C44 24 35 30 28 26 Z' fill='%23d4af37' fill-opacity='0.2' stroke-width='1.1' stroke-opacity='0.55'/%3E%3Cline x1='26' y1='23' x2='36' y2='17' stroke-width='0.8' stroke-opacity='0.4'/%3E%3Cpath d='M42 27 C50 20 60 26 58 35 C55 42 45 40 43 33 Z' fill='%23d4af37' fill-opacity='0.2' stroke-width='1.1' stroke-opacity='0.55'/%3E%3Cline x1='43' y1='28' x2='54' y2='31' stroke-width='0.8' stroke-opacity='0.4'/%3E%3Cpath d='M58 45 C68 40 76 48 72 58 C68 64 58 60 58 52 Z' fill='%23d4af37' fill-opacity='0.2' stroke-width='1.1' stroke-opacity='0.55'/%3E%3Cline x1='59' y1='46' x2='69' y2='53' stroke-width='0.8' stroke-opacity='0.4'/%3E%3Cpath d='M90 90 Q115 145 140 155 T180 160' stroke-width='1.5' stroke-opacity='0.55'/%3E%3Cpath d='M106 122 C114 115 125 118 126 128 C126 136 116 140 110 133 Z' fill='%23d4af37' fill-opacity='0.2' stroke-width='1.1' stroke-opacity='0.55'/%3E%3Cline x1='107' y1='123' x2='122' y2='129' stroke-width='0.8' stroke-opacity='0.4'/%3E%3Cpath d='M125 138 C135 132 144 140 142 150 C138 156 128 154 126 145 Z' fill='%23d4af37' fill-opacity='0.2' stroke-width='1.1' stroke-opacity='0.55'/%3E%3Cline x1='126' y1='139' x2='139' y2='146' stroke-width='0.8' stroke-opacity='0.4'/%3E%3Cpath d='M140 40 Q160 50 155 70 T135 85' stroke-width='1.1' stroke-opacity='0.45'/%3E%3Cpath d='M152 48 C158 42 166 48 162 56 C158 60 152 56 150 52 Z' fill='%23d4af37' fill-opacity='0.22' stroke-width='1' stroke-opacity='0.55'/%3E%3Cpath d='M40 140 Q20 130 25 110 T45 95' stroke-width='1.1' stroke-opacity='0.45'/%3E%3Cpath d='M28 132 C22 138 14 132 18 124 C22 120 28 124 30 128 Z' fill='%23d4af37' fill-opacity='0.22' stroke-width='1' stroke-opacity='0.55'/%3E%3C/g%3E%3Cg transform='translate(90, 90)'%3E%3Cpath d='M0 -32 C18 -32 30 -22 32 -6 C34 10 22 28 5 32 C-14 34 -30 20 -32 5 C-34 -12 -18 -32 0 -32 Z' fill='%23d4af37' fill-opacity='0.16' stroke='%23b8860b' stroke-width='1.5' stroke-opacity='0.65'/%3E%3Cpath d='M-15 -18 C-4 -28 15 -25 22 -12 C28 0 20 18 6 22 C-8 24 -22 14 -22 0 C-22 -10 -18 -16 -15 -18 Z' fill='%23d4af37' fill-opacity='0.14' stroke='%23b8860b' stroke-width='1.2' stroke-opacity='0.65'/%3E%3Cpath d='M-8 -8 C0 -14 12 -10 14 -2 C16 6 8 14 0 14 C-8 14 -14 6 -12 -2 C-10 -7 -8 -8 -8 -8 Z' stroke='%23b8860b' stroke-width='1.3' stroke-opacity='0.7'/%3E%3Cpath d='M-3 -3 C1 -7 8 -4 8 1 C8 6 2 8 -2 7 C-5 6 -6 1 -3 -3 Z' stroke='%23b8860b' stroke-width='1.4' stroke-opacity='0.75'/%3E%3Ccircle cx='0' cy='1' r='2.8' fill='%23b8860b' fill-opacity='0.75'/%3E%3C/g%3E%3Ccircle cx='85' cy='40' r='2' fill='%23b8860b' fill-opacity='0.55'/%3E%3Ccircle cx='95' cy='140' r='2' fill='%23b8860b' fill-opacity='0.55'/%3E%3C/svg%3E");
  background-size: min(100vw, 440px) auto;
  background-position: center top;
  background-repeat: repeat-y;
}

/* OPTION 2: Imperial Peonies & Gilded Botanical Trellis */
.phone-screen.gold-bg-option-2,
body.theme-gold-premium.gold-bg-option-2 .mobile-device-shell {
  background-color: #faf7f0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 L100 0 L200 100 L100 200 Z' fill='none' stroke='%23b8860b' stroke-width='1' stroke-opacity='0.35'/%3E%3Cg fill='%23d4af37' fill-opacity='0.18' stroke='%23b8860b' stroke-width='1' stroke-opacity='0.55'%3E%3Cpath d='M100 0 Q90 15 80 12 Q95 8 100 0 Z'/%3E%3Cpath d='M100 0 Q110 15 120 12 Q105 8 100 0 Z'/%3E%3Ccircle cx='100' cy='0' r='3.5' fill-opacity='0.5'/%3E%3Cpath d='M100 200 Q90 185 80 188 Q95 192 100 200 Z'/%3E%3Cpath d='M100 200 Q110 185 120 188 Q105 192 100 200 Z'/%3E%3Ccircle cx='100' cy='200' r='3.5' fill-opacity='0.5'/%3E%3C/g%3E%3Cg transform='translate(100, 100)'%3E%3Cpath d='M0 -34 C12 -34 22 -28 26 -16 C30 -4 34 8 28 20 C22 32 8 36 -4 35 C-18 34 -30 24 -32 10 C-34 -4 -28 -20 -16 -28 C-8 -32 -2 -34 0 -34 Z' fill='%23d4af37' fill-opacity='0.15' stroke='%23b8860b' stroke-width='1.5' stroke-opacity='0.6'/%3E%3Ccircle cx='0' cy='0' r='3.5' fill='%23b8860b' fill-opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: min(100vw, 440px) auto;
  background-position: center top;
  background-repeat: repeat-y;
}

/* OPTION 3: Royal Laurel Greenery & Gilded Olive Branch */
.phone-screen.gold-bg-option-3,
body.theme-gold-premium.gold-bg-option-3 .mobile-device-shell {
  background-color: #faf7f0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b8860b' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M80 36 C105 36 122 55 122 80 C122 105 105 124 80 124' stroke-width='1.5' stroke-opacity='0.55'/%3E%3Cpath d='M80 36 C55 36 38 55 38 80 C38 105 55 124 80 124' stroke-width='1.5' stroke-opacity='0.55'/%3E%3Cg fill='%23d4af37' fill-opacity='0.22' stroke='%23b8860b' stroke-width='1' stroke-opacity='0.6'%3E%3Cpath d='M80 36 C86 30 96 32 94 40 C90 44 82 42 80 36 Z'/%3E%3Cpath d='M96 44 C104 40 112 45 108 53 C102 56 96 52 96 44 Z'/%3E%3Cpath d='M110 58 C118 56 125 63 120 71 C114 73 108 67 110 58 Z'/%3E%3C/g%3E%3Cg fill='%23d4af37' fill-opacity='0.22' stroke='%23b8860b' stroke-width='1' stroke-opacity='0.6'%3E%3Cpath d='M80 36 C74 30 64 32 66 40 C70 44 78 42 80 36 Z'/%3E%3Cpath d='M64 44 C56 40 48 45 52 53 C58 56 64 52 64 44 Z'/%3E%3Cpath d='M50 58 C42 56 35 63 40 71 C46 73 52 67 50 58 Z'/%3E%3C/g%3E%3Cpath d='M80 68 L82 75 L89 75 L83 79 L85 86 L80 82 L75 86 L77 79 L71 75 L78 75 Z' fill='%23d4af37' fill-opacity='0.55' stroke='%23b8860b' stroke-width='0.8' stroke-opacity='0.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: min(100vw, 400px) auto;
  background-position: center top;
  background-repeat: repeat-y;
}

/* OPTION 4: Baroque Gilded Floral Vines & Acanthus Scrolls */
.phone-screen.gold-bg-option-4,
body.theme-gold-premium.gold-bg-option-4 .mobile-device-shell {
  background-color: #faf7f0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='220' height='220' viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' stroke='%23b8860b' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(110, 110)'%3E%3Ccircle cx='0' cy='0' r='16' fill-opacity='0.12' stroke-width='1.5' stroke-opacity='0.65'/%3E%3Ccircle cx='0' cy='0' r='10' fill-opacity='0.18' stroke-width='1.2' stroke-opacity='0.7'/%3E%3Ccircle cx='0' cy='0' r='5' fill-opacity='0.4' stroke-width='1.1' stroke-opacity='0.75'/%3E%3C/g%3E%3Cpath d='M110 90 C110 60 90 40 60 38 C40 36 28 48 34 66 C38 80 54 84 66 76 C76 70 78 56 68 50 C60 45 52 50 54 58' fill='none' stroke-width='1.6' stroke-opacity='0.55'/%3E%3Cpath d='M110 90 C110 60 130 40 160 38 C180 36 192 48 186 66 C182 80 166 84 154 76 C144 70 142 56 152 50 C160 45 168 50 166 58' fill='none' stroke-width='1.6' stroke-opacity='0.55'/%3E%3C/g%3E%3C/svg%3E");
  background-size: min(100vw, 440px) auto;
  background-position: center top;
  background-repeat: repeat-y;
}

/* Gold Premium Specific Luxury Accents */
body.theme-gold-premium .glass-panel {
  background: rgba(255, 253, 245, 0.94);
  border: 1.8px solid #d4af37;
  box-shadow: 0 12px 32px rgba(184, 145, 37, 0.22), 0 2px 6px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.theme-gold-premium .btn-gold {
  background: linear-gradient(135deg, #fff2be 0%, #f0ca62 25%, #d49f2b 55%, #f9e29a 80%, #b5811c 100%);
  color: #1a1205 !important;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 18px rgba(184, 145, 37, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 0 rgba(138, 97, 10, 0.35);
}

body.theme-gold-premium .starred-day-card {
  border: 1.8px solid #d4af37 !important;
  background: linear-gradient(145deg, #ffffff 0%, #fdf7eb 45%, #f8ebd1 100%) !important;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25), inset 0 1.5px 0 #ffffff !important;
}

body.theme-gold-premium .ios-bottom-tab-bar {
  background: linear-gradient(180deg, rgba(255, 252, 243, 0.94) 0%, rgba(247, 237, 214, 0.96) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-top: 1.8px solid #d4af37;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.95), 0 -10px 30px rgba(184, 145, 37, 0.22);
}

body.theme-gold-premium .ios-tab-item {
  color: #7d653e;
}

body.theme-gold-premium .ios-tab-item.active {
  color: #b8860b;
}

body.theme-gold-premium .form-input,
body.theme-gold-premium .form-select,
body.theme-gold-premium .form-textarea {
  background: #ffffff;
  border: 1.5px solid #d4af37;
  color: #1a1205;
  box-shadow: inset 0 1px 3px rgba(184, 145, 37, 0.12);
}

/* ==========================================================================
   Ivory Pearl (Theme Light) Universal All-Page Button & Contrast Engine
   Ensures ALL action buttons, submit buttons, modals, pills, and interactive
   controls across EVERY page (Home, Calendar, Invoicing, Scribe, Hours,
   Team, Points, Receipts, Chat, Settings, Auth) have crisp, highly legible white text.
   ========================================================================== */

/* 1. Universal Primary & Gold Buttons across all pages */
body.theme-light .btn-gold,
body.theme-light button.btn-gold,
body.theme-light a.btn-gold,
body.theme-light input[type="submit"].btn-gold,
body.theme-light .btn-gold-primary,
body.theme-light .btn-primary,
body.theme-light .btn-modal-gold,
body.theme-light .btn-modal-action:not(.btn-modal-secondary),
body.theme-light .btn-submit,
body.theme-light button[type="submit"],
body.theme-light input[type="submit"],

/* 2. Page-Specific Primary Action Buttons */
body.theme-light .settings-change-theme-btn,
body.theme-light .settings-change-logo-btn,
body.theme-light .settings-change-language-btn,
body.theme-light .auth-submit-btn,
body.theme-light .pending-action-btn,
body.theme-light .btn-quick-assign-submit,
body.theme-light .btn-save-profile-rates,
body.theme-light .btn-edit-worker-profile,
body.theme-light .btn-timesheet-action,
body.theme-light .btn-save-scale,
body.theme-light .btn-details,
body.theme-light .btn-confirm-redeem,
body.theme-light .btn-submit-award,
body.theme-light .btn-submit-adjust,
body.theme-light .btn-quick-log-save,
body.theme-light .ah-submit-btn,
body.theme-light .btn-points-redeem,
body.theme-light .btn-profile-add-pts-gold,
body.theme-light .btn-rec-confirm,
body.theme-light .btn-confirm-end-of-day,
body.theme-light .global-recording-done-btn,
body.theme-light .btn-preview-bottom-print,
body.theme-light .btn-preview-bottom-share,
body.theme-light .print-share-option-btn,
body.theme-light .wheel-new-game-primary-btn,
body.theme-light .wheel-modal-newgame-btn,
body.theme-light .wheel-spin-btn,
body.theme-light .wheel-post-chat-btn,
body.theme-light .wheel-quick-btn,
body.theme-light .uhaul-banner-action-btn,
body.theme-light .chat-send-btn,
body.theme-light .recording-send-btn,

/* 3. Active Chips, Capsules, Pills, and Toggles across all pages */
body.theme-light .capsule-item.active,
body.theme-light .btn-secondary.active,
body.theme-light .sub-nav-btn.active,
body.theme-light .drawer-tab-btn.active,
body.theme-light .assign-tab-btn.is-active,
body.theme-light .qa-shift-seg-btn.is-active,
body.theme-light .qa-day-pill.is-active,
body.theme-light .qa-time-pill.is-active,
body.theme-light .qa-toggle-all-btn.is-all,
body.theme-light .ah-duration-btn.is-active,
body.theme-light .ah-task-chip.is-active,
body.theme-light .profile-tab-item.active,
body.theme-light .quick-log-mode-tab.active,
body.theme-light .auth-segment-btn.active,
body.theme-light .btn-adjust-mode.active,
body.theme-light .btn-extra-pill.active,
body.theme-light .qa-floating-btn,
body.theme-light .app-theme-popout-check,
body.theme-light .app-logo-popout-check,
body.theme-light .app-language-popout-check {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 4. Luxury Obsidian Styling for Primary Action Buttons */
body.theme-light .btn-gold,
body.theme-light button.btn-gold,
body.theme-light a.btn-gold,
body.theme-light .btn-gold-primary,
body.theme-light .btn-modal-gold,
body.theme-light .btn-quick-assign-submit,
body.theme-light .btn-save-profile-rates,
body.theme-light .btn-edit-worker-profile,
body.theme-light .btn-preview-bottom-print,
body.theme-light .btn-preview-bottom-share,
body.theme-light .btn-points-redeem,
body.theme-light .btn-profile-add-pts-gold,
body.theme-light .wheel-new-game-primary-btn,
body.theme-light .wheel-modal-newgame-btn,
body.theme-light .settings-change-theme-btn,
body.theme-light .settings-change-logo-btn,
body.theme-light .settings-change-language-btn,
body.theme-light .chat-send-btn {
  background: linear-gradient(135deg, #27272a 0%, #111111 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

body.theme-light .btn-gold:hover,
body.theme-light button.btn-gold:hover,
body.theme-light a.btn-gold:hover,
body.theme-light .btn-gold-primary:hover,
body.theme-light .btn-modal-gold:hover,
body.theme-light .btn-quick-assign-submit:hover,
body.theme-light .btn-save-profile-rates:hover,
body.theme-light .btn-edit-worker-profile:hover,
body.theme-light .btn-preview-bottom-print:hover,
body.theme-light .btn-preview-bottom-share:hover,
body.theme-light .btn-points-redeem:hover,
body.theme-light .btn-profile-add-pts-gold:hover,
body.theme-light .wheel-new-game-primary-btn:hover,
body.theme-light .wheel-modal-newgame-btn:hover,
body.theme-light .settings-change-theme-btn:hover,
body.theme-light .settings-change-logo-btn:hover,
body.theme-light .settings-change-language-btn:hover,
body.theme-light .chat-send-btn:hover {
  background: linear-gradient(135deg, #3f3f46 0%, #18181b 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28) !important;
}

/* 5. Child Elements and Text Nodes */
body.theme-light .btn-gold *,
body.theme-light button.btn-gold *,
body.theme-light a.btn-gold *,
body.theme-light .btn-gold-primary *,
body.theme-light .settings-change-theme-btn *,
body.theme-light .settings-change-logo-btn *,
body.theme-light .settings-change-language-btn *,
body.theme-light .auth-submit-btn *,
body.theme-light .btn-modal-gold *,
body.theme-light .btn-modal-action:not(.btn-modal-secondary) *,
body.theme-light .btn-quick-assign-submit *,
body.theme-light .btn-save-profile-rates *,
body.theme-light .btn-edit-worker-profile *,
body.theme-light .btn-preview-bottom-print *,
body.theme-light .btn-preview-bottom-share *,
body.theme-light .btn-points-redeem *,
body.theme-light .btn-profile-add-pts-gold *,
body.theme-light .wheel-new-game-primary-btn *,
body.theme-light .wheel-modal-newgame-btn *,
body.theme-light .chat-send-btn *,
body.theme-light button[type="submit"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 6. Universal Inline Background Gold/Obsidian Override */
body.theme-light [style*="background: var(--gold-primary)"],
body.theme-light [style*="background:var(--gold-primary)"],
body.theme-light [style*="background: var(--gold-gradient)"],
body.theme-light [style*="background:var(--gold-gradient)"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-light [style*="background: var(--gold-primary)"] *,
body.theme-light [style*="background:var(--gold-primary)"] *,
body.theme-light [style*="background: var(--gold-gradient)"] *,
body.theme-light [style*="background:var(--gold-gradient)"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 7. Modal Popout Checkmarks */
body.theme-light .app-theme-popout-check,
body.theme-light .app-logo-popout-check,
body.theme-light .app-language-popout-check {
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* 8. Calendar Agenda Action Buttons (+ Event, Assign) High Contrast Text */
body.theme-light .btn-agenda-action,
body.theme-light .btn-action-add-event,
body.theme-light .btn-action-assign,
body.theme-light .btn-action-assign-hours,
body.theme-light .btn-agenda-action span,
body.theme-light .btn-action-add-event span,
body.theme-light .btn-action-assign span,
body.theme-light .btn-action-assign-hours span,
body.theme-gold-premium .btn-agenda-action,
body.theme-gold-premium .btn-action-add-event,
body.theme-gold-premium .btn-action-assign,
body.theme-gold-premium .btn-action-assign-hours,
body.theme-gold-premium .btn-agenda-action span,
body.theme-gold-premium .btn-action-add-event span,
body.theme-gold-premium .btn-action-assign span,
body.theme-gold-premium .btn-action-assign-hours span {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

body.theme-light .btn-agenda-action .action-btn-sym,
body.theme-gold-premium .btn-agenda-action .action-btn-sym {
  -webkit-text-fill-color: initial !important;
  color: initial !important;
}



