/* Custom CSS for Exam Prep Plugin to match Azure Docs Style */

#exam-prep-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.question-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.option-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Radio Circle Replacement */
.option-item input[type="radio"]:checked + .option-key {
    border-color: #005faa;
    color: black;
}

.option-item:hover:not(.opacity-50) .option-key {
    border-color: #005faa;
}

/* Modal Animation */
#exam-result-view {
    animation: fadeIn 0.3s ease-out;
}

#exam-result-view > div {
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Sticky Header */
#exam-main-ui .sticky {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

/* Custom Scrollbar for Discussion */
#exam-prep-app ::-webkit-scrollbar {
    width: 6px;
}

#exam-prep-app ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#exam-prep-app ::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#exam-prep-app ::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .question-card {
        padding: 1rem;
    }
    
    #result-score {
        font-size: 3rem;
    }
}
