body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #003366;
    /* Institutional Blue */
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.login-box,
.quiz-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #003366;
    /* Blue accent top */
}

h2 {
    color: #003366;
    margin-top: 0;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

input:focus {
    border-color: #003366;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

button {
    width: 100%;
    padding: 14px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #002244;
}

.school-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

.school-footer p {
    margin: 5px 0;
}

/* Quiz Styles */
.question {
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.question p {
    font-weight: 600;
    margin-bottom: 15px;
}

.question label {
    font-weight: normal;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin-bottom: 8px;
}

.question label:hover {
    background-color: #eee;
}

/* Alert specific overrides */
.alert-box-red {
    border-top-color: #dc3545;
}

.alert-box-red h2 {
    color: #dc3545;
}

.lesson {
    background-color: #fff8f8;
    border: 1px solid #ffdede;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: left;
}