/* HMTHUNT AI Mock Test Theme Stylesheet */

.mock-test-container {
    max-width: 1000px;
    margin: 40px auto;
}

.premium-card {
    background: #ffffff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 30px;
}

.premium-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.gradient-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.15);
}

.gradient-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Form Styles */
.form-label-bold {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.custom-input {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 12px;
    transition: border-color 0.2s ease;
}

.custom-input:focus {
    border-color: #3182ce;
    box-shadow: none;
}

/* Question Navigator Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.nav-item-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    background: #f7fafc;
    color: #4a5568;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-item-btn:hover {
    border-color: #4a5568;
}

.nav-item-btn.active {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

.nav-item-btn.answered {
    background-color: #48bb78;
    color: #ffffff;
    border-color: #48bb78;
}

.nav-item-btn.review {
    background-color: #ecc94b;
    color: #ffffff;
    border-color: #ecc94b;
}

.nav-item-btn.current {
    background-color: #3182ce;
    color: #ffffff;
    border-color: #3182ce;
}

/* Attempting Layout */
.test-layout {
    display: flex;
    gap: 30px;
}

.test-questions-panel {
    flex: 3;
}

.test-sidebar-panel {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 768px) {
    .test-layout {
        flex-direction: column;
    }
    .test-sidebar-panel {
        order: -1;
    }
}

/* Question box style */
.question-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    border-left: 5px solid #3182ce;
    margin-bottom: 20px;
}

.option-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    color: #4a5568;
    background: #f8fafc;
    padding: 12px 12px 12px 45px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.option-container:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.option-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-checkmark {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
}

.option-container input:checked ~ .option-checkmark {
    background-color: #3182ce;
    border-color: #3182ce;
}

.option-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.option-container input:checked ~ .option-checkmark:after {
    display: block;
}

.option-container .option-checkmark:after {
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.option-container.selected-option {
    background: #ebf8ff;
    border-color: #bee3f8;
    color: #2b6cb0;
}

/* Results design */
.score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #ebf8ff;
    border: 8px solid #3182ce;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.score-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2b6cb0;
    line-height: 1;
}

.score-label {
    font-size: 0.8rem;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grade-badge {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
}

/* Review Mode */
.review-question-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.review-question-card.correct {
    border-left: 5px solid #48bb78;
}

.review-question-card.wrong {
    border-left: 5px solid #f56565;
}

.review-question-card.unanswered {
    border-left: 5px solid #a0aec0;
}

.ai-feedback-box {
    background: #f7fafc;
    border-left: 4px solid #805ad5;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
}

.correct-indicator {
    color: #38a169;
    font-weight: 600;
}

.wrong-indicator {
    color: #e53e3e;
    font-weight: 600;
}

/* History items */
.history-row {
    transition: background-color 0.2s;
}
.history-row:hover {
    background-color: #f7fafc;
}
