﻿body {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11pt;
    background: #f5f6f7;
    color: #222;
    margin: 0;
    padding: 0;
}

.page-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 24px;
}

.card {
    background: #fff;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,.05);
}

h1 {
    font-size: 20pt;
    margin: 0 0 18px 0;
}

h2 {
    font-size: 15pt;
    margin-top: 24px;
}

h3 {
    font-size: 13pt;
    margin-top: 22px;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11pt;
    padding: 8px;
    border: 1px solid #b8bec6;
    border-radius: 4px;
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
}

textarea {
    line-height: 1.4;
}

.form-row {
    margin-bottom: 16px;
}

button,
.button-link {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11pt;
    background: #1f4e3d;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.button-link:hover {
    background: #173b2f;
}

.secondary-link {
    margin-left: 10px;
    color: #1f4e3d;
    text-decoration: none;
}

.secondary-link:hover {
    text-decoration: underline;
}

.validation-message,
.field-validation-error {
    color: #b00020;
    font-size: 10pt;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 14px;
}

th {
    background: #1f4e3d;
    color: white;
    text-align: left;
    padding: 9px;
    font-weight: normal;
}

td {
    border-bottom: 1px solid #e0e0e0;
    padding: 9px;
    vertical-align: top;
}

tr:nth-child(even) td {
    background: #f8f9fa;
}

.actions {
    white-space: nowrap;
}

.admin-nav {
    margin-bottom: 18px;
}

.admin-nav a {
    margin-right: 14px;
    color: #1f4e3d;
    text-decoration: none;
    font-weight: bold;
}

.admin-nav a:hover {
    text-decoration: underline;
}

.answer-choice {
    margin-bottom: 12px;
}

.quiz-question {
    font-size: 12pt;
    line-height: 1.5;
    margin-bottom: 18px;
}

.score-box {
    font-size: 14pt;
    font-weight: bold;
    background: #eef5f1;
    border: 1px solid #c9ded3;
    padding: 14px;
    border-radius: 6px;
    display: inline-block;
}

.filter-panel {
    background: #fff;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 0;
}

.filter-panel summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: bold;
    color: #1f4e3d;
}

.filter-panel summary:hover {
    background: #f1f4f2;
}

.filter-form {
    border-top: 1px solid #d9dde2;
    padding: 16px;
}