.daily-quiz-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quiz-slide {
    display: none;
}

.quiz-slide.active {
    display: block;
}

.quiz-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.quiz-date {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.quiz-content {
    margin-bottom: 20px;
}

.quiz-option {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-option:hover {
    background: #f0f0f0;
}

.quiz-option input[type="radio"] {
    margin-right: 10px;
}

.quiz-submit {
    margin-top: 20px;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.quiz-submit:hover {
    background: #45a049;
}

.quiz-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.quiz-feedback.correct {
    background: #dff0d8;
    color: #3c763d;
    display: block;
}

.quiz-feedback.incorrect {
    background: #f2dede;
    color: #a94442;
    display: block;
}

.quiz-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-navigation button {
    padding: 8px 16px;
    background: #337ab7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.quiz-navigation button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quiz-counter {
    font-weight: bold;
}

/* Results Slide */
.quiz-results {
    text-align: center;
}

.results-summary {
    padding: 20px;
}

.results-summary .correct-count {
    font-size: 1.5em;
    font-weight: bold;
    color: #4CAF50;
}

.results-summary .total-questions {
    font-weight: bold;
}

.results-details {
    margin: 20px 0;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.result-item {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
}

.result-item.correct {
    background: #dff0d8;
}

.result-item.incorrect {
    background: #f2dede;
}

.result-item .question {
    font-weight: bold;
}

.result-item .user-answer {
    color: #a94442;
}

.result-item .correct-answer {
    color: #3c763d;
}

.restart-quiz {
    padding: 10px 20px;
    background: #337ab7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.restart-quiz:hover {
    background: #286090;
}
/* Add to style.css */
.result-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 6px;
    background: #f8f9fa;
    border-left: 4px solid transparent;
}

.result-item.correct {
    border-left-color: #4CAF50;
    background-color: #e8f5e9;
}

.result-item.incorrect {
    border-left-color: #f44336;
    background-color: #ffebee;
}

.question {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.answer-detail {
    margin: 5px 0;
    padding-left: 15px;
    font-size: 0.95em;
}

.user-answer {
    color: #f44336;
    font-weight: 500;
}

.correct-answer {
    color: #4CAF50;
    font-weight: 500;
}

.correct-message {
    color: #4CAF50;
    font-weight: 500;
}