#mock-test-wrapper {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    max-width: 800px;
    margin: 80px auto 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    position: relative;
}

#timer-bar {
    position: relative;
    margin: 10px 0 20px;
    text-align: left;
}

#timer-badge {
    display: inline-block;
    background: #f1f3f5;
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #ccc;
}

#time-left {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

#timer-badge.time-expired {
    background: #ffe6e6;
    color: #c0392b;
    border-color: #e74c3c;
}

.test-controls {
    margin-top: 30px;
    text-align: center;
}

.test-controls button {
    margin: 0 5px;
    padding: 8px 18px;
    border: none;
    background: #2196F3;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-controls button:hover {
    background: #1976D2;
}

.result-box {
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.attempt-summary {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007bff;
    margin-bottom: 30px;
    border-radius: 6px;
    max-width: 600px;
}

.review-question-box {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.question-title {
    font-weight: bold;
    margin-bottom: 12px;
}

.options .option {
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    background: #f0f0f0;
}

.options .correct {
    background-color: #e6ffed;
    border-left: 4px solid #28a745;
    color: #28a745;
    font-weight: bold;
}

.options .wrong {
    background-color: #ffecec;
    border-left: 4px solid #dc3545;
    color: #dc3545;
    font-weight: bold;
}

.view-result-btn {
    margin: 6px 0;
    padding: 6px 14px;
    display: inline-block;
    font-weight: 500;
}

table.widefat td a.button {
    margin: 6px 0;
    display: inline-block;
}
