.wp-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.quiz-intro {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 30px;
    margin: 20px 0;
}

.quiz-intro h2 {
    margin-top: 0;
    color: #0073aa;
}

.quiz-intro p {
    color: #666;
    line-height: 1.6;
}

.quiz-registration-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.start-quiz-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px;
    margin-top: 10px;
}

.quiz-content {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 30px;
    margin: 20px 0;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.quiz-timer {
    font-size: 18px;
    font-weight: 600;
    color: #d9534f;
}

.timer-display {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: monospace;
    margin-left: 10px;
}

.quiz-progress {
    text-align: right;
}

.progress-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #0073aa;
    transition: width 0.3s ease;
}

.quiz-questions {
    margin: 30px 0;
}

.quiz-question {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    display: none;
}

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

.quiz-question h3 {
    margin: 0 0 15px 0;
    color: #0073aa;
}

.question-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    background: #f0f0f0;
    border-color: #0073aa;
}

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

.option-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: #0073aa;
}

.short-answer-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    box-sizing: border-box;
}

.short-answer-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.quiz-footer button {
    flex: 1;
    padding: 12px !important;
    font-size: 14px;
}

.quiz-footer .submit-quiz-btn {
    background: #d9534f !important;
}

.quiz-footer .submit-quiz-btn:hover {
    background: #c9302c !important;
}

.quiz-result {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
}

.quiz-result h3 {
    color: #0073aa;
    margin-top: 0;
}

.result-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.result-details p {
    margin: 10px 0;
    font-size: 16px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-warning {
    background: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
}

.alert-danger {
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.alert-success {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

@media (max-width: 600px) {
    .quiz-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .quiz-progress {
        text-align: left;
    }

    .quiz-footer {
        flex-direction: column;
    }

    .quiz-footer button {
        width: 100%;
    }
}
