/* ==========================================================================
   Sunrise Quiz Portal — Class 10 Universal Quiz Engine Styles
   Sound Toggle Pill, Answer Protection Toasts, Card Shake Effects
   ========================================================================== */

/* Sound Toggle Pill removed from UI */
.sound-pill,
#sqSoundToggle {
    display: none !important;
}

/* Floating Toast Notification */
.quiz-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 99999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #38bdf8;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.quiz-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Gentle Card Shake when Unauthorized Peeking is Attempted */
@keyframes quizCardShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-7px); }
    40%, 80% { transform: translateX(7px); }
}

.shake-card {
    animation: quizCardShake 0.42s ease-in-out !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28) !important;
}

/* Subtle Answer Button Hover Feedback */
.btn-answer-toggle {
    user-select: none;
    -webkit-user-select: none;
}
