/* ========================================== *
 * ZEVA GLOBAL THEME STYLESHEET (theme.css)   *
 * ========================================== */

/* --- 1. CRITICAL ZERO-FLASH ROOT DEFINITIONS --- */
:root {
    --zeva-bg-dark: #050505;
    --zeva-bg-light: #F8F7FB;
    --zeva-primary: #8022FE;
    --zeva-primary-glow: rgba(128, 34, 254, 0.2);
}

html[data-theme="dark"],
html.dark {
    background-color: #050505 !important;
    color: #EDEAF1 !important;
    color-scheme: dark;
}

html[data-theme="light"],
html.light {
    background-color: #F8F7FB !important;
    color: #120E1E !important;
    color-scheme: light;
}

/* --- 2. THEME SWITCHER CONTROLS --- */
.zeva-theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a49db2;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    flex-shrink: 0;
}

.zeva-theme-btn:hover {
    background: rgba(128, 34, 254, 0.12);
    border-color: rgba(128, 34, 254, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

html[data-theme="light"] .zeva-theme-btn,
html.light .zeva-theme-btn {
    background: #FFFFFF;
    border-color: #E2DDEB;
    color: #554D66;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .zeva-theme-btn:hover,
html.light .zeva-theme-btn:hover {
    background: #F2EEFB;
    border-color: #8022FE;
    color: #8022FE;
}

/* 3-Option Segmented Pill Switcher */
.zeva-theme-segmented {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 12px;
    background: #0A0A0E;
    border: 1px solid #1E1B28;
}

html[data-theme="light"] .zeva-theme-segmented,
html.light .zeva-theme-segmented {
    background: #EDEAF2;
    border-color: #DDD6E6;
}

.zeva-theme-segmented .theme-opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: transparent;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #8E869E;
    cursor: pointer;
    transition: all 0.18s ease;
}

.zeva-theme-segmented .theme-opt:hover {
    color: #FFFFFF;
}

html[data-theme="light"] .zeva-theme-segmented .theme-opt:hover,
html.light .zeva-theme-segmented .theme-opt:hover {
    color: #120E1E;
}

.zeva-theme-segmented .theme-opt.active-theme-opt {
    background: #1C1829;
    color: #A78BFA;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .zeva-theme-segmented .theme-opt.active-theme-opt,
html.light .zeva-theme-segmented .theme-opt.active-theme-opt {
    background: #FFFFFF;
    color: #8022FE;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* --- 3. COMPREHENSIVE LIGHT THEME OVERRIDES --- */
html[data-theme="light"] body,
html.light body {
    background-color: #F8F7FB !important;
    color: #120E1E !important;
}

/* Background resets */
html[data-theme="light"] .bg-\[\#050505\],
html.light .bg-\[\#050505\],
html[data-theme="light"] .bg-\[\#030305\],
html.light .bg-\[\#030305\],
html[data-theme="light"] .bg-\[\#0c0c0e\],
html.light .bg-\[\#0c0c0e\],
html[data-theme="light"] .bg-\[\#050505\]\/50,
html.light .bg-\[\#050505\]\/50,
html[data-theme="light"] .bg-\[\#050505\]\/80,
html.light .bg-\[\#050505\]\/80,
html[data-theme="light"] .bg-\[\#050505\]\/90,
html.light .bg-\[\#050505\]\/90 {
    background-color: #F8F7FB !important;
}

html[data-theme="light"] .bg-\[\#0A0A0A\],
html.light .bg-\[\#0A0A0A\],
html[data-theme="light"] .bg-\[\#0A0A0D\],
html.light .bg-\[\#0A0A0D\],
html[data-theme="light"] .bg-\[\#0A0A0E\],
html.light .bg-\[\#0A0A0E\],
html[data-theme="light"] .bg-\[\#0A0A10\],
html.light .bg-\[\#0A0A10\],
html[data-theme="light"] .bg-\[\#0A0A0F\],
html.light .bg-\[\#0A0A0F\],
html[data-theme="light"] .bg-\[\#0F0E13\],
html.light .bg-\[\#0F0E13\],
html[data-theme="light"] .bg-\[\#111014\],
html.light .bg-\[\#111014\],
html[data-theme="light"] .bg-\[\#111111\],
html.light .bg-\[\#111111\],
html[data-theme="light"] .bg-\[\#111\],
html.light .bg-\[\#111\],
html[data-theme="light"] .bg-\[\#16161A\],
html.light .bg-\[\#16161A\],
html[data-theme="light"] .bg-\[\#09090B\],
html.light .bg-\[\#09090B\],
html[data-theme="light"] .bg-\[\#09090e\],
html.light .bg-\[\#09090e\] {
    background-color: #FFFFFF !important;
}

/* Inner card containers */
html[data-theme="light"] .bg-\[\#050508\],
html.light .bg-\[\#050508\],
html[data-theme="light"] .bg-\[\#05050A\],
html.light .bg-\[\#05050A\] {
    background-color: #F8F7FD !important;
    border-color: #E2DDEB !important;
}

html[data-theme="light"] .bg-black,
html.light .bg-black,
html[data-theme="light"] .bg-black\/10,
html.light .bg-black\/10,
html[data-theme="light"] .bg-black\/20,
html.light .bg-black\/20,
html[data-theme="light"] .bg-black\/30,
html.light .bg-black\/30,
html[data-theme="light"] .bg-black\/40,
html.light .bg-black\/40,
html[data-theme="light"] .bg-black\/50,
html.light .bg-black\/50,
html[data-theme="light"] .bg-black\/60,
html.light .bg-black\/60,
html[data-theme="light"] .bg-black\/70,
html.light .bg-black\/70,
html[data-theme="light"] .bg-black\/80,
html.light .bg-black\/80,
html[data-theme="light"] .bg-black\/85,
html.light .bg-black\/85,
html[data-theme="light"] .bg-black\/90,
html.light .bg-black\/90 {
    background-color: rgba(244, 242, 248, 0.95) !important;
}

html[data-theme="light"] .bg-gray-900,
html.light .bg-gray-900,
html[data-theme="light"] .bg-gray-950,
html.light .bg-gray-950,
html[data-theme="light"] .bg-gray-900\/50,
html.light .bg-gray-900\/50,
html[data-theme="light"] .bg-gray-900\/60,
html.light .bg-gray-900\/60,
html[data-theme="light"] .bg-gray-900\/80,
html.light .bg-gray-900\/80 {
    background-color: #F0EEF6 !important;
}

/* Panels & Glass effects */
html[data-theme="light"] .glass-panel,
html.light .glass-panel {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #E5E0EE !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(12px) !important;
}

/* Borders */
html[data-theme="light"] .border-gray-800,
html.light .border-gray-800,
html[data-theme="light"] .border-gray-850,
html.light .border-gray-850,
html[data-theme="light"] .border-gray-900,
html.light .border-gray-900,
html[data-theme="light"] .border-gray-800\/40,
html.light .border-gray-800\/40,
html[data-theme="light"] .border-gray-800\/50,
html.light .border-gray-800\/50,
html[data-theme="light"] .border-gray-800\/60,
html.light .border-gray-800\/60,
html[data-theme="light"] .border-gray-800\/80,
html.light .border-gray-800\/80,
html[data-theme="light"] .border-gray-700,
html.light .border-gray-700 {
    border-color: #E5E0EE !important;
}

html[data-theme="light"] .border-b,
html.light .border-b,
html[data-theme="light"] .border-t,
html.light .border-t,
html[data-theme="light"] .border-r,
html.light .border-r,
html[data-theme="light"] .border-l,
html.light .border-l {
    border-color: #E8E3F0;
}

/* Text Colors */
html[data-theme="light"] .text-white,
html.light .text-white {
    color: #120E1E !important;
}

html[data-theme="light"] .text-gray-100,
html.light .text-gray-100,
html[data-theme="light"] .text-gray-200,
html.light .text-gray-200 {
    color: #241D30 !important;
}

html[data-theme="light"] .text-gray-300,
html.light .text-gray-300 {
    color: #3C334D !important;
}

html[data-theme="light"] .text-gray-400,
html.light .text-gray-400 {
    color: #5E566F !important;
}

html[data-theme="light"] .text-gray-500,
html.light .text-gray-500 {
    color: #787088 !important;
}

html[data-theme="light"] .text-gray-600,
html.light .text-gray-600 {
    color: #625974 !important;
}

/* Badges & Accents */
html[data-theme="light"] .text-emerald-400,
html.light .text-emerald-400,
html[data-theme="light"] .text-green-400,
html.light .text-green-400 {
    color: #059669 !important;
}

html[data-theme="light"] .text-violet-400,
html.light .text-violet-400,
html[data-theme="light"] .text-indigo-400,
html.light .text-indigo-400,
html[data-theme="light"] .text-purple-400,
html.light .text-purple-400 {
    color: #7C3AED !important;
}

html[data-theme="light"] .text-amber-400,
html.light .text-amber-400,
html[data-theme="light"] .text-yellow-400,
html.light .text-yellow-400 {
    color: #D97706 !important;
}

html[data-theme="light"] .text-red-400,
html.light .text-red-400,
html[data-theme="light"] .text-rose-400,
html.light .text-rose-400 {
    color: #DC2626 !important;
}

html[data-theme="light"] .text-blue-400,
html.light .text-blue-400,
html[data-theme="light"] .text-cyan-400,
html.light .text-cyan-400 {
    color: #2563EB !important;
}

/* Light theme high-contrast overrides for lighter alert/badge shades */
html[data-theme="light"] .text-amber-200,
html.light .text-amber-200,
html[data-theme="light"] .text-amber-200\/80,
html.light .text-amber-200\/80,
html[data-theme="light"] .text-amber-300,
html.light .text-amber-300,
html[data-theme="light"] .text-yellow-200,
html.light .text-yellow-200,
html[data-theme="light"] .text-yellow-300,
html.light .text-yellow-300 {
    color: #92400E !important;
}

html[data-theme="light"] .text-green-200,
html.light .text-green-200,
html[data-theme="light"] .text-green-300,
html.light .text-green-300,
html[data-theme="light"] .text-emerald-200,
html.light .text-emerald-200,
html[data-theme="light"] .text-emerald-300,
html.light .text-emerald-300 {
    color: #065F46 !important;
}

html[data-theme="light"] .text-rose-200,
html.light .text-rose-200,
html[data-theme="light"] .text-rose-300,
html.light .text-rose-300,
html[data-theme="light"] .text-red-200,
html.light .text-red-200,
html[data-theme="light"] .text-red-300,
html.light .text-red-300 {
    color: #991B1B !important;
}

html[data-theme="light"] .text-blue-200,
html.light .text-blue-200,
html[data-theme="light"] .text-blue-300,
html.light .text-blue-300,
html[data-theme="light"] .text-cyan-200,
html.light .text-cyan-200,
html[data-theme="light"] .text-cyan-300,
html.light .text-cyan-300 {
    color: #1E40AF !important;
}

/* Active navigation badge pill backgrounds */
html[data-theme="light"] .bg-indigo-600\/10,
html.light .bg-indigo-600\/10,
html[data-theme="light"] .bg-violet-600\/10,
html.light .bg-violet-600\/10 {
    background-color: rgba(128, 34, 254, 0.08) !important;
}

/* Preserving high contrast solid buttons */
html[data-theme="light"] .btn-primary,
html.light .btn-primary,
html[data-theme="light"] .btn-primary *,
html.light .btn-primary *,
html[data-theme="light"] .bg-violet-600,
html.light .bg-violet-600,
html[data-theme="light"] .bg-violet-700,
html.light .bg-violet-700,
html[data-theme="light"] .bg-indigo-600,
html.light .bg-indigo-600,
html[data-theme="light"] .bg-indigo-700,
html.light .bg-indigo-700,
html[data-theme="light"] .bg-emerald-600,
html.light .bg-emerald-600,
html[data-theme="light"] .bg-red-600,
html.light .bg-red-600,
html[data-theme="light"] .bg-violet-600 *,
html.light .bg-violet-600 *,
html[data-theme="light"] .bg-violet-700 *,
html.light .bg-violet-700 *,
html[data-theme="light"] .bg-indigo-600 *,
html.light .bg-indigo-600 *,
html[data-theme="light"] .bg-indigo-700 *,
html.light .bg-indigo-700 *,
html[data-theme="light"] .bg-emerald-600 *,
html.light .bg-emerald-600 *,
html[data-theme="light"] .bg-red-600 *,
html.light .bg-red-600 *,
html[data-theme="light"] [class*="bg-violet-600"] .text-white,
html.light [class*="bg-violet-600"] .text-white,
html[data-theme="light"] [class*="bg-indigo-600"] .text-white,
html.light [class*="bg-indigo-600"] .text-white,
html[data-theme="light"] [class*="bg-emerald-600"] .text-white,
html.light [class*="bg-emerald-600"] .text-white,
html[data-theme="light"] [class*="bg-red-600"] .text-white,
html.light [class*="bg-red-600"] .text-white {
    color: #FFFFFF !important;
}

/* Hover States */
html[data-theme="light"] .hover\:bg-gray-900:hover,
html.light .hover\:bg-gray-900:hover,
html[data-theme="light"] .hover\:bg-gray-800:hover,
html.light .hover\:bg-gray-800:hover,
html[data-theme="light"] .hover\:bg-white\/5:hover,
html.light .hover\:bg-white\/5:hover,
html[data-theme="light"] .hover\:bg-white\/10:hover,
html.light .hover\:bg-white\/10:hover {
    background-color: #EDE8F5 !important;
}

html[data-theme="light"] .hover\:text-white:hover,
html.light .hover\:text-white:hover,
html[data-theme="light"] .hover\:text-gray-300:hover,
html.light .hover\:text-gray-300:hover,
html[data-theme="light"] .hover\:text-gray-200:hover,
html.light .hover\:text-gray-200:hover {
    color: #120E1E !important;
}

html[data-theme="light"] .hover\:border-gray-700:hover,
html.light .hover\:border-gray-700:hover,
html[data-theme="light"] .hover\:border-gray-600:hover,
html.light .hover\:border-gray-600:hover {
    border-color: #8022FE !important;
}

/* Form Inputs & Controls */
html[data-theme="light"] .input-dark,
html.light .input-dark,
html[data-theme="light"] input[type="text"],
html.light input[type="text"],
html[data-theme="light"] input[type="email"],
html.light input[type="email"],
html[data-theme="light"] input[type="password"],
html.light input[type="password"],
html[data-theme="light"] input[type="number"],
html.light input[type="number"],
html[data-theme="light"] input[type="url"],
html.light input[type="url"],
html[data-theme="light"] input[type="date"],
html.light input[type="date"],
html[data-theme="light"] input[type="time"],
html.light input[type="time"],
html[data-theme="light"] input[type="tel"],
html.light input[type="tel"],
html[data-theme="light"] select,
html.light select,
html[data-theme="light"] textarea,
html.light textarea {
    background-color: #FFFFFF !important;
    border-color: #D8D2E4 !important;
    color: #120E1E !important;
}

html[data-theme="light"] .input-dark:focus,
html.light .input-dark:focus,
html[data-theme="light"] input:focus,
html.light input:focus,
html[data-theme="light"] select:focus,
html.light select:focus,
html[data-theme="light"] textarea:focus,
html.light textarea:focus {
    border-color: #8022FE !important;
    box-shadow: 0 0 0 2px rgba(128, 34, 254, 0.15) !important;
}

html[data-theme="light"] input::placeholder,
html.light input::placeholder,
html[data-theme="light"] textarea::placeholder,
html.light textarea::placeholder {
    color: #9D95AF !important;
}

html[data-theme="light"] select option,
html.light select option {
    background-color: #FFFFFF !important;
    color: #120E1E !important;
}

/* Tables */
html[data-theme="light"] th,
html.light th {
    color: #6E667E !important;
    border-color: #E2DDEB !important;
    background-color: #F2EEF8 !important;
}

html[data-theme="light"] td,
html.light td {
    border-color: #EBE6F2 !important;
    color: #241D30 !important;
}

html[data-theme="light"] tr:hover td,
html.light tr:hover td {
    background-color: rgba(128, 34, 254, 0.03) !important;
}

/* Sidebar navigation */
html[data-theme="light"] aside#admin-sidebar,
html.light aside#admin-sidebar,
html[data-theme="light"] aside,
html.light aside {
    background-color: #FFFFFF !important;
    border-color: #E5E0EE !important;
}

html[data-theme="light"] aside a.text-gray-400:hover,
html.light aside a.text-gray-400:hover,
html[data-theme="light"] aside a:hover,
html.light aside a:hover {
    background-color: #F4F1F9 !important;
    color: #120E1E !important;
}

/* Modals & Dialogs */
html[data-theme="light"] #message-modal > div,
html.light #message-modal > div,
html[data-theme="light"] .modal-content,
html.light .modal-content,
html[data-theme="light"] [id$="-modal"] > div,
html.light [id$="-modal"] > div {
    background-color: #FFFFFF !important;
    border-color: #E5E0EE !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

/* Admin Poster Generator UI */
html[data-theme="light"] .controls-panel,
html.light .controls-panel {
    background: #FFFFFF !important;
    border-color: #E2DDEB !important;
    color: #120E1E !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .controls-panel h1,
html.light .controls-panel h1 {
    color: #120E1E !important;
    border-color: #E2DDEB !important;
}

html[data-theme="light"] .controls-panel label,
html.light .controls-panel label {
    color: #68607A !important;
}

html[data-theme="light"] .controls-panel input,
html.light .controls-panel input,
html[data-theme="light"] .controls-panel textarea,
html.light .controls-panel textarea {
    background: #F8F7FB !important;
    border-color: #D8D2E4 !important;
    color: #120E1E !important;
}

/* Scrollbars */
html[data-theme="light"] ::-webkit-scrollbar-track,
html.light ::-webkit-scrollbar-track {
    background: #F0EEF6;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb,
html.light ::-webkit-scrollbar-thumb {
    background: #CCC5D8;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb:hover,
html.light ::-webkit-scrollbar-thumb:hover {
    background: #B3ABC2;
}

/* --- Organizer Portal & Authenticated Dashboards Light Theme Enhancements --- */
html[data-theme="light"] nav.fixed.bottom-0,
html.light nav.fixed.bottom-0,
html[data-theme="light"] .bg-\[\#08080C\]\/98,
html.light .bg-\[\#08080C\]\/98,
html[data-theme="light"] .bg-\[\#08080C\],
html.light .bg-\[\#08080C\] {
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-color: #E2DDEB !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] header.h-16,
html.light header.h-16 {
    background-color: #FFFFFF !important;
    border-color: #E5E0EE !important;
}

html[data-theme="light"] .sticky.top-0,
html.light .sticky.top-0 {
    background-color: rgba(248, 247, 251, 0.95) !important;
    border-color: #E5E0EE !important;
}

html[data-theme="light"] #slug_wrapper,
html.light #slug_wrapper {
    background-color: #FFFFFF !important;
    border-color: #D8D2E4 !important;
}

html[data-theme="light"] #slug_input,
html.light #slug_input {
    color: #120E1E !important;
}

html[data-theme="light"] .ticket-tier-row,
html.light .ticket-tier-row {
    background-color: #FFFFFF !important;
    border-color: #E2DDEB !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

html[data-theme="light"] #poster_dropzone,
html.light #poster_dropzone {
    background-color: #F6F4FA !important;
    border-color: #D2CADF !important;
}

html[data-theme="light"] #poster_dropzone:hover,
html.light #poster_dropzone:hover {
    background-color: #ECE7F4 !important;
}

html[data-theme="light"] .bg-violet-900\/20,
html.light .bg-violet-900\/20 {
    background-color: rgba(128, 34, 254, 0.08) !important;
    border-color: rgba(128, 34, 254, 0.22) !important;
}

html[data-theme="light"] .text-violet-200,
html.light .text-violet-200,
html[data-theme="light"] .text-violet-200\/70,
html.light .text-violet-200\/70 {
    color: #5B21B6 !important;
}

html[data-theme="light"] .text-violet-300,
html.light .text-violet-300 {
    color: #6D28D9 !important;
}

html[data-theme="light"] .text-indigo-200,
html.light .text-indigo-200,
html[data-theme="light"] .text-indigo-300,
html.light .text-indigo-300 {
    color: #4338CA !important;
}

html[data-theme="light"] .bg-green-500\/5,
html.light .bg-green-500\/5 {
    background-color: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

html[data-theme="light"] .text-green-500,
html.light .text-green-500 {
    color: #059669 !important;
}

html[data-theme="light"] .text-amber-400\/70,
html.light .text-amber-400\/70 {
    color: #92400E !important;
}

html[data-theme="light"] .text-green-400\/70,
html.light .text-green-400\/70 {
    color: #065F46 !important;
}

html[data-theme="light"] #btn-edit-event,
html.light #btn-edit-event {
    background-color: #120E1E !important;
    color: #FFFFFF !important;
}

html[data-theme="light"] #btn-edit-event:hover,
html.light #btn-edit-event:hover {
    background-color: #241D30 !important;
}

html[data-theme="light"] .no-print.bg-\[\#121214\],
html.light .no-print.bg-\[\#121214\] {
    background-color: #FFFFFF !important;
    border-color: #E5E0EE !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .no-print-bg,
html.light .no-print-bg,
html[data-theme="light"] #print_canvas_wrapper,
html.light #print_canvas_wrapper {
    background-color: #ECE7F4 !important;
}

html[data-theme="light"] .bg-\[\#1C1C1F\],
html.light .bg-\[\#1C1C1F\],
html[data-theme="light"] #layout_selector,
html.light #layout_selector,
html[data-theme="light"] #tier_filter,
html.light #tier_filter {
    background-color: #FFFFFF !important;
    border-color: #D8D2E4 !important;
    color: #120E1E !important;
}

/* Event Page (e.php) Adaptive Hero Image Gradient */
.event-hero-gradient {
    background: linear-gradient(to top, #050505 0%, #050505 18%, rgba(5, 5, 5, 0.85) 45%, rgba(5, 5, 5, 0.3) 72%, transparent 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.event-banner-wrapper {
    background-color: #0A0A0E;
    transition: background-color 0.3s ease;
}

.event-banner-img {
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

html[data-theme="light"] .event-banner-wrapper,
html.light .event-banner-wrapper {
    background-color: #F8F7FB !important;
}

html[data-theme="light"] .event-banner-img,
html.light .event-banner-img {
    opacity: 0.92 !important;
}

html[data-theme="light"] .event-hero-gradient,
html.light .event-hero-gradient {
    background: linear-gradient(to top, #F8F7FB 0%, #F8F7FB 20%, rgba(248, 247, 251, 0.9) 45%, rgba(248, 247, 251, 0.35) 75%, transparent 100%) !important;
}

/* Event Page (e.php) Typography & Content Contrast */
html[data-theme="light"] .prose,
html.light .prose,
html[data-theme="light"] .prose-invert,
html.light .prose-invert {
    color: #2D253D !important;
}

html[data-theme="light"] .prose h1,
html.light .prose h1,
html[data-theme="light"] .prose h2,
html.light .prose h2,
html[data-theme="light"] .prose h3,
html.light .prose h3,
html[data-theme="light"] .prose h4,
html.light .prose h4,
html[data-theme="light"] .prose strong,
html.light .prose strong {
    color: #120E1E !important;
}

html[data-theme="light"] .prose a,
html.light .prose a {
    color: #7C3AED !important;
}

/* Event Page (e.php) Ticket Cards & Quantity Steppers */
html[data-theme="light"] .ticket-card,
html.light .ticket-card {
    background-color: #FFFFFF !important;
    border-color: #E2DDEB !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

html[data-theme="light"] .ticket-card:hover,
html.light .ticket-card:hover {
    border-color: #C3B9D9 !important;
}

html[data-theme="light"] .ticket-card.border-violet-600,
html.light .ticket-card.border-violet-600 {
    border-color: #7C3AED !important;
    background-color: rgba(128, 34, 254, 0.03) !important;
}

html[data-theme="light"] .ticket-card h3,
html.light .ticket-card h3,
html[data-theme="light"] .ticket-card h4,
html.light .ticket-card h4,
html[data-theme="light"] #byoc_ticket_select_view h4,
html.light #byoc_ticket_select_view h4 {
    color: #120E1E !important;
}

html[data-theme="light"] .qty-display,
html.light .qty-display,
html[data-theme="light"] .byoc-qty-display,
html.light .byoc-qty-display,
html[data-theme="light"] [id^="qty-"],
html.light [id^="qty-"],
html[data-theme="light"] [id^="byoc-qty-"],
html.light [id^="byoc-qty-"] {
    color: #120E1E !important;
}

html[data-theme="light"] #total-qty,
html.light #total-qty,
html[data-theme="light"] #total-price,
html.light #total-price,
html[data-theme="light"] .order-summary-total,
html.light .order-summary-total,
html[data-theme="light"] .select-tickets-title,
html.light .select-tickets-title {
    color: #120E1E !important;
}

html[data-theme="light"] .ticket-card .bg-\[\#050505\],
html.light .ticket-card .bg-\[\#050505\],
html[data-theme="light"] #byoc_ticket_select_view .bg-\[\#050505\],
html.light #byoc_ticket_select_view .bg-\[\#050505\] {
    background-color: #F5F3FA !important;
    border-color: #DDD8E8 !important;
}

html[data-theme="light"] .ticket-card button,
html.light .ticket-card button,
html[data-theme="light"] #byoc_ticket_select_view button,
html.light #byoc_ticket_select_view button {
    color: #554D66 !important;
}

html[data-theme="light"] .ticket-card button:hover,
html.light .ticket-card button:hover,
html[data-theme="light"] #byoc_ticket_select_view button:hover,
html.light #byoc_ticket_select_view button:hover {
    background-color: #E8E3F2 !important;
    color: #120E1E !important;
}

/* Event Page (e.php) Checkout Modal Contrast */
html[data-theme="light"] #checkout_modal.bg-black\/85,
html.light #checkout_modal.bg-black\/85 {
    background-color: rgba(18, 14, 30, 0.65) !important;
    backdrop-filter: blur(10px) !important;
}

html[data-theme="light"] #checkout_modal input,
html.light #checkout_modal input,
html[data-theme="light"] #checkout_modal textarea,
html.light #checkout_modal textarea,
html[data-theme="light"] #checkout_modal select,
html.light #checkout_modal select {
    background-color: #FFFFFF !important;
    border-color: #D8D2E4 !important;
    color: #120E1E !important;
}

html[data-theme="light"] #checkout_modal input::placeholder,
html.light #checkout_modal input::placeholder,
html[data-theme="light"] #checkout_modal textarea::placeholder,
html.light #checkout_modal textarea::placeholder {
    color: #938A9E !important;
}

html[data-theme="light"] #checkout_modal input:focus,
html.light #checkout_modal input:focus,
html[data-theme="light"] #checkout_modal textarea:focus,
html.light #checkout_modal textarea:focus {
    border-color: #7C3AED !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12) !important;
}

html[data-theme="light"] #confirm_email_display,
html.light #confirm_email_display {
    background-color: #F6F4FA !important;
    border-color: #D8D2E4 !important;
    color: #120E1E !important;
}

html[data-theme="light"] #payment_success_view .glass-panel,
html.light #payment_success_view .glass-panel {
    background: #FFFFFF !important;
    border-color: #E2DDEB !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] #download_btn_row button,
html.light #download_btn_row button {
    background-color: rgba(128, 34, 254, 0.08) !important;
    color: #7C3AED !important;
    border-color: rgba(128, 34, 254, 0.25) !important;
}

html[data-theme="light"] #download_btn_row button:hover,
html.light #download_btn_row button:hover {
    background-color: rgba(128, 34, 254, 0.15) !important;
}

html[data-theme="light"] footer.bg-\[\#050505\],
html.light footer.bg-\[\#050505\] {
    background-color: #F0EEF6 !important;
    border-color: #E5E0EE !important;
}
