@font-face {
    font-family: "Open Sans";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/opensans/OpenSans-Regular-SgZsCSI.woff2") format('woff2'),
    url("../fonts/opensans/OpenSans-Regular-ZdqHzgE.woff") format('woff');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/opensans/OpenSans-Bold-Tm8Akoy.woff2") format('woff2'),
    url("../fonts/opensans/OpenSans-Bold-1AoOU2g.woff") format('woff');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    src: url("../fonts/opensans/OpenSans-Italic-OXlnfO9.woff2") format('woff2'),
    url("../fonts/opensans/OpenSans-Italic-wkY0Dee.woff") format('woff');
}

@font-face {
    font-family: PilcrowRounded;
    font-weight: 400;
    font-style: normal;
    src: url("../fonts/pilcrow/PilcrowRounded-Regular-D-_2K4I.woff") format('woff');
}

@font-face {
    font-family: PilcrowRounded;
    font-weight: 700;
    font-style: normal;
    src: url("../fonts/pilcrow/PilcrowRounded-Semibold-OIk8Gpi.woff") format('woff');
}

:root {
    --scp-yellow: #e1e100;
    --scp-green: #64d4c6;
    --scp-blue: #1e8bda;
    --scp-dark-blue: #003c94;
    --scp-success: #198754;
    --scp-success-dark: #146c43;
    --scp-danger: #dc3545;
    --scp-danger-dark: #b02a37;
    --scp-warning: #ffc107;
    --scp-warning-dark: #d39e00;
    --scp-orange: #fd7e14;
    --scp-orange-dark: #ca6510;
    --font-body: "Open Sans", Calibri, "Droid Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
    --font-headline: PilcrowRounded, Calibri, "Droid Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: white;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: none;
}

h1 {
    font-size: 34px;
    line-height: 1.3;
}

h2 {
    font-size: 28px;
    line-height: 1.35;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

.header .row {
    padding: 1rem 4rem;
}

.header .header-logo {
    object-fit: cover;
    height: 127px;
}

.header .header-logo img {
    max-height: 127px;
    object-fit: contain;
}

.main-menu {
    min-height: 60px;
    line-height: 60px;
    background-color: var(--scp-yellow);
}

.main-menu .row {
    padding: 0 5rem;
    align-items: center;
}

.main-menu .portal-brand {
    color: var(--scp-dark-blue);
    font-family: var(--font-headline);
    font-size: 34px;
    font-weight: 400;
    line-height: 60px;
    text-transform: none;
}

.main-menu .portal-brand strong {
    font-weight: 700;
}

.main-menu .auth {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
}
.sub-menu {
    height: 3em;
    line-height: 2em;
    background-color: var(--scp-green);
}
.sub-menu .row {
    padding: 0.5em 5rem;
}
.sub-menu a,
.sub-menu a:link,
.sub-menu a:visited,
.sub-menu a:active {
    font-weight: bold;
    color: var(--scp-dark-blue);
    text-decoration: none;
}
.sub-menu a:hover {
    text-decoration: underline;
}

.flash-message {
    margin: 0 0 1rem 0;
}

.flash-message .alert {
    margin-bottom: 1rem;
    transition: opacity 0.3s ease-in-out;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
}

.main .alert {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    margin: 3em 4em;
    padding: 1em;
    background-color: var(--scp-green);
}

.public .main .card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 960px;
    padding: 2rem;
}

.public .main .card:has(.report-period-overview) {
    max-width: 1200px;
}

.main .card-content {
    margin-bottom: 1.5rem;
}

.main .card-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1em;
}

.main form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2em;
}

.main label {
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #444;
    min-width: 20rem;
    display: inline-block;
}

.main input[type="text"],
.main input[type="email"],
.main input[type="password"],
.main textarea,
.main select {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fefefe;
    transition: border-color 0.3s ease;
}

.main input:focus,
.main textarea:focus,
.main select:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.main button[type="submit"] {
    padding: 0.75rem 1.5rem;
    background-color: var(--scp-blue);
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.main button[type="submit"]:hover {
    background-color: var(--scp-dark-blue);
    margin: 0;
}

.main form .confirm-check-link {
    color: var(--scp-blue);
}

.main form .confirm-check-link:hover {
    color: var(--scp-dark-blue);
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2em;
    padding: 40px 0;
    color: #ffffff;
    font-size: 15px;
    background-color: var(--scp-dark-blue);
    border-bottom: 10px solid var(--scp-blue);
}

.footer .footer-content {
    width: 90%;
    max-width: 960px;
}

.footer a,
.footer a:link,
.footer a:visited,
.footer a:active {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-pt {
    gap: 2rem;
    margin-bottom: 2em;
}

.footer-pt .row {
    padding: 1rem 8rem;
}

.footer-pt .footer-pt-logo {
    margin-top: -1em;
    margin-bottom: 1em;
    height: 70px;
    max-height: 70px;
}

.download_list {
    list-style-type: none;
    margin: 1em 0 1em 0;
}

.report-period-overview-intro,
.report-period-overview-footer {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.35;
}

.report-period-overview-intro ul {
    margin: 0.35rem 0 0.6rem;
    padding-left: 1.25rem;
}

.report-period-overview-intro li {
    margin: 0;
    line-height: 1.3;
}

.main .card-content .report-period-overview-intro p {
    margin: 0.4rem 0 0;
    line-height: 1.35;
}

.report-period-overview-section-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.school-year-section {
    margin-bottom: 2.5rem;
}

.school-year-heading {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.school-year-locked {
    margin-bottom: 0;
}
