/* Practice & Tests exam-hall experience */
.ttc-role-student .ttc-exam-hall-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) !important;
    gap: 18px !important;
    margin: 0 0 20px !important;
    padding: 18px !important;
    border-radius: 22px !important;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(49, 46, 129, 0.86)),
        radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.24), transparent 34%) !important;
    border: 1px solid rgba(129, 140, 248, 0.34) !important;
    color: #f8fafc !important;
    overflow: hidden !important;
    position: relative !important;
}

.ttc-role-student .ttc-exam-hall-screen {
    min-height: 230px !important;
    border-radius: 18px !important;
    padding: 22px !important;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.82)),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0 1px, transparent 1px 56px) !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    display: grid !important;
    align-content: space-between !important;
}

.ttc-role-student .ttc-exam-hall-topline,
.ttc-role-student .ttc-exam-hall-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.ttc-role-student .ttc-exam-hall-topline {
    justify-content: space-between !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

.ttc-role-student .ttc-exam-hall-topline strong {
    color: #fde68a !important;
}

.ttc-role-student .ttc-exam-hall-clock {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: clamp(34px, 5vw, 64px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 0 24px rgba(129, 140, 248, 0.45) !important;
}

.ttc-role-student .ttc-exam-hall-title {
    font-size: clamp(20px, 2.3vw, 30px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
}

.ttc-role-student .ttc-exam-hall-meta span {
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #dbeafe !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.ttc-role-student .ttc-exam-hall-actions {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 8px 4px !important;
}

.ttc-role-student .ttc-exam-hall-kicker {
    color: #a5b4fc !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

.ttc-role-student .ttc-exam-hall-actions h4 {
    color: #ffffff !important;
    margin: 8px 0 !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
}

.ttc-role-student .ttc-exam-hall-actions p {
    color: #cbd5e1 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.ttc-role-student .ttc-exam-hall-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

.ttc-role-student .ttc-exam-hall-buttons .ttc-btn-wow,
.ttc-role-student .ttc-exam-hall-buttons .ttc-btn-secondary {
    justify-content: center !important;
    min-height: 48px !important;
    border-radius: 14px !important;
}

.ttc-role-student .ttc-mcq-creator-card {
    max-height: calc(100vh - 40px) !important;
    overflow-y: auto !important;
}

.ttc-role-student .ttc-mcq-modal-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 22px !important;
    padding-right: 30px !important;
}

.ttc-role-student .ttc-mcq-review-badge {
    flex: 0 0 auto !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    color: #0369a1 !important;
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.ttc-role-student .ttc-mcq-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.ttc-role-student .ttc-mcq-field,
.ttc-role-student .ttc-mcq-option {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.ttc-role-student .ttc-mcq-field-wide {
    grid-column: 1 / -1 !important;
}

.ttc-role-student .ttc-mcq-field label {
    font-size: 12px !important;
    font-weight: 900 !important;
    color: var(--ttc-text-main) !important;
}

.ttc-role-student .ttc-mcq-field input,
.ttc-role-student .ttc-mcq-field textarea,
.ttc-role-student .ttc-mcq-field select,
.ttc-role-student .ttc-mcq-option input {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid var(--ttc-glass-border) !important;
    background: var(--ttc-bg-page, #ffffff) !important;
    color: var(--ttc-text-main, #0f172a) !important;
    padding: 11px 13px !important;
    font-size: 14px !important;
}

.ttc-role-student .ttc-mcq-field textarea {
    min-height: 96px !important;
    resize: vertical !important;
}

.ttc-role-student .ttc-mcq-option {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
}

.ttc-role-student .ttc-mcq-option span {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    font-weight: 900 !important;
}

.ttc-role-student .ttc-mcq-feedback {
    margin-top: 16px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.ttc-role-student .ttc-mcq-feedback.is-success {
    color: #047857 !important;
    background: #d1fae5 !important;
    border: 1px solid #a7f3d0 !important;
}

.ttc-role-student .ttc-mcq-feedback.is-error {
    color: #b91c1c !important;
    background: #fee2e2 !important;
    border: 1px solid #fecaca !important;
}

.ttc-role-student .ttc-mcq-actions {
    margin-top: 18px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

.ttc-dashboard-v3.ttc-mode-dark .ttc-mcq-review-badge,
html:not(.ttc-theme-light-init) .ttc-dashboard-v3.ttc-premium-dashboard:not(.ttc-mode-light) .ttc-mcq-review-badge {
    color: #bfdbfe !important;
    background: rgba(59, 130, 246, 0.16) !important;
    border-color: rgba(147, 197, 253, 0.26) !important;
}

@media (max-width: 860px) {
    .ttc-role-student .ttc-exam-hall-panel,
    .ttc-role-student .ttc-mcq-form-grid {
        grid-template-columns: 1fr !important;
    }

    .ttc-role-student .ttc-mcq-modal-header,
    .ttc-role-student .ttc-mcq-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
}
