.universal-test-container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.test-header {
    background: #2271b1;
    color: white;
    padding: 20px;
    text-align: center;
}

.test-header h3 {
    margin: 0;
}

.test-screen {
    padding: 20px;
}

.test-question {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background: #fafafa;
}

.question-number {
    background: #2271b1;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

.question-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 60px;
}

.protected-word {
    transition: opacity 0.3s ease;
}

.answer-input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.test-submit-btn {
    background: #2271b1;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
}

.test-submit-btn:hover {
    background: #135e96;
}

.test-login-required,
.test-error {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
}

.test-results {
    padding: 20px;
}

.results-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
    display: block;
}

.review-question {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.review-question.correct {
    background: #d4edda;
    border-color: #c3e6cb;
}

.review-question.incorrect {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.solution {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
}