/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #f5f5f7;
    --white: #ffffff;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #007aff;
    --accent-hover: #0056d6;
    --green: #34c759;
    --red: #ff3b30;
    --orange: #ff9500;
    --yellow: #ffcc00;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

body.dark-mode {
    --bg: #1c1c1e;
    --white: #2c2c2e;
    --text: #f5f5f7;
    --text-secondary: #8e8e93;
    --shadow: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    color-scheme: dark;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 16px;
    min-height: 100vh;
}

/* ============ TYPOGRAPHY ============ */
h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; }
h3 { font-size: 17px; font-weight: 600; }
p { font-size: 15px; line-height: 1.5; }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* ============ CARDS ============ */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 16px;
    transition: transform var(--transition);
}
.card:hover { transform: translateY(-1px); }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: #e0332b; }
.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: #2db84e; }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: white; }
.btn-small { padding: 8px 16px; font-size: 14px; width: auto; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ============ INPUTS ============ */
.input-group { margin-bottom: 16px; }
.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.input-group input, .input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e5ea;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}
.input-group input:focus, .input-group select:focus {
    border-color: var(--accent);
}

/* ============ STATUS INDICATOR ============ */
.status-indicator {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
}
.status-indicator.free {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4);
}
.status-indicator.occupied {
    background: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4);
    animation: pulse 2s ease-in-out infinite;
}
.status-indicator span {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 59, 48, 0.6); }
}

/* ============ POINTS BADGE ============ */
.points-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
}

/* ============ COUNTDOWN ============ */
.countdown {
    font-size: 36px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    text-align: center;
    letter-spacing: 2px;
}

/* ============ NAV BAR ============ */
.nav-bar {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    margin-bottom: 20px;
    position: sticky;
    top: 10px;
    z-index: 100;
}
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    background: none;
    font-family: inherit;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}
.nav-item:hover, .nav-item.active {
    color: var(--accent);
    background: rgba(0, 122, 255, 0.08);
}
.nav-icon { font-size: 22px; }

/* ============ HEADER ============ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.header-right { display: flex; align-items: center; gap: 12px; }

/* ============ DURATION PICKER ============ */
.duration-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.duration-option {
    padding: 14px 8px;
    border: 2px solid #e5e5ea;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--white);
    font-family: inherit;
}
.duration-option:hover { border-color: var(--accent); }
.duration-option.selected {
    border-color: var(--accent);
    background: rgba(0, 122, 255, 0.08);
    color: var(--accent);
}
.duration-option .minutes { font-size: 20px; font-weight: 700; display: block; }
.duration-option .label { font-size: 11px; color: var(--text-secondary); }

/* ============ FEEDBACK OPTIONS ============ */
.feedback-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
.feedback-btn {
    padding: 20px 16px;
    border: 2px solid #e5e5ea;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--white);
    font-family: inherit;
}
.feedback-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.feedback-btn .icon { font-size: 32px; display: block; margin-bottom: 8px; }
.feedback-btn .text { font-size: 14px; font-weight: 600; }

.issue-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.issue-btn {
    padding: 16px 12px;
    border: 2px solid #e5e5ea;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
}
.issue-btn:hover { border-color: var(--red); color: var(--red); }

/* ============ LEADERBOARD ============ */
.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.leaderboard-item:last-child { border-bottom: none; }
.leaderboard-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 14px;
    flex-shrink: 0;
}
.rank-1 { background: #ffd700; color: #7a6200; }
.rank-2 { background: #c0c0c0; color: #5a5a5a; }
.rank-3 { background: #cd7f32; color: #5a3a10; }
.rank-default { background: #f0f0f0; color: var(--text-secondary); }
.leaderboard-name { flex: 1; font-weight: 600; font-size: 15px; }
.leaderboard-value { font-weight: 700; color: var(--accent); font-size: 15px; }

/* ============ AWARD CARD ============ */
.award-card {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0,122,255,0.05), rgba(88,86,214,0.05));
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.award-card .trophy { font-size: 28px; }
.award-card .title { font-size: 12px; color: var(--text-secondary); margin: 4px 0; }
.award-card .winner { font-size: 16px; font-weight: 700; }

/* ============ STAT ROW ============ */
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--text-secondary); font-size: 14px; }
.stat-value { font-weight: 700; font-size: 14px; }

/* ============ NOTIFICATIONS ============ */
.notif-badge {
    background: var(--red);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -4px;
}
.notif-btn { position: relative; cursor: pointer; background: none; border: none; font-size: 22px; }

.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.notif-item:last-child { border-bottom: none; }
.notif-icon { font-size: 20px; flex-shrink: 0; }
.notif-text { font-size: 14px; flex: 1; }
.notif-time { font-size: 11px; color: var(--text-secondary); }
.notif-item.unread { font-weight: 600; }

/* ============ ADMIN ============ */
.admin-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.admin-user-row:last-child { border-bottom: none; }
.admin-user-info { display: flex; flex-direction: column; gap: 2px; }
.admin-user-name { font-weight: 600; font-size: 15px; }
.admin-user-role { font-size: 12px; color: var(--text-secondary); }
.admin-points-control {
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-points-control button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e5e5ea;
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.admin-points-control button:hover { border-color: var(--accent); color: var(--accent); }
.admin-points-value {
    font-size: 18px;
    font-weight: 700;
    width: 32px;
    text-align: center;
}

/* ============ ADMIN TABS ============ */
.admin-tabs {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 4px;
    margin-bottom: 16px;
    gap: 4px;
}
.admin-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.admin-tab.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}
.admin-tab:not(.active):hover {
    background: rgba(0, 122, 255, 0.08);
    color: var(--accent);
}

/* ============ STATUS DURATION PICKER ============ */
.status-duration-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.status-dur-opt {
    padding: 8px 14px;
    border: 1.5px solid #e5e5ea;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: var(--white);
    color: var(--text);
    transition: all var(--transition);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.status-dur-opt:hover { border-color: var(--accent); color: var(--accent); }
.status-dur-opt.selected {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.task-dur-opt.selected::before {
    content: '✓ ';
    font-weight: 700;
}

/* ============ COLOR PICKER ============ */
.color-pick {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}
.color-pick:hover { transform: scale(1.1); }
.color-pick.selected {
    border-color: var(--text);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--text);
}

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    background: var(--text);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s;
    pointer-events: auto;
    max-width: 360px;
    text-align: center;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ============ LOGIN ============ */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}
.login-logo {
    font-size: 48px;
    margin-bottom: 8px;
}
.login-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
}
.login-form { width: 100%; max-width: 340px; }

/* ============ BOOKING TIME PICKER ============ */
.time-toggle {
    display: flex;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    padding: 3px;
    margin-bottom: 16px;
}
.time-toggle button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-family: inherit;
}
.time-toggle button.active {
    background: var(--white);
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ============ ACTIVE BOOKING CONTROLS ============ */
.active-booking-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

/* ============ RUSH HOURS ============ */
.rush-hours-chart {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 120px;
    padding-top: 20px;
}
.rush-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}
.rush-bar-count {
    font-size: 9px;
    color: var(--text-secondary);
    margin-bottom: 2px;
    min-height: 14px;
}
.rush-bar {
    width: 100%;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.3s ease;
}
.rush-bar-label {
    font-size: 9px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============ CALENDAR ============ */
.day-overview {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding: 4px 0;
}
.day-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    min-width: 52px;
}
.day-badge.selected {
    border-color: var(--accent);
    background: rgba(0, 122, 255, 0.06);
}
.day-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.day-badge-dot.load-low { background: var(--green); }
.day-badge-dot.load-medium { background: var(--orange); }
.day-badge-dot.load-high { background: var(--red); }
.day-badge-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}
.day-badge-date {
    font-size: 10px;
    color: var(--text-secondary);
}

.slot-grid {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: var(--radius-sm);
    border: 1px solid #e5e5ea;
}
.slot-time {
    font-size: 11px;
    color: var(--text-secondary);
    padding: 6px 8px;
    display: flex;
    align-items: center;
    background: #fafafa;
}
.slot-cell {
    padding: 6px 10px;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
}
.slot-cell.free {
    background: rgba(52, 199, 89, 0.08);
    color: var(--green);
}
.slot-cell.free:hover {
    background: rgba(52, 199, 89, 0.18);
}
.slot-cell.discount {
    background: rgba(255, 204, 0, 0.12);
    color: #b8860b;
    border: 1px solid rgba(255, 204, 0, 0.3);
}
.slot-cell.discount:hover {
    background: rgba(255, 204, 0, 0.25);
}
.discount-tag {
    display: inline-block;
    background: rgba(255, 204, 0, 0.2);
    color: #b8860b;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
}
.slot-cell.booked {
    background: rgba(255, 59, 48, 0.08);
    color: var(--red);
    cursor: default;
    font-weight: 500;
}
.slot-cell.mine {
    background: rgba(175, 82, 222, 0.12);
    color: #af52de;
    cursor: default;
    font-weight: 600;
}
.slot-cell.priority {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 179, 0, 0.12));
    color: #b8860b;
    cursor: default;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.slot-cell.mine-priority {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(175, 82, 222, 0.15));
    color: #b8860b;
    cursor: default;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.35);
}
.slot-cell.platinum {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(109, 40, 217, 0.08));
    color: #6d28d9;
    cursor: default;
    font-weight: 600;
    border: 1px solid rgba(109, 40, 217, 0.25);
}
.slot-cell.mine-platinum {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(109, 40, 217, 0.12));
    color: #6d28d9;
    cursor: default;
    font-weight: 600;
    border: 1px solid rgba(109, 40, 217, 0.35);
}
.slot-cell.ultimate {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.15), rgba(74, 14, 78, 0.12));
    color: #4a0e4e;
    cursor: default;
    font-weight: 600;
    border: 1px solid rgba(74, 14, 78, 0.3);
}
.slot-cell.mine-ultimate {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.22), rgba(74, 14, 78, 0.18));
    color: #4a0e4e;
    cursor: default;
    font-weight: 600;
    border: 1px solid rgba(74, 14, 78, 0.4);
}
.slot-cell.past {
    background: #f5f5f7;
    color: #c7c7cc;
    cursor: default;
}

/* ============ TIER BADGES ============ */
.tier-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}
.tier-badge.tier-premium {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #5d4200;
}
.tier-badge.tier-platinum {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
}
.tier-badge.tier-ultimate {
    background: linear-gradient(135deg, #1a1a2e, #4a0e4e);
    color: #e0b0ff;
}

/* ============ PRIORITY PASS ============ */
.priority-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #5d4200;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.priority-card {
    background: linear-gradient(135deg, #fffdf0, #fff8e1);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
}

.priority-card h3 {
    color: #b8860b;
}

.priority-perk-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.priority-perk-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.priority-perk-list li::before {
    content: '✓ ';
    color: #b8860b;
    font-weight: 700;
}

.priority-status-active {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 179, 0, 0.08));
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.bonus-prompt {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #fffdf0, #fff8e1);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius);
    text-align: center;
}

.bonus-prompt h4 {
    color: #b8860b;
    margin-bottom: 8px;
}

.bonus-prompt .btn-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

/* ============ ANIMATIONS ============ */
.fade-in {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #c7c7cc; border-radius: 4px; }

/* ============ DARK MODE OVERRIDES ============ */
body.dark-mode .input-group input,
body.dark-mode .input-group select,
body.dark-mode input[type="text"],
body.dark-mode input[type="number"],
body.dark-mode input[type="password"],
body.dark-mode input[type="time"],
body.dark-mode input[type="datetime-local"],
body.dark-mode select {
    background: var(--white);
    color: var(--text);
    border-color: #3a3a3c;
}
body.dark-mode .time-toggle {
    background: #3a3a3c;
}
body.dark-mode .time-toggle button {
    background: transparent;
    color: var(--text-secondary);
}
body.dark-mode .time-toggle button.active {
    background: #58585a;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
body.dark-mode .duration-option,
body.dark-mode .day-badge,
body.dark-mode .status-dur-opt,
body.dark-mode .task-quick-btn,
body.dark-mode .timeout-quick-btn {
    background: var(--white);
    border-color: #3a3a3c;
    color: var(--text);
}
body.dark-mode .duration-option.selected {
    border-color: var(--accent);
    background: rgba(0, 122, 255, 0.2);
    color: var(--accent);
}
body.dark-mode .duration-option.selected .label {
    color: var(--accent);
}
body.dark-mode .btn-outline {
    border-color: #3a3a3c;
    color: var(--text);
}
body.dark-mode .admin-user-row {
    border-bottom-color: #3a3a3c;
}
body.dark-mode .card {
    border-color: #3a3a3c;
}
body.dark-mode ::-webkit-scrollbar-thumb { background: #48484a; }
body.dark-mode .slot-cell.free { background: #1a3a1a; color: var(--green); }
body.dark-mode .slot-cell.discount { background: #3a3518; color: #ffd700; border-color: rgba(255, 215, 0, 0.3); }
body.dark-mode .slot-cell.discount:hover { background: #4a4520; }
body.dark-mode .discount-tag { background: rgba(255, 215, 0, 0.15); color: #ffd700; }
body.dark-mode .slot-cell.priority { background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 179, 0, 0.08)); color: #ffd700; border-color: rgba(255, 215, 0, 0.2); }
body.dark-mode .slot-cell.mine-priority { background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(175, 82, 222, 0.1)); color: #ffd700; border-color: rgba(255, 215, 0, 0.25); }
body.dark-mode .slot-cell.platinum { background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(109, 40, 217, 0.1)); color: #a78bfa; border-color: rgba(124, 58, 237, 0.3); }
body.dark-mode .slot-cell.mine-platinum { background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(109, 40, 217, 0.15)); color: #a78bfa; border-color: rgba(124, 58, 237, 0.35); }
body.dark-mode .slot-cell.ultimate { background: linear-gradient(135deg, rgba(74, 14, 78, 0.3), rgba(26, 26, 46, 0.3)); color: #e0b0ff; border-color: rgba(74, 14, 78, 0.4); }
body.dark-mode .slot-cell.mine-ultimate { background: linear-gradient(135deg, rgba(74, 14, 78, 0.4), rgba(26, 26, 46, 0.35)); color: #e0b0ff; border-color: rgba(74, 14, 78, 0.5); }
body.dark-mode .slot-cell.booked { background: #3a1a1a; color: var(--red); }
body.dark-mode .priority-badge { background: linear-gradient(135deg, #b8860b, #996f00); color: #fff8e1; }
body.dark-mode .priority-card { background: linear-gradient(135deg, #2c2800, #332e00); border-color: rgba(255, 215, 0, 0.2); color: #fff8e1; }
body.dark-mode .priority-card h3 { color: #ffd700; }
body.dark-mode .priority-card .text-secondary { color: #d4c98a !important; }
body.dark-mode .priority-card table th, body.dark-mode .priority-card table td { color: #e8deb5; }
body.dark-mode .bonus-prompt { background: linear-gradient(135deg, #2c2800, #332e00); border-color: rgba(255, 215, 0, 0.2); }
body.dark-mode .priority-status-active { background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 179, 0, 0.05)); border-color: rgba(255, 215, 0, 0.15); }
