/* TestForge Pro - Custom Styles */

* { box-sizing: border-box; }

.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Proctoring */
.proctoring-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: #111827;
    color: white;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}
.fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.webcam-preview {
    position: fixed;
    bottom: 16px; right: 16px;
    width: 128px; height: 96px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    z-index: 50;
    overflow: hidden;
}

/* Question navigation grid */
.qnav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.qnav-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.qnav-btn.active {
    background: #2563eb;
    color: white;
}
.qnav-btn.answered {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.qnav-btn.unanswered {
    background: white;
    color: #4b5563;
    border: 1px solid #d1d5db;
}
.qnav-btn:hover { opacity: 0.8; }