/* =====================
   OVERLAY (Teacher Panel)
   ===================== */

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    pointer-events: auto;
}

#overlay:not(.hidden) {
    display: flex !important;
}

#overlay.hidden {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden;
}

.guru-panel {
    width: 100%;
    max-width: 700px;
    background: white;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 8px solid var(--bg-anim-3);
}

.timer-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ff7675;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: -60px auto 20px auto;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timer-circle.paused {
    background: #636e72;
    animation: pulsePaused 1.5s infinite;
}

.q-text {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #2d3436;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Answer Reveal Styles for All Mode */
.answer-reveal {
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.answer-label {
    font-size: 0.85rem;
    color: #636e72;
    margin-bottom: 5px;
    font-weight: 600;
}

.answer-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3436;
}
