a:link {
    color: #205EA8;
    text-decoration: none
}

a:visited {
    color: #205EA8;
    text-decoration: none
}

a:hover {
    color: #D90000;
    text-decoration: underline
}

a.greenLink:link {
    color: #0FB94F;
    text-decoration: underline
}

a.greenLink:visited {
    color: #0FB94F;
    text-decoration: underline
}

a.greenLink:hover {
    color: #D90000;
    text-decoration: underline
}

a.whiteLink:link {
    color: #FFFFFF;
    text-decoration: none
}

a.whiteLink:visited {
    color: #FFFFFF;
    text-decoration: none
}

a.whiteLink:hover {
    color: #FFFFFF;
    text-decoration: underline
}
:root {
    --page-bg: #1C2E62;
    --card-bg: #ffffff;
    --text-main: #222;
    --text-muted: #666;
    --accent: #205EA8;
    --accent-dark: #1C2E62;
    --border-soft: #e0e0e0;
    --radius-lg: 10px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.18);
    --max-width-page: 1100px;
}

 :root {
     --bg-page: #1C2E62;
     --bg-card: #ffffff;
     --bg-section-header: #205EA8;
     --text-section-header: #ffffff;
     --text-main: #222;
     --accent: #000000;
     --accent-secondary: #243B7F;
     --border-muted: #dddddd;
     --radius-card: 8px;
     --radius-input: 4px;
     --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.15);
 }

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
}

a {
    color: #0d6efd;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
}

.card {
    width: 100%;
    max-width: 900px;
    background-color: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-header,
.card-footer {
    padding: 1rem 1.5rem;
    background-color: #f7f7f7;
}

.card-header-main {
    padding: 1.5rem 1.5rem 0.75rem;
}

.card-body {
    padding: 0 1.5rem 1.5rem;
}

.page-title {
    font-size: 1.8rem;
    margin: 0.5rem 0;
}

.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.intro-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-secondary);
}

.info-message {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.section {
    margin-top: 1.5rem;
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.section-header {
    background-color: var(--bg-section-header);
    color: var(--text-section-header);
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.section-body {
    padding: 1rem;
    background-color: #f9f9f9;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.form-group label {
    font-weight: 600;
}

.form-group small {
    font-size: 0.8rem;
    color: #666;
}

input[type="text"],
select,
textarea {
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-input);
    border: 1px solid #cccccc;
    font-size: 0.9rem;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.form-row-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.form-row-inline select {
    min-width: 120px;
}

.error-field {
    background-color: #fff3cd !important; /* light yellow */
    border-color: #f5c2c7 !important;
}

.submit-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #205EA8, #1C2E62);
    color: #ffffff;
    cursor: pointer;
    letter-spacing: 0.03em;
}

.btn-primary:hover {
    opacity: 0.95;
}

.checklist {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.checklist li {
    margin-bottom: 0.4rem;
}

.checklist .deadline {
    color: var(--accent);
}

.footer-inner {
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .card {
        border-radius: 0;
        box-shadow: none;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.enroll-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--page-bg);
    color: var(--text-main);
}

.enroll-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Center content in a card */
.enroll-main,
.school-header,
.subheader,
.enroll-footer {
    width: 100%;
    max-width: var(--max-width-page);
    margin: 0 auto;
}

/* Header */
.school-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 1rem 0.75rem;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    flex-wrap: wrap;
}

.school-header__logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.school-header__text {
    text-align: left;
    max-width: 600px;
}

.school-header__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.school-header__subtitle {
    margin: 0.25rem 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.school-header__description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Subheader / breadcrumb bar */
.subheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    max-width: var(--max-width-page);
    margin: 0 auto;
}

.subheader__left {
    font-size: 0.85rem;
}

.subheader__right {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.subheader a {
    color: #0d6efd;
    text-decoration: none;
}
.subheader a:hover {
    text-decoration: underline;
}

/* Main content container (card style) */
.enroll-main {
    flex: 1;
    padding: 1rem 1rem 2rem;
}

.enroll-main > * {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

/* Optional card wrapper if you want multiple cards */
.enroll-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}

/* Footer */
.enroll-footer {
    padding: 1rem 1.25rem 2rem;
    font-size: 0.8rem;
    color: #f0f0f0;
}

.enroll-footer__inner {
    max-width: var(--max-width-page);
    margin: 0 auto;
}

/* Links */
a {
    color: #0d6efd;
}
a:hover {
    text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .school-header {
        margin-top: 0.75rem;
        border-radius: 0;
        box-shadow: none;
    }
    .school-header__text {
        text-align: center;
    }
    .subheader {
        flex-direction: column;
        align-items: flex-start;
    }
    .enroll-main {
        padding: 1rem 0.5rem 1.5rem;
    }
}