/* Terminy Version B — Business Premium Theme */
/* Violet → Orange gradient, glassmorphism, premium feel */

:root {
    --bg: #0F0B1A;
    --bg-card: rgba(255,255,255,0.06);
    --bg-card-solid: #1A1428;
    --bg-subtle: rgba(255,255,255,0.04);
    --bg-hover: rgba(255,255,255,0.08);
    --text: #F2EFF8;
    --text-secondary: rgba(242,239,248,0.65);
    --text-tertiary: rgba(242,239,248,0.4);
    --accent: #C084FC;
    --accent2: #FB923C;
    --accent-light: rgba(192,132,252,0.15);
    --accent2-light: rgba(251,146,60,0.12);
    --accent-hover: #A855F7;
    --border: rgba(255,255,255,0.1);
    --border-light: rgba(255,255,255,0.06);
    --error: #F87171;
    --error-light: rgba(248,113,113,0.15);
    --warning: #FBBF24;
    --warning-light: rgba(251,191,36,0.12);
    --info: #60A5FA;
    --info-light: rgba(96,165,250,0.12);
    --success: #34D399;
    --success-light: rgba(52,211,153,0.12);
    --gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 30%, #F97316 70%, #FB923C 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(168,85,247,0.1) 50%, rgba(249,115,22,0.15) 100%);
    --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(249,115,22,0.06) 100%);
    --gradient-text: linear-gradient(135deg, #C084FC 0%, #FB923C 100%);
    --glass: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(168,85,247,0.15);
    --radius: 14px;
    --radius-lg: 22px;
    --font: 'DM Sans', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --sidebar-w: 260px;
    --hour-h: 64px;
}

body {
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 15% 15%, rgba(124,58,237,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(249,115,22,0.1) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

/* ═══ GLASS CARD ═══ */
.card, .stat-card, .s-card, .pricing-card, .feature-card, .testimonial-card, .faq-item, .service-card, .notif-card, .help-card, .contact-form, .clients-card, .summary-card, .service-option, .preview-window {
    background: var(--bg-card) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
}

/* ═══ SIDEBAR ═══ */
.sidebar {
    background: rgba(15,11,26,0.95) !important;
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border) !important;
}
.sidebar-header { border-bottom-color: var(--border) !important; }
.sidebar-footer { border-top-color: var(--border) !important; }
.nav-item { color: var(--text-secondary) !important; }
.nav-item:hover { background: var(--bg-hover) !important; color: var(--text) !important; }
.nav-item.active {
    background: var(--accent-light) !important;
    color: var(--accent) !important;
}
.nav-section-label { color: var(--text-tertiary) !important; }
.nav-badge { background: var(--accent) !important; }

.user-avatar {
    background: var(--gradient) !important;
    color: #fff !important;
}
.user-name { color: var(--text) !important; }
.user-plan { color: var(--text-tertiary) !important; }
.user-plan b { color: var(--accent) !important; }

.user-menu {
    background: var(--bg-card-solid) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5) !important;
}
.user-menu-item { color: var(--text-secondary) !important; }
.user-menu-item:hover { background: var(--bg-hover) !important; color: var(--text) !important; }
.user-menu-item.danger { color: var(--error) !important; }
.user-menu-item.danger:hover { background: var(--error-light) !important; }

/* ═══ TOPBAR ═══ */
.topbar, .top-bar {
    background: rgba(15,11,26,0.8) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border) !important;
}
.topbar h1, .topbar-greeting h1 { color: var(--text) !important; }
.topbar-greeting p, #todayDate { color: var(--text-tertiary) !important; }
.search-box {
    background: var(--bg-subtle) !important;
    border-color: transparent !important;
}
.search-box:focus-within {
    background: var(--bg-card) !important;
    border-color: var(--border) !important;
}
.search-box input { color: var(--text) !important; }
.search-box input::placeholder { color: var(--text-tertiary) !important; }
.topbar-btn {
    border-color: var(--border) !important;
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
}
.topbar-btn:hover { background: var(--bg-hover) !important; }
.notif-dot { background: var(--accent) !important; border-color: var(--bg) !important; }

/* ═══ BUTTONS ═══ */
.btn-primary, .btn-primary:visited {
    background: var(--gradient) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(168,85,247,0.3) !important;
}
.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(168,85,247,0.45) !important;
    transform: translateY(-1px);
}
.btn-outline, .btn-ghost, .btn-back {
    color: var(--text) !important;
    border-color: var(--border) !important;
    background: transparent !important;
}
.btn-outline:hover { border-color: var(--accent) !important; color: var(--accent) !important; }

/* ═══ LOGO ═══ */
.logo { color: var(--text) !important; }
.logo span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══ INPUTS ═══ */
input, select, textarea, .drawer-notes {
    background: var(--bg-subtle) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(192,132,252,0.2) !important;
}
input::placeholder, textarea::placeholder { color: var(--text-tertiary) !important; }
option { background: var(--bg-card-solid); color: var(--text); }

/* ═══ STAT CARDS ═══ */
.stat-card, .s-card {
    background: var(--gradient-card) !important;
}
.stat-label, .s-label { color: var(--text-secondary) !important; }
.stat-value, .s-val { color: var(--text) !important; }
.stat-icon { background: var(--accent-light) !important; }
.stat-change.up { color: var(--success) !important; }
.stat-change.down { color: var(--error) !important; }
.stat-change-note { color: var(--text-tertiary) !important; }

/* ═══ CARDS ═══ */
.card-header { border-bottom: none !important; }
.card-header h2 { color: var(--text) !important; }

/* ═══ TABLE ═══ */
.clients-table th, .pay-table th, .compare-table th, .mg-hd {
    background: var(--bg-subtle) !important;
    color: var(--text-tertiary) !important;
    border-color: var(--border) !important;
}
.clients-table td, .pay-table td, .compare-table td {
    border-color: var(--border) !important;
    color: var(--text-secondary) !important;
}
.clients-table tbody tr:hover { background: var(--bg-hover) !important; }
.client-name-text { color: var(--text) !important; }
.client-email { color: var(--text-tertiary) !important; }
.client-avatar.c1 { background: var(--accent-light) !important; color: var(--accent) !important; }
.client-avatar.c2 { background: var(--info-light) !important; color: var(--info) !important; }
.client-avatar.c3 { background: var(--accent2-light) !important; color: var(--accent2) !important; }
.client-avatar.c4 { background: var(--error-light) !important; color: var(--error) !important; }

/* ═══ TAGS ═══ */
.tag-vip { background: var(--accent2-light) !important; color: var(--accent2) !important; }
.tag-new { background: var(--accent-light) !important; color: var(--accent) !important; }
.tag-regular { background: var(--bg-subtle) !important; color: var(--text-secondary) !important; }
.tag-inactive { background: var(--error-light) !important; color: var(--error) !important; }
.tag-confirmed { background: var(--success-light) !important; color: var(--success) !important; }
.tag-pending { background: var(--warning-light) !important; color: var(--warning) !important; }
.tag-now { background: var(--gradient) !important; color: #fff !important; }
.tag-break { background: var(--warning-light) !important; color: var(--warning) !important; }

/* ═══ TIMELINE ═══ */
.timeline::before { background: var(--border) !important; }
.timeline-dot { border-color: var(--accent) !important; background: var(--bg) !important; }
.timeline-item.now .timeline-dot { background: var(--accent) !important; box-shadow: 0 0 0 4px rgba(192,132,252,0.2) !important; }
.timeline-item.past .timeline-dot { border-color: var(--border) !important; background: var(--bg-subtle) !important; }
.timeline-time { color: var(--text-tertiary) !important; }
.timeline-item.now .timeline-time { color: var(--accent) !important; }
.timeline-title { color: var(--text) !important; }
.timeline-item.past .timeline-title { color: var(--text-tertiary) !important; }
.timeline-subtitle { color: var(--text-secondary) !important; }

/* ═══ CALENDAR ═══ */
.week-table th { background: rgba(15,11,26,0.9) !important; border-color: var(--border) !important; }
.week-table td { border-color: var(--border) !important; }
.week-table td:hover:not(:first-child) { background: var(--bg-hover) !important; }
.wg-day { color: var(--text-tertiary) !important; }
.wg-num { color: var(--text) !important; }
.week-table th.is-today .wg-num { background: var(--gradient) !important; color: #fff !important; }
.week-table th.is-today .wg-day { color: var(--accent) !important; }
.time-lbl { color: var(--text-tertiary) !important; }
.ev { backdrop-filter: blur(4px); }
.ev-g { background: rgba(52,211,153,0.15) !important; color: var(--success) !important; border-color: var(--success) !important; }
.ev-b { background: rgba(96,165,250,0.15) !important; color: var(--info) !important; border-color: var(--info) !important; }
.ev-p { background: rgba(192,132,252,0.15) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
.ev-k { background: rgba(251,146,60,0.15) !important; color: var(--accent2) !important; border-color: var(--accent2) !important; }
.ev-a { background: rgba(251,191,36,0.15) !important; color: var(--warning) !important; border-color: var(--warning) !important; }
.ev-brk { background: var(--bg-subtle) !important; color: var(--text-tertiary) !important; border-color: var(--border) !important; }
.now-line { background: var(--accent2) !important; }
.now-line::before { background: var(--accent2) !important; }

/* Month view */
.month-grid { border-color: var(--border) !important; }
.mg-c { border-color: var(--border) !important; }
.mg-c:hover { background: var(--bg-hover) !important; }
.mg-c.ot { opacity: .25 !important; }
.mg-c.td { background: var(--accent-light) !important; }
.mg-dt { color: var(--text) !important; }

/* ═══ CHART ═══ */
.chart-bar, .bar { background: var(--accent-light) !important; }
.chart-bar:hover, .bar:hover { background: var(--accent) !important; }
.chart-bar.today, .bar.today { background: var(--gradient) !important; }
.chart-bar-label, .bar-lbl { color: var(--text-tertiary) !important; }
.chart-bar-tooltip, .bar-tip { background: var(--text) !important; }

/* ═══ POPOVER / MODAL ═══ */
.popover, .modal {
    background: var(--bg-card-solid) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg), var(--shadow-glow) !important;
}
.modal-overlay { background: rgba(0,0,0,0.6) !important; }
.modal-header { border-color: var(--border) !important; }
.modal-header h2, .pop-head h3 { color: var(--text) !important; }
.modal-close, .pop-close { color: var(--text-tertiary) !important; }
label { color: var(--text) !important; }
.form-group .optional, .label-desc { color: var(--text-tertiary) !important; }

/* ═══ DRAWER ═══ */
.drawer {
    background: var(--bg-card-solid) !important;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5) !important;
}
.drawer-header { border-color: var(--border) !important; }
.drawer-avatar { background: var(--gradient) !important; color: #fff !important; }
.drawer-name { color: var(--text) !important; }
.drawer-meta { color: var(--text-secondary) !important; }
.drawer-stat { background: var(--bg-subtle) !important; }
.drawer-stat-val { color: var(--text) !important; }
.drawer-stat-label { color: var(--text-tertiary) !important; }
.drawer-info-row { border-color: var(--border) !important; }
.drawer-info-label { color: var(--text-secondary) !important; }
.drawer-info-value { color: var(--text) !important; }
.drawer-visit { border-color: var(--border) !important; }
.drawer-visit-service { color: var(--text) !important; }
.drawer-visit-date { color: var(--text-secondary) !important; }
.drawer-visit-price { color: var(--accent) !important; }
.drawer-actions { border-color: var(--border) !important; }

/* ═══ SERVICES ═══ */
.service-card { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.service-card:hover { border-color: var(--accent) !important; box-shadow: var(--shadow-glow) !important; }
.service-name { color: var(--text) !important; }
.service-desc { color: var(--text-secondary) !important; }
.service-duration { color: var(--text-secondary) !important; }
.service-price { color: var(--accent) !important; }
.service-drag { color: var(--text-tertiary) !important; }
.service-toggle .slider { background: var(--border) !important; }
.service-toggle input:checked + .slider { background: var(--accent) !important; }
.icon-btn { color: var(--text-tertiary) !important; }
.icon-btn:hover { background: var(--bg-hover) !important; color: var(--text) !important; }
.icon-btn.delete:hover { background: var(--error-light) !important; color: var(--error) !important; }
.add-service-btn { border-color: var(--border) !important; color: var(--text-tertiary) !important; }
.add-service-btn:hover { border-color: var(--accent) !important; color: var(--accent) !important; background: var(--accent-light) !important; }
.category-title { color: var(--text) !important; }
.category-count { color: var(--text-tertiary) !important; }

/* ═══ FILTERS ═══ */
.filter-chip { border-color: var(--border) !important; background: var(--bg-card) !important; color: var(--text-secondary) !important; }
.filter-chip:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.filter-chip.active { background: var(--gradient) !important; color: #fff !important; border-color: transparent !important; }
.filter-count { color: var(--text-tertiary) !important; }

/* ═══ PAGINATION ═══ */
.pagination { border-color: var(--border) !important; color: var(--text-secondary) !important; }
.page-btn { border-color: var(--border) !important; background: var(--bg-card) !important; color: var(--text-secondary) !important; }
.page-btn:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.page-btn.active { background: var(--gradient) !important; color: #fff !important; border-color: transparent !important; }

/* ═══ SETTINGS TABS ═══ */
.tabs { border-color: var(--border) !important; }
.tab { color: var(--text-secondary) !important; }
.tab:hover { color: var(--text) !important; }
.tab.active { color: var(--accent) !important; border-bottom-color: var(--accent) !important; }
.section h3 { color: var(--text) !important; }
.toggle-row { border-color: var(--border) !important; }
.toggle-label { color: var(--text) !important; }
.toggle-desc { color: var(--text-secondary) !important; }
.toggle .slider { background: var(--border) !important; }
.toggle input:checked + .slider { background: var(--accent) !important; }
.day-chip { border-color: var(--border) !important; background: var(--bg-card) !important; color: var(--text-secondary) !important; }
.day-chip:hover { border-color: var(--accent) !important; }
.day-chip.active { background: var(--gradient) !important; color: #fff !important; border-color: transparent !important; }
.link-preview { background: var(--bg-subtle) !important; }
.link-preview code { color: var(--accent) !important; }
.danger-zone { border-color: rgba(248,113,113,0.3) !important; }
.btn-danger { color: var(--error) !important; border-color: rgba(248,113,113,0.3) !important; }
.btn-danger:hover { background: var(--error-light) !important; }

/* ═══ QUICK ACTIONS ═══ */
.quick-action { border-color: var(--border) !important; color: var(--text) !important; }
.quick-action:hover { border-color: var(--accent) !important; background: var(--accent-light) !important; }
.quick-action-icon { background: var(--bg-subtle) !important; }
.quick-action:hover .quick-action-icon { background: var(--accent-light) !important; }
.quick-action-label { color: var(--text) !important; }
.quick-action-desc { color: var(--text-tertiary) !important; }

/* ═══ ACTIVITY ═══ */
.activity-item { border-color: var(--border) !important; }
.activity-text { color: var(--text-secondary) !important; }
.activity-text strong { color: var(--text) !important; }
.activity-time { color: var(--text-tertiary) !important; }

/* ═══ UPCOMING ═══ */
.upcoming-item { border-color: var(--border) !important; }
.upcoming-avatar { background: var(--bg-subtle) !important; color: var(--text-secondary) !important; }
.upcoming-name { color: var(--text) !important; }
.upcoming-service { color: var(--text-secondary) !important; }
.upcoming-time { color: var(--text-secondary) !important; }
.upcoming-price { color: var(--text-tertiary) !important; }

/* ═══ NOTIFICATIONS ═══ */
.notif-card { border-color: var(--glass-border) !important; }
.notif-card.unread { border-left-color: var(--accent) !important; }
.notif-card:hover { border-color: var(--border) !important; }
.notif-text { color: var(--text-secondary) !important; }
.notif-text b { color: var(--text) !important; }
.notif-time { color: var(--text-tertiary) !important; }

/* ═══ STATUS ═══ */
.status-paid { background: var(--success-light) !important; color: var(--success) !important; }
.status-pending { background: var(--warning-light) !important; color: var(--warning) !important; }

/* ═══ RATING ═══ */
.rating { color: var(--warning) !important; }
.rating-num { color: var(--text) !important; }

/* ═══ EMPTY STATES ═══ */
.empty h3 { color: var(--text-secondary) !important; }
.empty p { color: var(--text-tertiary) !important; }

/* ═══ FOOTER ═══ */
footer, .page-footer { border-color: var(--border) !important; color: var(--text-tertiary) !important; }
footer a, .page-footer a { color: var(--text-tertiary) !important; }
.powered-by { color: var(--text-tertiary) !important; }
.powered-by a { color: var(--accent) !important; }

/* ═══ MOBILE OVERLAY ═══ */
.mobile-overlay.open { background: rgba(0,0,0,0.6) !important; }
.drawer-overlay.open { background: rgba(0,0,0,0.5) !important; }

/* ═══ TOAST ═══ */
#terminy-toast { background: var(--bg-card-solid) !important; border-color: var(--border) !important; color: var(--text) !important; }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ═══ SELECTION ═══ */
::selection { background: rgba(192,132,252,0.3); color: #fff; }

/* ═══ NAV (public pages) ═══ */
nav { border-color: var(--border) !important; background: rgba(15,11,26,0.9) !important; backdrop-filter: blur(16px); }
nav a, .nav-links a { color: var(--text-secondary) !important; }
nav a:hover, .nav-links a:hover { color: var(--text) !important; }
.top-bar-link { color: var(--text-secondary) !important; }
.top-bar-link b { color: var(--accent) !important; }

/* ═══ VIEW SWITCHER ═══ */
.view-switcher { background: var(--bg-subtle) !important; }
.view-btn { color: var(--text-secondary) !important; }
.view-btn.active { background: var(--bg-card) !important; color: var(--text) !important; }
.nav-date-btn { border-color: var(--border) !important; background: var(--bg-card) !important; color: var(--text-secondary) !important; }
.nav-date-btn:hover { background: var(--bg-hover) !important; }
.today-btn { border-color: var(--border) !important; background: var(--bg-card) !important; color: var(--accent) !important; }
.today-btn:hover { background: var(--accent-light) !important; }
.current-period { color: var(--text) !important; }

/* ═══ CALENDAR POPUP ═══ */
.pop-row { color: var(--text-secondary) !important; }
.pop-actions { border-color: var(--border) !important; }

/* ═══ COLOR PICKER ═══ */
.color-option { border-color: transparent !important; }
.color-option.selected { border-color: var(--text) !important; }

/* ═══ SOCIAL BTN ═══ */
.social-btn { background: var(--bg-card) !important; border-color: var(--border) !important; color: var(--text) !important; }
.social-btn:hover { background: var(--bg-hover) !important; border-color: var(--accent) !important; }
.divider { color: var(--text-tertiary) !important; }
.divider::before, .divider::after { background: var(--border) !important; }

/* ═══ BOOKING PAGE ═══ */
.profile-header { color: var(--text) !important; }
.profile-avatar { background: var(--gradient) !important; }
.profile-name { color: var(--text) !important; }
.profile-title { color: var(--text-secondary) !important; }
.profile-location { color: var(--text-tertiary) !important; }
.profile-rating { color: var(--text-secondary) !important; }
.booking-step { color: var(--text-tertiary) !important; }
.booking-step.active { color: var(--accent) !important; }
.booking-step.done { color: var(--accent) !important; }
.step-num { border-color: var(--border) !important; color: var(--text-tertiary) !important; }
.booking-step.active .step-num { background: var(--gradient) !important; color: #fff !important; border-color: transparent !important; }
.booking-step.done .step-num { background: var(--accent-light) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
.step-connector { background: var(--border) !important; }
.step-connector.done { background: var(--accent) !important; }
.service-option { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.service-option:hover { border-color: var(--accent) !important; background: var(--accent-light) !important; }
.service-option.selected { border-color: var(--accent) !important; background: var(--accent-light) !important; }
.service-radio { border-color: var(--border) !important; }
.service-option.selected .service-radio { border-color: var(--accent) !important; }
.service-option.selected .service-radio::after { background: var(--accent) !important; }
.service-opt-name { color: var(--text) !important; }
.service-opt-desc { color: var(--text-secondary) !important; }
.service-opt-price { color: var(--accent) !important; }
.service-opt-duration { color: var(--text-tertiary) !important; }
.time-slot { border-color: var(--border) !important; color: var(--text-secondary) !important; }
.time-slot:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.time-slot.selected { background: var(--gradient) !important; color: #fff !important; border-color: transparent !important; }
.time-slot.taken { opacity: .25 !important; }
.calendar-mini, .time-slots-panel { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.cal-nav-title { color: var(--text) !important; }
.cal-nav-btn { border-color: var(--border) !important; background: var(--bg-card) !important; color: var(--text-secondary) !important; }
.cal-day-name { color: var(--text-tertiary) !important; }
.cal-day { color: var(--text-secondary) !important; }
.cal-day:hover { background: var(--bg-hover) !important; }
.cal-day.today { color: var(--accent) !important; }
.cal-day.selected { background: var(--gradient) !important; color: #fff !important; }
.cal-day.past, .cal-day.other { color: var(--text-tertiary) !important; }
.time-slots-title { color: var(--text) !important; }
.time-slots-date { color: var(--text-tertiary) !important; }
.summary-card { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.summary-row { border-color: var(--border) !important; }
.summary-label { color: var(--text-secondary) !important; }
.summary-value { color: var(--text) !important; }
.summary-total { border-color: var(--accent) !important; }
.summary-total .price { color: var(--accent) !important; }
.success-icon { background: var(--accent-light) !important; }
.success-view h2 { color: var(--text) !important; }
.success-view p { color: var(--text-secondary) !important; }
.success-details { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.success-detail-row { border-color: var(--border) !important; }

/* ═══ HELP ═══ */
.help-card { color: var(--text) !important; }
.help-card:hover { border-color: var(--accent) !important; box-shadow: var(--shadow-glow) !important; }
.help-card h3 { color: var(--text) !important; }
.help-card p { color: var(--text-secondary) !important; }
.faq-q { color: var(--text) !important; }
.faq-q:hover { background: var(--bg-hover) !important; }
.faq-a { color: var(--text-secondary) !important; }
.faq-toggle { color: var(--text-tertiary) !important; }
.contact-bar { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.contact-bar-text h3 { color: var(--text) !important; }
.contact-bar-text p { color: var(--text-secondary) !important; }

/* ═══ PREVIEW FRAME ═══ */
.info-bar { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.info-bar-title { color: var(--text) !important; }
.info-bar-desc { color: var(--text-secondary) !important; }
.link-box { background: var(--bg-subtle) !important; }
.link-box code { color: var(--accent) !important; }
.preview-frame { border-color: var(--glass-border) !important; }
.frame-topbar { background: var(--bg-subtle) !important; border-color: var(--border) !important; }
.frame-url { color: var(--text-tertiary) !important; }

/* ═══ BADGE (register) ═══ */
.badge { background: var(--accent-light) !important; color: var(--accent) !important; }
.badge::before { background: var(--accent) !important; }

/* ═══ REGISTER / LOGIN SPECIFIC ═══ */
.benefits-panel { background: var(--bg-subtle) !important; }
.benefits-panel h2 { color: var(--text) !important; }
.benefit-icon { background: var(--accent-light) !important; }
.benefit-item h3 { color: var(--text) !important; }
.benefit-item p { color: var(--text-secondary) !important; }
.benefits-stats { border-color: var(--border) !important; }
.benefits-stat strong { color: var(--accent) !important; }
.benefits-stat span { color: var(--text-tertiary) !important; }
.login-footer { color: var(--text-secondary) !important; }
.login-footer a { color: var(--accent) !important; }
.forgot-link { color: var(--accent) !important; }
.remember-me span { color: var(--text-secondary) !important; }
.remember-me input { accent-color: var(--accent) !important; }
.checkbox-group label { color: var(--text-secondary) !important; }
.checkbox-group label a { color: var(--accent) !important; }
.checkbox-group input { accent-color: var(--accent) !important; }

/* ═══ PASSWORD ═══ */
.password-toggle { color: var(--text-tertiary) !important; }
.strength-bar { background: var(--border) !important; }
.strength-bar.weak { background: var(--error) !important; }
.strength-bar.medium { background: var(--warning) !important; }
.strength-bar.strong { background: var(--accent) !important; }
.error-msg { color: var(--error) !important; }
input.error { border-color: var(--error) !important; background: var(--error-light) !important; }

/* ═══ CTA SECTION ═══ */
.cta-box { background: var(--gradient) !important; }
.cta-box h2 { color: #fff !important; }
.cta-box p { color: rgba(255,255,255,0.7) !important; }
.cta-box .btn-primary { background: #fff !important; color: var(--bg) !important; box-shadow: none !important; }

/* ═══ PRICING ═══ */
.pricing-card.featured { border-color: var(--accent) !important; box-shadow: var(--shadow-lg), var(--shadow-glow) !important; }
.pricing-card.featured::before { background: var(--gradient) !important; }
.pricing-label, .plan-name { color: var(--text-tertiary) !important; }
.pricing-price strong, .plan-price strong { color: var(--text) !important; }
.pricing-price span, .plan-price span { color: var(--text-secondary) !important; }
.pricing-desc, .plan-desc { color: var(--text-secondary) !important; border-color: var(--border) !important; }
.pricing-features li, .plan-features li { color: var(--text-secondary) !important; }
.pricing-features li::before, .plan-features li::before { color: var(--accent) !important; }
.plan-features li.no { color: var(--text-tertiary) !important; }
.plan-features li.no::before { color: var(--text-tertiary) !important; }
.ck { color: var(--accent) !important; }
.cx { color: var(--text-tertiary) !important; }

/* ═══ HERO ═══ */
.hero h1 { color: var(--text) !important; }
.hero p { color: var(--text-secondary) !important; }
.hero-note { color: var(--text-tertiary) !important; }
.hero::before { background: radial-gradient(ellipse, rgba(168,85,247,0.12) 0%, transparent 70%) !important; }

/* Social proof */
.social-proof p { color: var(--text-tertiary) !important; }
.proof-item strong { color: var(--text) !important; }
.proof-item span { color: var(--text-tertiary) !important; }

/* Feature cards */
.feature-card::after { background: var(--gradient) !important; }
.feature-icon { background: var(--accent-light) !important; }
.feature-card h3 { color: var(--text) !important; }
.feature-card p { color: var(--text-secondary) !important; }

/* How it works */
.how-it-works { background: var(--bg-subtle) !important; }
.step-number { color: var(--accent) !important; }
.step h3 { color: var(--text) !important; }
.step p { color: var(--text-secondary) !important; }

/* Section headers */
.section-header h2, .faq h2, .compare h2 { color: var(--text) !important; }
.section-header p { color: var(--text-secondary) !important; }

/* Testimonials */
.testimonials { background: var(--bg-subtle) !important; }
.testimonial-stars { color: var(--warning) !important; }
.testimonial-card blockquote { color: var(--text-secondary) !important; }
.testimonial-name { color: var(--text) !important; }
.testimonial-role { color: var(--text-tertiary) !important; }
.testimonial-avatar { background: var(--accent-light) !important; color: var(--accent) !important; }

/* ═══ CONTACT ═══ */
.contact-left h1 { color: var(--text) !important; }
.contact-left p { color: var(--text-secondary) !important; }
.info-item .info-label { color: var(--text-tertiary) !important; }
.info-item .info-value { color: var(--text) !important; }
.info-icon { background: var(--accent-light) !important; }
.success-msg h3 { color: var(--text) !important; }
.success-msg p { color: var(--text-secondary) !important; }
.success-msg .check { background: var(--accent-light) !important; }

/* ═══ SR (stats ranking) ═══ */
.sr-item { border-color: var(--border) !important; }
.sr-pos { background: var(--bg-subtle) !important; color: var(--text-secondary) !important; }
.sr-name { color: var(--text) !important; }
.sr-count { color: var(--text-secondary) !important; }
.sr-rev { color: var(--accent) !important; }

/* ═══ PREVIEW ═══ */
.preview-topbar { background: var(--bg-subtle) !important; border-color: var(--border) !important; }
.preview-url { color: var(--text-tertiary) !important; }
.preview-sidebar { border-color: var(--border) !important; }
.preview-sidebar-item { color: var(--text-secondary) !important; }
.preview-sidebar-item.active { background: var(--accent-light) !important; color: var(--accent) !important; }
.preview-cal-title { color: var(--text) !important; }
.preview-cal-day { color: var(--text-tertiary) !important; }
.preview-cal-slot.booked { background: var(--accent-light) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
.preview-cal-slot.free { background: var(--bg-subtle) !important; color: var(--text-tertiary) !important; border-color: var(--border) !important; }
.preview-cal-slot.break-slot { background: var(--warning-light) !important; color: var(--warning) !important; border-color: var(--warning) !important; }

/* ═══ TOGGLE BILLING ═══ */
.billing-toggle { background: var(--accent) !important; }
.save-badge { background: var(--accent-light) !important; color: var(--accent) !important; }
.toggle-billing span { color: var(--text-secondary) !important; }
.toggle-billing span.active { color: var(--text) !important; }

/* ═══ STEPS INDICATOR (register) ═══ */
.steps-indicator .step-dot { border-color: var(--border) !important; color: var(--text-tertiary) !important; background: var(--bg) !important; }
.steps-indicator .step-dot.active { background: var(--gradient) !important; color: #fff !important; border: none !important; width: 34px !important; height: 34px !important; box-shadow: 0 0 0 2px rgba(168,85,247,0.3) !important; }
.steps-indicator .step-dot.done { background: var(--accent-light) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
.steps-indicator .step-line { background: var(--border) !important; }
.steps-indicator .step-line.done { background: var(--accent) !important; }

/* ═══ CATEGORY OPTIONS (register) ═══ */
.category-option { background: var(--bg-card) !important; border-color: var(--border) !important; }
.category-option:hover { border-color: var(--accent) !important; background: var(--accent-light) !important; }
.category-option.selected { border-color: var(--accent) !important; background: var(--accent-light) !important; }
.category-name { color: var(--text) !important; }

/* ═══ SUBTITLE / MISC ═══ */
.subtitle { color: var(--text-secondary) !important; }
.form-panel h1 { color: var(--text) !important; }
.login-card h1 { color: var(--text) !important; }

/* ═══ TOAST OVERRIDE ═══ */
.toast { background: var(--bg-card-solid) !important; border-color: var(--border) !important; color: var(--text) !important; }

/* ═══ INDEX.HTML SPECIFICS ═══ */
nav#nav {
    background: rgba(15,11,26,0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom-color: var(--border) !important;
}
nav#nav.scrolled { border-bottom-color: var(--border) !important; }
.preview-body { background: var(--bg-card-solid) !important; }

/* ═══ BUSINESS BADGE ═══ */
body[data-plan="business"]:has(.sidebar)::after {
    content: 'BUSINESS';
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 100px;
    z-index: 9998;
    opacity: 0.7;
    pointer-events: none;
}

/* Services nav icon - always visible, category overrides the icon shape */

/* ═══ INVENTORY PAGE DARK OVERRIDES ═══ */
.inv-bg { background-color: var(--bg) !important; }
.inv-item { background: var(--bg-card) !important; border-color: var(--glass-border) !important; backdrop-filter: blur(8px) !important; }
.inv-item:hover { border-color: var(--border) !important; }
.inv-item.low { border-left-color: var(--error) !important; }
.inv-name { color: var(--text) !important; }
.inv-meta { color: var(--text-secondary) !important; }
.inv-btn { color: var(--text-tertiary) !important; }
.inv-btn:hover { background: var(--bg-hover) !important; color: var(--text) !important; }
.cat-label { color: var(--text-tertiary) !important; }
.shop-item { background: var(--bg-card) !important; border-color: var(--glass-border) !important; }
.inv-modal-bg { background: rgba(0,0,0,.6) !important; backdrop-filter: blur(6px) !important; }
.inv-modal { background: var(--bg-card-solid) !important; border-color: var(--glass-border) !important; box-shadow: var(--shadow-lg), var(--shadow-glow) !important; }
.inv-modal h2 { color: var(--text) !important; }
.inv-modal label { color: var(--text) !important; }
.inv-modal input, .inv-modal select, .inv-modal textarea { background: var(--bg-subtle) !important; border-color: var(--border) !important; color: var(--text) !important; }
.inv-modal input:focus, .inv-modal select:focus, .inv-modal textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(192,132,252,0.2) !important; }
.inv-modal input::placeholder, .inv-modal textarea::placeholder { color: var(--text-tertiary) !important; }
.inv-modal .close-btn { color: var(--text-tertiary) !important; }
.empty h3 { color: var(--text-secondary) !important; }
.empty p { color: var(--text-tertiary) !important; }
