/* Quiz Styles */

.arc-quiz {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 2em 0;
}

.arc-quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #4A90A4;
    color: white;
}

.arc-quiz-title {
    margin: 0;
    font-size: 1.2em;
}

.arc-quiz-count {
    font-size: 0.9em;
    opacity: 0.9;
}

.arc-quiz-form {
    padding: 25px;
}

/* Question */
.arc-question {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.arc-question:last-of-type {
    border-bottom: none;
}

.arc-question-number {
    width: 32px;
    height: 32px;
    background: #4A90A4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.arc-question-content {
    flex: 1;
}

.arc-question-text {
    font-size: 1.1em;
    margin: 0 0 15px;
    font-weight: 500;
}

/* Options */
.arc-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arc-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.arc-option:hover {
    border-color: #4A90A4;
    background: rgba(74, 144, 164, 0.05);
}

.arc-option input {
    display: none;
}

.arc-option-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.arc-option input:checked + .arc-option-text + .arc-option-indicator {
    border-color: #4A90A4;
    background: #4A90A4;
}

.arc-option input:checked + .arc-option-text + .arc-option-indicator::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.arc-option.correct {
    border-color: #6BBF59;
    background: rgba(107, 191, 89, 0.1);
}

.arc-option.incorrect {
    border-color: #E74C3C;
    background: rgba(231, 76, 60, 0.1);
}

.arc-question-feedback {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9em;
}

.arc-question-feedback.correct {
    background: #D4EDDA;
    color: #155724;
}

.arc-question-feedback.incorrect {
    background: #F8D7DA;
    color: #721C24;
}

/* Actions */
.arc-quiz-actions {
    padding-top: 20px;
    text-align: center;
}

.arc-btn {
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.arc-btn-primary {
    background: #4A90A4;
    color: white;
}

.arc-btn-primary:hover {
    background: #3a7a8f;
}

.arc-btn-secondary {
    background: #6c757d;
    color: white;
}

.arc-btn-secondary:hover {
    background: #5a6268;
}

/* Results */
.arc-quiz-results {
    padding: 40px;
    text-align: center;
}

.arc-results-header {
    margin-bottom: 20px;
}

.arc-results-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.arc-results-icon.passed::before {
    content: "🎉";
}

.arc-results-icon.failed::before {
    content: "😔";
}

.arc-results-title {
    font-size: 1.5em;
    margin: 0;
}

.arc-results-score {
    margin: 20px 0;
}

.arc-score-value {
    font-size: 3em;
    font-weight: 700;
    color: #4A90A4;
}

.arc-score-label {
    display: block;
    font-size: 0.9em;
    color: #666;
}

.arc-results-message {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}
