/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Test List Styles */
.test-list {
    display: grid;
    gap: 1.5rem;
}

.test-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.test-title {
    margin-bottom: 0.5rem;
}

.test-title a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.test-title a:hover {
    color: #2980b9;
}

.test-description {
    color: #666;
}

/* Test Page Styles */
.question {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question-text {
    font-weight: bold;
    margin-bottom: 1rem;
}

.options {
    display: grid;
    gap: 0.8rem;
}

.option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 2rem;
}

.submit-btn:hover {
    background: #27ae60;
}

/* Results Page Styles */
#score-container {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

#score {
    color: #2ecc71;
    font-size: 1.2rem;
    font-weight: bold;
}

.question-result {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #95a5a6;
}

.question-result.correct {
    border-left-color: #2ecc71;
}

.question-result.incorrect {
    border-left-color: #e74c3c;
}

.answer-info {
    margin: 0.5rem 0;
    color: #666;
}

.result-status {
    font-weight: bold;
    margin-top: 1rem;
}

.correct .result-status {
    color: #2ecc71;
}

.incorrect .result-status {
    color: #e74c3c;
}

.actions {
    margin-top: 2rem;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

.error {
    color: #e74c3c;
    text-align: center;
    padding: 1rem;
}
