/* ==========================================================================
   COL RADIO — QUIZ OF THE WEEK (World-Class Step-Wise Interface)
   ========================================================================== */

.qz-page-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 28px 18px 64px;
}

/* ---- STEP 1: Landing Hero Banner ---- */
.qz-hero-card {
    background: radial-gradient(circle at 88% 20%, rgba(245, 158, 11, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, #120303 0%, #7f1d1d 45%, #b91c1c 100%);
    border-radius: 22px;
    padding: 32px 34px;
    color: #ffffff;
    box-shadow: 0 22px 48px rgba(127, 29, 29, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}
.qz-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #ef4444, transparent);
    animation: qzShimmer 4s linear infinite;
}
@keyframes qzShimmer {
    0%   { left: -60%; }
    100% { left: 120%; }
}
.qz-hero-trophy {
    width: 112px;
    height: 112px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(251, 191, 36, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.1rem;
    color: #fbbf24;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.qz-showcase-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.qz-steps-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.qz-step-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.qz-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qz-step-text strong { display: block; font-size: 0.86rem; color: #0f172a; }
.qz-step-text span   { font-size: 0.76rem; color: #64748b; }

html[data-col-theme="dark"] .qz-step-pill {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-col-theme="dark"] .qz-step-text strong { color: #f8fafc !important; }
html[data-col-theme="dark"] .qz-step-text span   { color: #cbd5e1 !important; }

@media (max-width: 860px) {
    .qz-hero-card { grid-template-columns: 1fr; padding: 24px 20px; }
    .qz-hero-trophy { display: none; }
    .qz-showcase-grid { grid-template-columns: 1fr; }
    .qz-steps-strip { grid-template-columns: 1fr; }
}

.qz-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.qz-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #ffffff;
}

.qz-hero-title {
    font-family: var(--font-display, 'Merriweather', serif);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.4px;
}

.qz-hero-sub {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fef2f2;
    margin: 0 0 4px;
}

.qz-hero-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 10px;
}

.qz-hero-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fde68a;
    margin: 0;
}

/* ---- 3 Stat Cards ---- */
.qz-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.qz-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease;
}
.qz-stat-card:hover {
    transform: translateY(-2px);
}
.qz-stat-icon {
    font-size: 1.25rem;
    color: #b91c1c;
    margin-bottom: 6px;
}
.qz-stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}
.qz-stat-lbl {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
}

/* ---- Pick Your Challenge Section ---- */
.qz-section-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 12px;
}

.qz-challenge-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.qz-challenge-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.qz-challenge-month {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.qz-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 99px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
}
.qz-badge-live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}

.qz-badge-upcoming {
    padding: 3px 10px;
    border-radius: 99px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.qz-live-body {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.qz-live-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.qz-live-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.qz-live-meta {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}
.qz-live-sub {
    font-size: 0.85rem;
    color: #475569;
    margin-top: 3px;
}

.qz-btn-attempt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-decoration: none;
    border: none;
    box-shadow: 0 8px 22px rgba(185, 28, 28, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.qz-btn-attempt:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(185, 28, 28, 0.45);
    color: #ffffff !important;
}

.qz-upcoming-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.qz-upcoming-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f8fafc;
}
.qz-upcoming-list li i {
    color: #94a3b8;
    font-size: 0.8rem;
}

.qz-footer-tagline {
    text-align: center;
    margin-top: 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #b91c1c;
}

/* ---- STEP 1.5: Login / Register Page ---- */
.qz-auth-wrap {
    max-width: 680px;
    margin: 24px auto 60px;
    padding: 0 16px;
}

.qz-auth-banner {
    background: #0f172a;
    color: #ffffff;
    border-radius: 18px;
    padding: 24px 26px;
    margin-bottom: 22px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}
.qz-auth-banner-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    background: #b91c1c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}
.qz-auth-banner h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}
.qz-auth-banner p {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin: 0;
}

.qz-auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}
.qz-auth-card h2 {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.qz-auth-sub {
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 20px;
}
.qz-field-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #334155;
    margin-bottom: 6px;
}
.qz-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    background: #f8fafc;
    color: #0f172a;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qz-input:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.14);
    background: #ffffff;
}

.qz-next-note {
    margin-top: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 14px 18px;
    text-align: center;
}
.qz-next-note strong {
    display: block;
    font-size: 0.82rem;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.qz-next-note span {
    font-size: 0.8rem;
    color: #64748b;
}

/* ---- STEP 2: Live Quiz Play Interface ---- */
.qz-play-banner {
    background: linear-gradient(125deg, #1a0505 0%, #7f1d1d 55%, #450a0a 100%);
    border-radius: 16px;
    padding: 20px 26px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(127, 29, 29, 0.25);
}
.qz-play-banner h1 {
    font-family: var(--font-display, 'Merriweather', serif);
    font-size: clamp(1.3rem, 2.6vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0;
}
.qz-play-tagline {
    font-family: var(--font-display, 'Merriweather', serif);
    font-style: italic;
    font-size: 1.05rem;
    color: #fde68a;
    text-align: right;
}

.qz-play-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.qz-question-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.qz-q-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
.qz-q-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}
.qz-q-badge span {
    background: #b91c1c;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
}
.qz-q-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

.qz-q-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
    line-height: 1.5;
}

.qz-options-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.qz-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.qz-option-item:hover {
    border-color: #ef4444;
    background: #fef2f2;
}
.qz-option-item.selected {
    border-color: #b91c1c;
    background: #fee2e2;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.14);
}
.qz-option-item input[type="radio"] {
    accent-color: #b91c1c;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.qz-option-key {
    font-weight: 800;
    color: #b91c1c;
    min-width: 22px;
}
.qz-option-label {
    font-size: 0.96rem;
    font-weight: 600;
    color: #1e293b;
}

.qz-q-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}
.qz-btn-prev {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}
.qz-btn-prev:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.qz-btn-next {
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(185, 28, 28, 0.3);
}

/* Sidebar Progress */
.qz-progress-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}
.qz-progress-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.qz-timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}
.qz-bar-track {
    width: 100%;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    margin: 10px 0 16px;
}
.qz-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    border-radius: 99px;
    transition: width 0.25s ease;
}
.qz-motivation-box {
    background: linear-gradient(145deg, #450a0a, #7f1d1d);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
}
.qz-motivation-box i {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 8px;
}

/* ---- STEP 3: Completed & Leaderboard ---- */
.qz-result-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.qz-score-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}
.qz-score-big {
    font-size: 2.75rem;
    font-weight: 900;
    color: #991b1b;
    line-height: 1.1;
    margin: 8px 0;
}
.qz-score-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
}
.qz-mini-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 6px;
}
.qz-mini-stat strong {
    display: block;
    font-size: 1.05rem;
    color: #0f172a;
}
.qz-mini-stat span {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

.qz-leaderboard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}
.qz-lb-header {
    background: #1a0505;
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.qz-lb-table {
    width: 100%;
    border-collapse: collapse;
}
.qz-lb-table th {
    background: #7f1d1d;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: left;
    padding: 10px 16px;
}
.qz-lb-table td {
    padding: 11px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-weight: 600;
}
.qz-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #1e293b;
}
.qz-rank-1 { background: #fbbf24; color: #78350f; }
.qz-rank-2 { background: #cbd5e1; color: #1e293b; }
.qz-rank-3 { background: #fdba74; color: #7c2d12; }

.qz-review-box {
    margin-top: 24px;
    display: none;
}
.qz-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

/* ---- Dark Theme Support ---- */
html[data-col-theme="dark"] .qz-stat-card,
html[data-col-theme="dark"] .qz-challenge-card,
html[data-col-theme="dark"] .qz-auth-card,
html[data-col-theme="dark"] .qz-question-card,
html[data-col-theme="dark"] .qz-score-card,
html[data-col-theme="dark"] .qz-leaderboard-card,
html[data-col-theme="dark"] .qz-review-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
}
html[data-col-theme="dark"] .qz-stat-val,
html[data-col-theme="dark"] .qz-challenge-month,
html[data-col-theme="dark"] .qz-live-title,
html[data-col-theme="dark"] .qz-auth-card h2,
html[data-col-theme="dark"] .qz-q-badge,
html[data-col-theme="dark"] .qz-q-text,
html[data-col-theme="dark"] .qz-option-label,
html[data-col-theme="dark"] .qz-mini-stat strong,
html[data-col-theme="dark"] .qz-lb-table td {
    color: #f8fafc !important;
}
html[data-col-theme="dark"] .qz-stat-lbl,
html[data-col-theme="dark"] .qz-live-meta,
html[data-col-theme="dark"] .qz-live-sub,
html[data-col-theme="dark"] .qz-section-label,
html[data-col-theme="dark"] .qz-auth-sub,
html[data-col-theme="dark"] .qz-q-counter,
html[data-col-theme="dark"] .qz-field-label,
html[data-col-theme="dark"] .qz-mini-stat span {
    color: #cbd5e1 !important;
}
html[data-col-theme="dark"] .qz-upcoming-list li,
html[data-col-theme="dark"] .qz-mini-stat,
html[data-col-theme="dark"] .qz-option-item,
html[data-col-theme="dark"] .qz-input {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] .qz-option-item.selected {
    background: rgba(185, 28, 28, 0.28) !important;
    border-color: #ef4444 !important;
}
html[data-col-theme="dark"] .qz-score-big {
    color: #fca5a5 !important;
}
html[data-col-theme="dark"] .qz-next-note {
    background: rgba(185, 28, 28, 0.16) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
}
html[data-col-theme="dark"] .qz-next-note strong { color: #f8fafc !important; }
html[data-col-theme="dark"] .qz-next-note span { color: #cbd5e1 !important; }

/* ---- Mobile Responsive ---- */
@media (max-width: 900px) {
    .qz-play-grid,
    .qz-result-grid {
        grid-template-columns: 1fr;
    }
    .qz-play-tagline { text-align: left; }
}
@media (max-width: 600px) {
    .qz-page-wrap { padding: 16px 12px 48px; }
    .qz-hero-card { padding: 20px 16px; }
    .qz-stats-grid { gap: 8px; }
    .qz-stat-card { padding: 12px 6px; }
    .qz-question-card { padding: 16px; }
    .qz-lb-table th, .qz-lb-table td { padding: 8px 10px; font-size: 0.82rem; }
}

/* ---- World-Class Member Auth & Profile UX/UI ---- */
.qz-auth-shell {
    max-width: 1020px;
    margin: 28px auto 64px;
    padding: 0 18px;
}

.qz-auth-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.qz-auth-aside {
    background: radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.28) 0%, transparent 50%),
                linear-gradient(155deg, #0b0202 0%, #450a0a 52%, #991b1b 100%);
    color: #ffffff;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.qz-auth-aside h1 {
    font-family: var(--font-display, 'Merriweather', serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 14px 0 10px;
    line-height: 1.3;
}

.qz-auth-aside p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
    line-height: 1.6;
}

.qz-aside-perks {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.qz-aside-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fef2f2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 14px;
    border-radius: 12px;
}

.qz-aside-perks i {
    color: #fbbf24;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.qz-auth-main {
    padding: 34px 32px;
}

.qz-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 22px;
}

.qz-auth-tab {
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qz-auth-tab.active {
    background: #ffffff;
    color: #991b1b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.qz-pass-wrap {
    position: relative;
}

.qz-pass-toggle {
    position: absolute;
    right: 12px;
    top: 12px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
}

.qz-interest-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 99px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.81rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
    user-select: none;
}

.qz-interest-chip:has(input:checked) {
    background: rgba(185, 28, 28, 0.1);
    border-color: #b91c1c;
    color: #b91c1c;
}

.qz-interest-chip input {
    accent-color: #b91c1c;
}

html[data-col-theme="dark"] .qz-auth-split {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-col-theme="dark"] .qz-auth-main h2 {
    color: #f8fafc !important;
}
html[data-col-theme="dark"] .qz-auth-tabs {
    background: #0f172a !important;
}
html[data-col-theme="dark"] .qz-auth-tab {
    color: #cbd5e1 !important;
}
html[data-col-theme="dark"] .qz-auth-tab.active {
    background: #991b1b !important;
    color: #ffffff !important;
}
html[data-col-theme="dark"] .qz-interest-chip {
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #e2e8f0 !important;
}
html[data-col-theme="dark"] .qz-interest-chip:has(input:checked) {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: #ef4444 !important;
    color: #fecaca !important;
}
.qz-auth-main .alert-danger {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}
.qz-auth-main .alert-success {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}
html[data-col-theme="dark"] .qz-auth-main .alert-danger {
    background: rgba(220, 38, 38, 0.18) !important;
    border-color: rgba(248, 113, 113, 0.45) !important;
    color: #fecaca !important;
}
html[data-col-theme="dark"] .qz-auth-main .alert-success {
    background: rgba(22, 163, 74, 0.18) !important;
    border-color: rgba(74, 222, 128, 0.45) !important;
    color: #bbf7d0 !important;
}

@media (max-width: 860px) {
    .qz-auth-split { grid-template-columns: 1fr; }
    .qz-auth-aside { padding: 26px 22px; }
    .qz-auth-main { padding: 26px 20px; }
}

/* Dark Theme Icon Contrast Fix */
html[data-col-theme="dark"] .qz-live-icon {
    background: rgba(239, 68, 68, 0.2) !important;
    border: 1px solid rgba(248, 113, 113, 0.4) !important;
    color: #fca5a5 !important;
}
html[data-col-theme="dark"] .qz-live-icon i {
    color: #fca5a5 !important;
}
html[data-col-theme="dark"] .qz-stat-icon,
html[data-col-theme="dark"] .qz-stat-icon i {
    color: #f87171 !important;
}
