/* ============================================
   BulletproofAI.org - Interview Practice Styles
   ============================================ */

/* Hero */
.practice-hero {
    padding: 140px 24px 20px;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(26, 58, 143, 0.12), transparent);
}

.practice-hero h1 {
    font-family: 'Space Grotesk', var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

/* Browser Warning */
.browser-warning {
    padding: 0 24px 24px;
}

.browser-warning-card {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 169, 77, 0.08);
    border: 1px solid rgba(255, 169, 77, 0.3);
    border-radius: var(--radius);
    color: var(--orange);
    font-size: 14px;
    line-height: 1.5;
}

.browser-warning-card strong {
    display: block;
    margin-bottom: 2px;
}

/* Practice Section */
.practice-section {
    padding: 16px 0 100px;
}

/* Widen the practice section container so result cards have more room */
.practice-section > .container {
    max-width: 1800px;
}

/* Align all major sections to the same width */
.practice-section .free-ai-badge,
.practice-section .analyze-btn-wrapper,
.practice-section .progress-section,
.practice-section .error-display,
.practice-section .practice-results {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Recording Layout — Difficulty Sidebar + Zoom Frame side by side */
.practice-recording-layout {
    display: flex;
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto 32px;
    align-items: stretch;
}

.practice-recording-layout > .practice-recording-area {
    flex: 1;
    min-width: 0;
    margin: 0;
    max-width: none;
}

/* Vertical Difficulty Sidebar */
.practice-difficulty-sidebar {
    flex-shrink: 0;
    width: 80px;
}

.difficulty-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
}

.difficulty-sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--accent-light);
    text-align: center;
}

.difficulty-sidebar-header span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.difficulty-sidebar-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.difficulty-sidebar-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.difficulty-label-hard { color: #1a3a8f; }
.difficulty-label-easy { color: #2450b8; }

/* Vertical slider wrapper — fixed height matching the rotated slider */
.difficulty-slider-vertical-wrap {
    width: 36px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

/* Vertical range slider — fills the sidebar proportionally */
.difficulty-vertical {
    width: 260px !important;
    height: 6px;
    transform: rotate(-90deg);
    transform-origin: center center;
    position: absolute;
}

/* Difficulty Slider */
.practice-styled-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.practice-styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.practice-styled-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.practice-styled-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.practice-difficulty-gradient {
    background: linear-gradient(to right, #2450b8, #2450b8, #1a3a8f);
}

/* Practice page input cards — shorter textareas than analyzer */
.practice-input-grid {
    max-width: 1600px;
    margin: 0 auto 24px;
}

.practice-input-grid .input-card {
    display: flex;
    flex-direction: column;
}

.practice-input-grid .input-card textarea {
    height: 200px;
    min-height: 140px;
    flex: 1;
}

/* ============================================
   Category Filter Tabs
   ============================================ */
.practice-q-filter {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.practice-q-tab {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}

.practice-q-tab:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.practice-q-tab.active {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent-light);
}

/* Question Count Badge */
.practice-q-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    background: rgba(26, 58, 143, 0.2);
    color: var(--accent-light);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
}

.practice-randomize-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: linear-gradient(135deg, var(--accent), #7c6cf0);
    border: none;
    border-radius: 100px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(26, 58, 143, 0.3);
}

.practice-randomize-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 58, 143, 0.45);
}

.practice-randomize-btn.spinning svg {
    animation: spin-dice 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spin-dice {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ============================================
   STAR Method Preview Card
   ============================================ */
.practice-star-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(26, 58, 143, 0.06);
    border-bottom: 1px solid var(--border);
    color: var(--accent-light);
}

.practice-star-header h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: var(--text-primary);
}

.practice-star-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: all var(--transition);
}

.practice-star-toggle:hover {
    color: var(--text-primary);
}

.practice-star-toggle svg {
    transition: transform 0.3s ease;
}

.practice-star-toggle.collapsed svg {
    transform: rotate(-90deg);
}

.practice-star-tip {
    font-size: 12px;
    color: var(--text-muted);
    padding: 10px 18px 0;
    margin: 0;
    line-height: 1.5;
}

.practice-star-body {
    padding: 12px 18px 18px;
}

.practice-star-section {
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid;
}

.practice-star-section:last-of-type {
    margin-bottom: 0;
}

.practice-star-s {
    background: var(--accent-glow);
    border-color: var(--accent-light);
}

.practice-star-t {
    background: var(--blue-bg, rgba(77, 171, 247, 0.1));
    border-color: var(--blue);
}

.practice-star-a {
    background: var(--green-bg, rgba(0, 210, 160, 0.1));
    border-color: var(--green);
}

.practice-star-r {
    background: var(--orange-bg, rgba(255, 169, 77, 0.1));
    border-color: var(--orange);
}

.practice-star-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.practice-star-s .practice-star-label { color: var(--accent-light); }
.practice-star-t .practice-star-label { color: var(--blue); }
.practice-star-a .practice-star-label { color: var(--green); }
.practice-star-r .practice-star-label { color: var(--orange); }

.practice-star-section p {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}

.practice-star-protip {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(249, 202, 36, 0.06);
    border: 1px solid rgba(249, 202, 36, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.practice-star-protip svg {
    flex-shrink: 0;
    color: var(--yellow, #f9ca24);
    margin-top: 1px;
}

.practice-star-protip p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.practice-star-protip strong {
    color: var(--yellow, #f9ca24);
}

/* ============================================
   Question Browser - Two Column Layout
   ============================================ */
.practice-question-browser {
    max-width: 1600px;
    margin: 0 auto 32px;
}

/* Top Bar */
.pqb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Two Column Grid */
.pqb-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* LEFT: Question Card */
.pqb-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pqb-question-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    flex: 1;
    transition: border-color var(--transition);
}

.pqb-question-card:hover {
    border-color: var(--border-light, #3a3a4a);
}

.pqb-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.pqb-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    margin: 0;
}

.pqb-counter {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.pqb-cat-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    background: var(--accent-glow);
    color: var(--accent-light);
    width: fit-content;
}

.pqb-cat-badge[data-cat="behavioral"] { background: var(--accent-glow); color: var(--accent-light); }
.pqb-cat-badge[data-cat="technical"] { background: rgba(77, 171, 247, 0.15); color: var(--blue); }
.pqb-cat-badge[data-cat="situational"] { background: rgba(0, 210, 160, 0.15); color: var(--green); }
.pqb-cat-badge[data-cat="leadership"] { background: rgba(249, 202, 36, 0.12); color: var(--yellow, #f9ca24); }
.pqb-cat-badge[data-cat="problem-solving"] { background: rgba(255, 169, 77, 0.12); color: var(--orange); }

.pqb-question-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0 0 auto 0;
    padding-bottom: 20px;
}

/* Navigation Buttons */
.pqb-nav {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.pqb-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
    flex: 1;
    justify-content: center;
}

.pqb-nav-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: var(--accent-glow);
}

.pqb-nav-primary {
    background: linear-gradient(135deg, var(--accent), #7c6cf0);
    border-color: transparent;
    color: white;
    box-shadow: 0 2px 10px rgba(26, 58, 143, 0.25);
}

.pqb-nav-primary:hover {
    background: linear-gradient(135deg, #7c6cf0, var(--accent));
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 58, 143, 0.4);
}

/* RIGHT: STAR Card */
.pqb-right {
    position: sticky;
    top: 100px;
}

.pqb-star-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

.pqb-star-card .practice-star-header {
    border-radius: 0;
}

/* STAR Source Badge */
.star-source-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 210, 160, 0.12);
    color: var(--green);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Loading state */
.pqb-star-loading {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 280px;
    justify-content: center;
}

.star-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: star-spin 0.8s linear infinite;
}

@keyframes star-spin {
    to { transform: rotate(360deg); }
}

.pqb-star-loading p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 260px;
    line-height: 1.6;
}

/* Empty state */
.pqb-star-empty {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 280px;
    justify-content: center;
}

.pqb-star-empty svg {
    color: var(--accent-light);
    opacity: 0.4;
}

.pqb-star-empty p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 260px;
    line-height: 1.6;
}

.pqb-star-empty p strong {
    color: var(--accent-light);
}

.pqb-star-empty-hint {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 240px;
    line-height: 1.5;
}

/* Responsive for question browser */
@media (max-width: 900px) {
    .pqb-columns {
        grid-template-columns: 1fr;
    }
    .pqb-right {
        position: static;
    }
    .pqb-topbar {
        flex-direction: column;
        align-items: stretch;
    }
    .practice-randomize-btn {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .pqb-question-card {
        padding: 20px;
        min-height: 220px;
    }
    .pqb-question-text {
        font-size: 17px;
    }
    .pqb-nav-btn {
        padding: 12px 20px;
        min-height: 44px;
        font-size: 12px;
    }
    .practice-q-tab {
        padding: 10px 16px;
        min-height: 44px;
    }
    .pqb-star-empty {
        padding: 40px 20px;
        min-height: 200px;
    }
    .pqb-star-loading {
        padding: 40px 20px;
        min-height: 200px;
    }
}

/* ============================================
   Recording Area — Zoom-like Meeting Layout
   ============================================ */
.practice-recording-area {
    max-width: 1600px;
    margin: 0 auto 32px;
    text-align: center;
}

/* Zoom Meeting Frame */
.zoom-meeting-frame {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
    margin-bottom: 20px;
}

/* Zoom Top Bar */
.zoom-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.zoom-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zoom-meeting-icon {
    display: flex;
    align-items: center;
    color: var(--green);
}

.zoom-meeting-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
}

.zoom-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zoom-timer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.zoom-timer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.zoom-meeting-frame.is-recording .zoom-timer-dot {
    background: var(--red);
    animation: rec-blink 1.2s ease-in-out infinite;
}

.zoom-meeting-frame.is-recording .zoom-timer-badge {
    color: rgba(255, 255, 255, 0.9);
}

/* Zoom Meeting Content — Two Tile Grid */
.zoom-meeting-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3px;
    padding: 3px;
    background: #0f0f1a;
    min-height: 380px;
}

/* Interviewer Tile (Question Panel) */
.zoom-interviewer-tile {
    background: #16213e;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* Speaking animation — interviewer is reading the question aloud */
.zoom-interviewer-tile.speaking {
    box-shadow: 0 0 0 2px rgba(26, 58, 143, 0.6), 0 0 20px rgba(26, 58, 143, 0.2);
    animation: interviewer-speaking 1.5s ease-in-out infinite;
}

@keyframes interviewer-speaking {
    0%, 100% { box-shadow: 0 0 0 2px rgba(26, 58, 143, 0.6), 0 0 20px rgba(26, 58, 143, 0.2); }
    50% { box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.8), 0 0 30px rgba(26, 58, 143, 0.35); }
}

.zoom-interviewer-tile.speaking .zoom-muted-icon {
    color: var(--accent-light);
    animation: mic-pulse 1s ease-in-out infinite;
}

@keyframes mic-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.zoom-tile-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.zoom-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 58, 143, 0.25);
    border-radius: 50%;
    color: var(--accent-light);
    flex-shrink: 0;
}

.zoom-avatar-you {
    width: 24px;
    height: 24px;
    background: rgba(0, 210, 160, 0.25);
    color: var(--green);
}

.zoom-participant-name {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.zoom-muted-icon {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    margin-left: auto;
}

.zoom-question-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
    text-align: center;
}

.zoom-question-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(26, 58, 143, 0.2);
    border: 1px solid rgba(26, 58, 143, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.zoom-question-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    max-width: 380px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.zoom-interviewer-footer {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.zoom-footer-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

/* Candidate Video Tile */
.zoom-candidate-tile {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #0d0d14;
    position: relative;
}

.zoom-tile-label-you {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 8px 14px;
    z-index: 4;
}

/* Video Container — inside Zoom tile */
.video-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    background: #0d0d14;
    overflow: hidden;
}

.webcam-preview,
.video-playback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.webcam-preview {
    transform: scaleX(-1);
}

.camera-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.camera-placeholder svg {
    opacity: 0.4;
}

.camera-placeholder p {
    font-size: 14px;
    margin: 0;
    opacity: 0.6;
}

/* REC Indicator Overlay */
.video-rec-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
    z-index: 5;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: rec-blink 1.2s ease-in-out infinite;
}

@keyframes rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Timer Overlay on Video */
.video-timer-overlay {
    position: absolute;
    bottom: 40px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    z-index: 5;
}

.video-timer-overlay span {
    color: var(--text-primary);
}

/* Zoom Bottom Toolbar */
.zoom-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.zoom-toolbar-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zoom-control-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    border: none;
}

.zoom-record-btn {
    background: linear-gradient(135deg, #00d2a0, #00b894);
    color: white;
    box-shadow: 0 2px 12px rgba(0, 210, 160, 0.3);
}

.zoom-record-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 210, 160, 0.45);
}

.zoom-record-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.zoom-record-btn.recording {
    background: linear-gradient(135deg, var(--red), #e74c3c);
    box-shadow: 0 2px 12px rgba(255, 107, 107, 0.3);
    animation: pulse-recording 2s ease-in-out infinite;
}

@keyframes pulse-recording {
    0%, 100% { box-shadow: 0 2px 12px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(255, 107, 107, 0.5); }
}

.recording-pulse {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.record-btn-idle,
.record-btn-active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zoom-stop-btn {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: var(--red);
    padding: 10px 24px;
}

.zoom-stop-btn:hover {
    background: rgba(255, 107, 107, 0.25);
}

/* Live Transcript */
.transcript-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
    margin-bottom: 24px;
}

.transcript-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.transcript-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.transcript-tips {
    font-size: 12px;
    color: var(--text-muted);
    margin: -8px 0 12px 0;
    padding: 8px 12px;
    background: rgba(26, 58, 143, 0.06);
    border-radius: 6px;
    line-height: 1.5;
}

.transcript-content {
    min-height: 80px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.8;
}

.transcript-placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.transcript-interim {
    color: var(--text-muted);
}

.low-confidence {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--text-muted);
    text-underline-offset: 3px;
}

.filler-word {
    background: rgba(255, 169, 77, 0.15);
    color: var(--orange);
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 600;
}

/* Post-Recording Summary Stats */
.recording-summary {
    margin-bottom: 24px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
}

.summary-stat {
    padding: 20px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.summary-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.summary-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ============================================
   Verdict Banner
   ============================================ */
.verdict-banner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.verdict-banner-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 40px;
}

.verdict-score-ring {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.verdict-score-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.verdict-score-max {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.verdict-text-area {
    flex: 1;
}

.verdict-label {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.verdict-line {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Question Mode Badge
   ============================================ */
.question-mode-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(26, 58, 143, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Top 3 Fixes
   ============================================ */
.fix-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all var(--transition);
}

.fix-card:hover {
    border-color: var(--orange);
}

.fix-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 169, 77, 0.15);
    color: var(--orange);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace;
}

.fix-body {
    flex: 1;
}

.fix-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.fix-why {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.fix-try {
    font-size: 13px;
    color: var(--green);
    line-height: 1.6;
}

.fix-why strong,
.fix-try strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ============================================
   Quoted Issues (Evidence-Based)
   ============================================ */
.quoted-issue {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 169, 77, 0.04);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quote-icon {
    font-size: 24px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
}

.delivery-verdict-line {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(26, 58, 143, 0.06);
    border: 1px solid rgba(26, 58, 143, 0.2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    line-height: 1.5;
}

/* ============================================
   Missing Evidence Checklist
   ============================================ */
.checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all var(--transition);
}

.checklist-item:hover {
    border-color: var(--border-light, #3a3a4a);
}

.checklist-item.missing {
    border-left: 3px solid var(--red);
}

.checklist-icon {
    color: var(--red);
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.checklist-box {
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    line-height: 1;
}

/* ============================================
   Micro-Rewrites
   ============================================ */
.micro-rewrite-card {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 10px;
    transition: all var(--transition);
}

.micro-rewrite-card:hover {
    border-color: var(--green);
    background: rgba(0, 210, 160, 0.04);
}

.micro-rewrite-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green);
    margin-bottom: 6px;
}

.micro-rewrite-card p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   Follow-Up Questions
   ============================================ */
.followup-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    transition: all var(--transition);
}

.followup-card:hover {
    border-color: #4dabf7;
}

.followup-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 171, 247, 0.15);
    color: #4dabf7;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   Next-Take Outline
   ============================================ */
.next-take-list {
    list-style: none;
    counter-reset: take-step;
    padding: 0;
    margin: 0;
}

.next-take-list li {
    counter-increment: take-step;
    position: relative;
    padding: 14px 16px 14px 52px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    transition: all var(--transition);
}

.next-take-list li:hover {
    border-color: var(--accent);
}

.next-take-list li::before {
    content: counter(take-step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    color: var(--accent-light);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   Drills
   ============================================ */
.drill-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: all var(--transition);
}

.drill-card:hover {
    border-color: var(--yellow, #f9ca24);
    background: rgba(249, 202, 36, 0.03);
}

.drill-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.drill-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
}

/* ============================================
   Interview Feedback Dashboard
   ============================================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.dashboard-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.dashboard-gauge:hover {
    border-color: var(--border-light, #3a3a4a);
    transform: translateY(-2px);
}

.gauge-ring-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.gauge-ring {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.gauge-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 6;
}

.gauge-ring-fill {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease, stroke 0.3s ease;
}

.gauge-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.gauge-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Radar Chart */
.dashboard-radar-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.radar-chart {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.radar-grid-line {
    fill: none;
    stroke: var(--border);
    stroke-width: 0.5;
}

.radar-axis {
    stroke: var(--border);
    stroke-width: 0.5;
}

.radar-shape {
    fill: rgba(26, 58, 143, 0.15);
    stroke: var(--accent);
    stroke-width: 2;
    transition: d 1s ease;
}

.radar-dot {
    fill: var(--accent);
    transition: cx 1s ease, cy 1s ease;
}

.radar-label {
    font-size: 11px;
    font-weight: 700;
    fill: var(--text-secondary);
    text-anchor: middle;
    dominant-baseline: middle;
}

.radar-score-label {
    font-size: 10px;
    font-weight: 600;
    fill: var(--accent-light);
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: 'JetBrains Mono', monospace;
}

/* Results */
.practice-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeInUp 0.5s ease;
}

/* Delivery Metrics Grid */
.delivery-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.delivery-metric-card {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.delivery-metric-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.delivery-metric-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.delivery-metric-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quality Bars */
.quality-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quality-bar-container {
    /* Container for each bar */
}

.quality-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.quality-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.quality-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Feedback Lists */
.feedback-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feedback-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feedback-item.strength {
    background: rgba(0, 210, 160, 0.06);
    border-left: 3px solid var(--green);
}

.feedback-item.improvement {
    background: rgba(255, 169, 77, 0.06);
    border-left: 3px solid var(--orange);
}

/* Overall Score Display (scoped to practice page to avoid conflict with styles.css analyzer definitions) */
.practice-results .score-display {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.practice-results .score-ring-container {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.practice-results .score-ring {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.practice-results .score-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.practice-results .score-ring-fill {
    fill: none;
    stroke: var(--green);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 1.5s ease, stroke 0.3s ease;
}

.practice-results .score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.practice-results .score-details {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.practice-results .score-details ul {
    padding: 0;
    list-style: none;
}

.practice-results .score-details li {
    margin-bottom: 4px;
}

/* Improved Answer */
.improved-answer {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 20px;
}

.improved-answer-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.improved-answer p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-results .score-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .verdict-banner-inner {
        padding: 24px;
        gap: 24px;
    }

    .verdict-label {
        font-size: 20px;
    }

    .verdict-line {
        font-size: 14px;
    }

    /* Zoom layout: stack tiles vertically on tablets */
    .zoom-meeting-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .zoom-interviewer-tile {
        min-height: 180px;
    }

    .zoom-candidate-tile {
        min-height: 300px;
    }

    .zoom-question-text {
        font-size: 18px;
    }

    .zoom-question-content {
        padding: 24px 20px;
    }

    /* Difficulty sidebar: switch to horizontal bar on tablet */
    .practice-recording-layout {
        flex-direction: column;
    }

    .practice-difficulty-sidebar {
        width: 100%;
    }

    .difficulty-sidebar-card {
        flex-direction: row;
        height: auto;
        padding: 12px 20px;
        gap: 16px;
    }

    .difficulty-sidebar-header {
        flex-direction: row;
        gap: 8px;
    }

    .difficulty-sidebar-slider {
        flex-direction: row;
        flex: 1;
        gap: 12px;
    }

    .difficulty-slider-vertical-wrap {
        width: auto;
        height: auto;
        flex: 1;
        min-height: auto;
    }

    .difficulty-vertical {
        width: 100% !important;
        transform: none;
        position: static;
    }
}

@media (max-width: 768px) {
    .practice-hero {
        padding: 120px 24px 40px;
    }

    .practice-hero h1 {
        font-size: 28px;
    }

    .practice-hero-subtitle {
        font-size: 15px;
    }

    .summary-stats {
        grid-template-columns: 1fr 1fr;
    }

    .practice-samples-card {
        padding: 20px;
    }

    .practice-q-filter {
        gap: 4px;
    }

    .practice-q-tab {
        padding: 10px 16px;
        min-height: 44px;
        font-size: 11px;
    }

    .practice-randomize-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .practice-star-body {
        padding: 10px 14px 14px;
    }

    .practice-star-section {
        padding: 10px 12px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dashboard-gauge {
        padding: 16px 8px 12px;
    }

    .verdict-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .verdict-score-ring {
        width: 100px;
        height: 100px;
    }

    .verdict-score-num {
        font-size: 28px;
    }

    .verdict-label {
        font-size: 18px;
    }

    .fix-card {
        flex-direction: column;
        gap: 10px;
    }

    .fix-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .gauge-ring-container {
        width: 64px;
        height: 64px;
    }

    .gauge-ring {
        width: 64px;
        height: 64px;
    }

    .gauge-score {
        font-size: 18px;
    }

    .gauge-label {
        font-size: 10px;
    }

    .radar-chart {
        max-width: 260px;
    }

    .video-rec-indicator {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }

    .rec-dot {
        width: 6px;
        height: 6px;
    }

    .video-timer-overlay {
        bottom: 36px;
        right: 8px;
        padding: 3px 10px;
        font-size: 11px;
    }

    /* Zoom mobile refinements */
    .zoom-meeting-frame {
        border-radius: 8px;
    }

    .zoom-topbar {
        padding: 8px 14px;
    }

    .zoom-topbar .zoom-control-btn {
        min-height: 44px;
    }

    .zoom-meeting-title {
        font-size: 12px;
    }

    .zoom-timer-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .zoom-meeting-content {
        grid-template-columns: 1fr;
    }

    .zoom-interviewer-tile {
        min-height: 150px;
    }

    .zoom-candidate-tile {
        min-height: 250px;
    }

    .zoom-question-text {
        font-size: 16px;
    }

    .zoom-question-content {
        padding: 20px 16px;
    }

    .zoom-question-badge {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 14px;
    }

    .zoom-control-btn {
        padding: 8px 20px;
        font-size: 13px;
        min-height: 44px;
    }

    .zoom-toolbar {
        padding: 10px 14px;
    }

    .zoom-record-btn {
        min-height: 44px;
    }

    .zoom-stop-btn {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .summary-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-stat {
        padding: 16px 12px;
    }

    .dashboard-gauge {
        padding: 12px 6px 10px;
    }

    .practice-samples-card {
        padding: 16px;
    }

    .fix-card {
        padding: 16px;
    }

    .verdict-banner-inner {
        padding: 20px 16px;
    }

    .pqb-question-card {
        padding: 16px;
    }

    .practice-star-body {
        padding: 8px 10px 10px;
    }

    .transcript-area {
        padding: 16px;
    }
}

/* ============================================
   Light Mode Overrides
   ============================================ */
/* Hero gradient — invisible in light mode */
[data-theme="light"] .practice-hero {
    background: none;
}

/* Zoom Meeting Frame — the biggest issue: dark backgrounds look ugly in light mode */
[data-theme="light"] .zoom-meeting-frame {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .zoom-topbar {
    background: rgba(0, 0, 0, 0.03);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .zoom-meeting-title {
    color: var(--text-secondary);
}
[data-theme="light"] .zoom-timer-badge {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
}
[data-theme="light"] .zoom-timer-dot {
    background: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .zoom-meeting-content {
    background: #e5e7eb;
}
[data-theme="light"] .zoom-interviewer-tile {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .zoom-interviewer-tile.speaking {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4), 0 0 12px rgba(37, 99, 235, 0.1);
}
[data-theme="light"] .zoom-tile-label {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}
[data-theme="light"] .zoom-participant-name {
    color: var(--text-primary);
}
[data-theme="light"] .zoom-muted-icon {
    color: var(--text-muted);
}
[data-theme="light"] .zoom-question-badge {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}
[data-theme="light"] .zoom-question-text {
    color: var(--text-primary);
    text-shadow: none;
}
[data-theme="light"] .zoom-interviewer-footer {
    background: rgba(0, 0, 0, 0.02);
    border-top-color: rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .zoom-footer-hint {
    color: var(--text-muted);
}
[data-theme="light"] .zoom-candidate-tile {
    background: #f3f4f6;
}
[data-theme="light"] .zoom-tile-label-you {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}
[data-theme="light"] .video-container {
    background: #e5e7eb;
}
[data-theme="light"] .camera-placeholder {
    color: var(--text-muted);
}
[data-theme="light"] .camera-placeholder p {
    opacity: 0.8;
}
[data-theme="light"] .webcam-preview,
[data-theme="light"] .video-playback {
    background: #e5e7eb;
}
/* Zoom toolbar */
[data-theme="light"] .zoom-toolbar {
    background: rgba(0, 0, 0, 0.03);
    border-top-color: rgba(0, 0, 0, 0.06);
}
/* Zoom meeting frame recording state */
[data-theme="light"] .zoom-meeting-frame.is-recording .zoom-timer-badge {
    color: var(--text-primary);
}

/* Recording indicator */
[data-theme="light"] .video-rec-indicator {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}
[data-theme="light"] .video-timer-overlay {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
}

/* Transcript area */
[data-theme="light"] .transcript-tips {
    background: rgba(37, 99, 235, 0.04);
}

/* Dashboard gauges */
[data-theme="light"] .dashboard-gauge:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Verdict banner */
[data-theme="light"] .verdict-banner-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Star sections */
[data-theme="light"] .practice-star-header {
    background: rgba(37, 99, 235, 0.03);
}

/* Fix number backgrounds */
[data-theme="light"] .followup-card:hover {
    border-color: var(--blue);
}

/* Delivery verdict */
[data-theme="light"] .delivery-verdict-line {
    background: rgba(37, 99, 235, 0.04);
}

/* Randomize button */
[data-theme="light"] .practice-randomize-btn {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.20);
}
[data-theme="light"] .practice-randomize-btn:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.30);
}

/* Nav primary button */
[data-theme="light"] .pqb-nav-primary {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.20);
}
[data-theme="light"] .pqb-nav-primary:hover {
    background: linear-gradient(135deg, #3b82f6, var(--accent));
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.30);
}

/* Difficulty labels - ensure readable in light */
[data-theme="light"] .difficulty-label-hard { color: #1e40af; }
[data-theme="light"] .difficulty-label-easy { color: #2563eb; }
[data-theme="light"] .practice-difficulty-badge[data-level="1"] .practice-difficulty-level { color: #2563eb; }
[data-theme="light"] .practice-difficulty-badge[data-level="2"] .practice-difficulty-level { color: #2563eb; }
[data-theme="light"] .practice-difficulty-badge[data-level="3"] .practice-difficulty-level { color: #1e40af; }
