@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
}
.container {
    max-width: 600px;
    margin: 40px auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}
.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.input-group label {
    font-weight: 500;
}
.btn-submit {
    background-color: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    width: 100%;
}
.btn-submit:hover {
    background-color: #4338ca;
}
.question-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}
.answers div {
    padding: 0.75rem;
    background-color: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.answers div:hover {
    background-color: #e5e7eb;
}
.answers input[type="radio"] {
    margin-right: 0.75rem;
}
.final-results {
    text-align: center;
}
.final-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-top: 1rem;
}
.logout-link {
    text-align: right;
    margin-bottom: 1.5rem;
}
.table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}
.final-results table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}
.final-results th, .final-results td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.final-results th {
    background-color: #f2f2f2;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1;
}
.final-results tbody tr:last-child td {
    border-bottom: none;
}
.correct {
    color: green;
    font-weight: bold;
}
.incorrect {
    color: red;
    font-weight: bold;
    text-decoration: line-through;
}@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
}
.container {
    max-width: 600px;
    margin: 40px auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}
.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.input-group label {
    font-weight: 500;
}
.btn-submit {
    background-color: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    width: 100%;
}
.btn-submit:hover {
    background-color: #4338ca;
}
.question-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}
.question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}
.answers div {
    padding: 0.75rem;
    background-color: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.answers div:hover {
    background-color: #e5e7eb;
}
.answers input[type="radio"] {
    margin-right: 0.75rem;
}
.final-results {
    text-align: center;
}
.final-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-top: 1rem;
}
.logout-link {
    text-align: right;
    margin-bottom: 1.5rem;
}
.table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}
.final-results table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}
.final-results th, .final-results td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.final-results th {
    background-color: #f2f2f2;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1;
}
.final-results tbody tr:last-child td {
    border-bottom: none;
}
.correct {
    color: green;
    font-weight: bold;
}
.incorrect {
    color: red;
    font-weight: bold;
    text-decoration: line-through;
}
