/* Main Quiz Container */
.csaccept-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Time Selection Screen */
.csaccept-quiz-start {
    text-align: center;
}
.time-options {
    margin: 20px 0;
}
.time-option {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.time-option:hover {
    background: #2980b9;
}

/* Quiz Timer */
.quiz-timer {
    background: #2c3e50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Questions */
.csaccept-quiz-question {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
}
.csaccept-quiz-question:first-child {
    display: block;
}
.csaccept-quiz-question h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* Answers */
.csaccept-quiz-answers {
    margin: 15px 0;
}
.csaccept-quiz-answers label {
    display: block;
    margin: 8px 0;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.csaccept-quiz-answers label:hover {
    background: #e0e0e0;
}
.csaccept-quiz-answers input[type="radio"] {
    margin-right: 10px;
}

/* Submit Button */
.csaccept-quiz-submit {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.csaccept-quiz-submit:hover {
    background: #2980b9;
}

/* Feedback */
.feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}
.correct-feedback {
    background: #d4edda;
    color: #155724;
}
.incorrect-feedback {
    background: #f8d7da;
    color: #721c24;
}

/* Results */
#csaccept-quiz-complete {
    display: none;
    padding: 20px;
    background: #d1ecf1;
    border-radius: 5px;
    text-align: center;
}
.quiz-results {
    font-size: 18px;
    margin: 15px 0;
}

/* Leaderboard */
.leaderboard {
    margin-top: 30px;
}
.leaderboard table {
    width: 100%;
    border-collapse: collapse;
}
.leaderboard th, .leaderboard td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.leaderboard th {
    background: #f2f2f2;
}