/* Container Formatting */
.mtp-container, .mtp-dashboard, .mtp-result-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header & Timer */
.mtp-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.mtp-timer {
    background: #dc3545;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
}

/* Questions Formatting */
.mtp-question-block {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    border-radius: 4px;
}

.mtp-question-block h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.mtp-question-block label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.mtp-question-block label:hover {
    background: #e9ecef;
}

.mtp-question-block input[type="radio"] {
    margin-right: 10px;
}

/* Buttons */
button#mtp-submit-test, .mtp-result-actions .button-primary {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button#mtp-submit-test:hover, .mtp-result-actions .button-primary:hover {
    background: #0b5ed7;
}

button#mtp-submit-test:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Review Result Styles */
.mtp-review-question {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mtp-explanation {
    background: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.95em;
    color: #495057;
}