/* quiz.css */

.rbt-quiz-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.6;
}

.rbt-quiz-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    text-align: center;
    border: 1px solid #eaeaea;
}

.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.quiz-description {
    font-size: 16px;
    color: #666;
}

/* Question Screen */
.question-screen {
    text-align: left;
}

.question-progress {
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    /* primary blue color for this site */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar-container {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    flex-grow: 1;
    margin-left: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-label {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #444;
}

.option-label:hover {
    border-color: #007bff;
    background: #f4f9ff;
}

.option-input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: #007bff;
    cursor: pointer;
}

.option-label.selected {
    border-color: #007bff;
    background: #f4f9ff;
    font-weight: 600;
    color: #000;
}

/* Navigation Buttons */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e4e4e4;
}

/* Results Screen */
.results-screen {
    text-align: center;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f4f9ff;
    border: 8px solid #007bff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.score-number {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.score-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.results-message {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.results-pass {
    color: #28a745;
}

.results-fail {
    color: #dc3545;
}

.results-details {
    margin: 30px 0;
    font-size: 16px;
    color: #555;
}

/* Utilities */
.hidden {
    display: none !important;
}