/* MCQ Single Page Styles */
.mcq-single-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.mcq-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.mcq-question {
    font-size: 24px;
    line-height: 1.4;
    color: #2c3e50;
    margin-bottom: 15px;
}

.mcq-difficulty {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.mcq-difficulty-easy { background: #d4edda; color: #155724; }
.mcq-difficulty-medium { background: #fff3cd; color: #856404; }
.mcq-difficulty-hard { background: #f8d7da; color: #721c24; }

.mcq-options-container {
    margin: 30px 0;
}

.mcq-option {
    margin-bottom: 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.mcq-option:hover {
    border-color: #2271b1;
    background: #f0f5ff;
    transform: translateX(5px);
}

.mcq-option input[type="radio"] {
    display: none;
}

.mcq-option label {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
}

.option-letter {
    font-weight: bold;
    min-width: 30px;
    color: #2271b1;
    font-size: 18px;
}

.mcq-option input:checked + label {
    background: #e8f4fd;
}

.mcq-option.correct {
    border-color: #28a745;
    background: #d4edda;
}

.mcq-option.incorrect {
    border-color: #dc3545;
    background: #f8d7da;
}

.mcq-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mcq-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mcq-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mcq-result {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mcq-result.correct {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.mcq-result.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.mcq-explanation {
    margin-top: 20px;
    padding: 20px;
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    animation: slideIn 0.3s ease;
}

.mcq-explanation h3 {
    margin-top: 0;
    color: #856404;
}

.mcq-topics {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.topics-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
}

.topic-tag {
    display: inline-block;
    margin: 5px;
    padding: 5px 12px;
    background: #e8f4fd;
    color: #2271b1;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.topic-tag:hover {
    background: #2271b1;
    color: white;
    transform: scale(1.05);
}

/* Custom Breadcrumb Styling */
.nm-custom-breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.nm-custom-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nm-custom-breadcrumb a:hover {
    color: #764ba2;
}

.nm-custom-breadcrumb .separator {
    color: #999;
    font-weight: 300;
    margin: 0 5px;
}

.nm-custom-breadcrumb .current {
    color: #2c3e50;
    font-weight: 600;
}

@media (max-width: 767px) {
    .nm-custom-breadcrumb {
        padding: 10px 15px;
        font-size: 0.85em;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mcq-question {
        font-size: 20px;
    }
    
    .mcq-option label {
        padding: 12px;
    }
    
    .mcq-submit-btn {
        width: 100%;
        padding: 15px;
    }
}
/* Ensure proper two-column layout with sidebar */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding: 3em 4em;
}

.mcq-single-container {
    max-width: 100%;
}

/* Make breadcrumb fit within layout */
.nm-custom-breadcrumb {
    max-width: 100%;
    margin: 0 0 20px 0;
}

/* Responsive */
@media (max-width: 921px) {
    .ast-separate-container .ast-article-single,
    .ast-separate-container .ast-article-post {
        padding: 1.5em;
    }
}
/* Improved Contrast for Accessibility */
.nm-custom-breadcrumb a {
    color: #5056d6; /* Darker blue for better contrast */
}

.nm-custom-breadcrumb a:hover {
    color: #3d42a8; /* Even darker on hover */
}

.nm-topic-tab {
    color: #2c3e50; /* Dark text */
}

.nm-answer-btn,
.nm-load-more-btn {
    background: #5056d6; /* WCAG AAA compliant */
}

.nm-answer-btn:hover,
.nm-load-more-btn:hover {
    background: #3d42a8;
}

/* Ensure links are visually distinct */
a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration-thickness: 2px;
}
