/*============================================ COSA – Global Design System ============================================ */ /* ===== Brand Tokens ===== */ :root {
    --brand-600: #00593E;
    --brand-500: #087054;
    --accent-400: #BFA240;
    --bg: #F9FAFB;
    --card: #FFFFFF;
    --muted: #5b6471;
    --border: #e4e7eb;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --radius: 10px;
    --danger: #dc3545;
    --s-1: .25rem;
    --s-2: .5rem;
    --s-3: .75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 2.5rem;
    --s-8: 3rem;
}
/* ===== Global Layout ===== */

body {
    margin: 0;
    background: var(--bg);
    color: #1d232a;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--s-6) var(--s-4);
}

.stack > * + * {
    margin-top: var(--s-6);
}
/* Shared green divider */

.header-divider {
    border: none;
    border-top: 3px solid #004d40;
    margin: 0 0 15px 0;
    width: 100%;
}
/* ===== Header ===== */

.app-header {
    background: var(--brand-600);
    color: #fff;
    padding: .8rem 2rem;
    box-shadow: var(--shadow);
}

.hdr-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--s-5);
}

.brand {
    height: 100px;
    width: auto;
    display: block;
    border-radius: 8px;
    background: #fff;
    padding: 2px 4px;
    object-fit: contain;
    box-shadow: 0 0 3px rgba(0,0,0,0.12);
    transition: transform .25s, box-shadow .25s;
    vertical-align: middle;
}

    .brand:hover {
        transform: scale(1.04);
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }

.app-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.1;
}
/* Responsive Header */

@media (max-width:768px) {
    .hdr-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--s-3);
    }

    .brand {
        height: 80px;
    }

    .app-title {
        font-size: 1.5rem;
    }
}
/* ===== Footer ===== */

.app-footer {
    background: #f1f3f5;
    color: #555;
    font-size: .9rem;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--border);
}
/* ===== Info Banner ===== */

.info-banner {
    background: #FCF8E8;
    border-left: 5px solid var(--accent-400);
    border: 1px solid #efead4;
    border-radius: var(--radius);
    padding: var(--s-5);
    box-shadow: var(--shadow);
}

    .info-banner h3 {
        margin-bottom: var(--s-3);
        color: var(--brand-600);
        font-weight: 700;
        font-size: 1.15rem;
    }

    .info-banner ul {
        margin: 0;
        padding-left: 1.25rem;
    }

    .info-banner li {
        margin: .35rem 0;
        line-height: 1.6;
        font-size: 1rem;
    }
/* ===== Section Cards ===== */

.section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: var(--s-6);
}

    .section + .section {
        margin-top: var(--s-6);
    }
/* ===== Section Titles ===== */

.section-title {
    background: #E6F4EF;
    color: var(--brand-600);
    padding: var(--s-3) var(--s-4);
    font-weight: 700;
    border-radius: var(--radius);
    margin-bottom: var(--s-5);
}
/* Green title variant */

.section-title-green {
    background: #E6F4EF;
    color: var(--brand-600);
    font-weight: 700;
    padding: .75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
/* ===== Grid System ===== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-5);
}

    .form-grid.compact {
        gap: var(--s-3);
    }
/* Span helpers */

.col-1 {
    grid-column: span 1;
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-6 {
    grid-column: span 6;
}

.col-12 {
    grid-column: span 12;
}

@media (max-width:992px) {
    .col-6, .col-5, .col-4, .col-3, .col-2, .col-1, .col-12 {
        grid-column: span 12;
    }
}
/* ===== Form Elements ===== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-label {
    font-weight: 600;
    color: var(--brand-600);
    white-space: normal;
    word-break: normal;
}

.req {
    color: var(--danger);
    margin-left: .25rem;
}
/* Inputs + selects unified sizing */

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
    width: 100%;
    height: 44px;
    padding: 0 var(--s-4);
    border: 1px solid #d9dee3;
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

textarea {
    min-height: 110px;
    padding: .6rem;
    height: auto;
}

    input:focus, select:focus, textarea:focus {
        border-color: var(--brand-600);
        box-shadow: 0 0 0 .15rem rgba(0,89,62,.2);
        outline: none;
    }

input[pattern] {
    letter-spacing: 1px;
    font-family: monospace;
}

.col-1 input {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.is-invalid {
    border-color: var(--danger) !important;
}

.invalid-msg {
    color: var(--danger);
    font-size: .92rem;
}
/* ===== Dropzone (Attachments) ===== */

.dropzone {
    border: 2px dashed var(--brand-600);
    border-radius: var(--radius);
    background: #E6F4EF;
    text-align: center;
    padding: 2.25rem 1rem;
    color: var(--brand-600);
    font-weight: 500;
    transition: background .2s, border-color .2s;
    cursor: pointer;
}

    .dropzone.dragover {
        background: #fff;
        border-color: var(--accent-400);
    }

.file-list {
    list-style: none;
    padding: .75rem 0 0;
    margin: 0;
}

    .file-list li {
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin: .5rem 0;
        padding: .5rem .6rem;
        background: #fff;
    }
/* ===== Buttons ===== */

.actions {
    display: flex;
    gap: var(--s-4);
    margin-top: var(--s-6);
}

.btn-primary {
    background: var(--brand-600) !important;
    border-color: var(--brand-600) !important;
    color: #fff;
    border-radius: var(--radius);
    padding: .65rem 1.25rem;
    font-weight: 600;
}

    .btn-primary:hover {
        background: var(--brand-500) !important;
        border-color: var(--brand-500) !important;
    }
/* ===== Utilities ===== */

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.cursor-pointer {
    cursor: pointer;
}

.shadow-soft {
    box-shadow: var(--shadow);
}
/* ===== Required Fields (Global) ===== */

.info-banner li .req, .info-banner .req, .form-label .req, .req {
    color: #dc3545 !important;
    font-weight: 700;
}

.req-asterisk {
    color: #dc3545 !important;
    font-weight: 700;
    font-size: 1.05em;
    vertical-align: middle;
    display: inline-block;
    text-shadow: 0 0 .5px #dc3545;
}
/* =====================================
   COSA Application Type Section – Unified Icons
   ===================================== */

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: .75rem;
}

/* Each option container */
.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

    .radio-option:hover {
        background: #f8fdf9;
        border-color: #b2d8b2;
    }

    /* Ensure ALL radio icons have same size & alignment */
    .radio-option input[type="radio"] {
        flex-shrink: 0;
        appearance: none;
        width: 22px;
        height: 22px;
        border: 2px solid #00593E;
        border-radius: 50%;
        outline: none;
        position: relative;
        margin-top: 4px;
        cursor: pointer;
    }

        .radio-option input[type="radio"]:checked {
            border-color: #00593E;
            background-color: #00593E;
        }

        .radio-option input[type="radio"]::after {
            content: "";
            position: absolute;
            top: 4px;
            left: 4px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #fff;
            opacity: 0;
            transition: opacity 0.2s ease-in-out;
        }

        .radio-option input[type="radio"]:checked::after {
            opacity: 1;
        }

/* Label next to the circle */
.radio-label {
    flex: 1;
    font-size: 0.96rem;
    color: #333;
    line-height: 1.55;
}

    .radio-label strong {
        color: #004d40;
        font-weight: 700;
    }
/* ============================================================
   Employee COSA Popup Modal — FCS Styled
   ============================================================ */
.cosa-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: fadeIn 0.3s ease-in-out;
}

.cosa-modal-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 640px;
    overflow: hidden;
    transform: scale(0.95);
    animation: scaleUp 0.25s ease-out forwards;
}

.cosa-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brand-600, #004d40);
    color: #fff;
    padding: 0.75rem 1.25rem;
    font-size: 1.15rem;
}

    .cosa-modal-header .close-modal {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        line-height: 1;
    }

.cosa-modal-body {
    padding: 1.5rem;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfa;
    border-bottom: 1px solid #e5e5e5;
}

    .cosa-modal-body p {
        margin: 0;
        font-size: 1rem;
    }

.cosa-modal-footer {
    padding: 1rem 1.5rem;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}

.is-hidden {
    display: none !important;
}

/* Animation effects */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.95);
        opacity: 0.9;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =====================================
   Student Information Section Enhancements
   ===================================== */

.student-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem 1.5rem;
    align-items: end;
}

    .student-row .form-group {
        margin-bottom: 0;
    }

    .student-row small {
        display: block;
        font-size: 0.8rem;
        color: #333;
        line-height: 1.4;
        margin-top: 0.25rem;
    }

.form-note {
    font-size: .9rem;
    color: #444;
    text-align: center;
    margin-top: 1.25rem;
}

    .form-note strong {
        color: var(--brand-600);
    }

/* =====================================
   Student Information — Base Layout
   ===================================== */

.student-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1.75rem; /* balanced side spacing */
    row-gap: 1.75rem;
    align-items: end;
    justify-content: center;
    justify-items: center;
    max-width: 960px; /* default centered layout */
    margin: 0 auto;
    padding: 0 2rem;
}

    /* Ensure form groups align neatly inside grid cells */
    .student-grid .form-group {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.4rem;
    }

    /* Label and input adjustments */
    .student-grid .form-label {
        font-weight: 600;
        color: var(--brand-600);
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        display: block;
    }

        /* =====================================
           Required Field Indicator (Asterisk)
           ===================================== */

        /* Applies a red asterisk automatically for required inputs */
        .student-grid .form-label.required::after {
            content: " *";
            color: #c82333; /* red color for required fields */
            font-weight: 700;
            margin-left: 4px;
            vertical-align: middle;
        }


    /* Keep all inputs consistent */
    .student-grid input,
    .student-grid select {
        width: 100%;
        height: 46px;
        font-size: 1rem;
        padding: 0.6rem 0.9rem;
        border: 1px solid #d0d4d9;
        border-radius: 8px;
        box-sizing: border-box;
        background-color: #fff;
    }

    /* Ensure smaller columns (like M.I.) don’t collapse */
    .student-grid .col-2 input {
        text-align: center;
    }

    /* Add focus ring for accessibility */
    .student-grid input:focus,
    .student-grid select:focus {
        border-color: var(--brand-600);
        box-shadow: 0 0 0 0.15rem rgba(0, 89, 62, 0.25);
        outline: none;
    }

    /* =====================================
   Full-Width Student Information Override
   ===================================== */

    .student-grid.wide {
        max-width: 100%; /* remove 960px limit */
        width: 100%;
        padding: 0 3rem; /* comfortable horizontal spacing */
        justify-items: stretch; /* make each cell fill available width */
    }

.section.student-info.full-width {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem auto;
}

/* Responsive stacking */
@media (max-width: 992px) {
    .student-grid,
    .student-grid.wide {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
    }
}

/* =====================================
   Note Styling
   ===================================== */

.student-info .form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--brand-600);
}

/* =====================================
   Section Title Alignment
   ===================================== */

.section.student-info .section-title {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1.5rem auto;
    border-radius: 8px;
}

/* =====================================
   Parent or Legal Guardian Section
   ===================================== */

.parent-info {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.parent-gridOld {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.5rem;
    align-items: end;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

    /* Column span helpers for parent section */
    .parent-gridOld .col-12 {
        grid-column: span 12;
    }

    .parent-gridOld .col-8 {
        grid-column: span 8;
    }

    .parent-gridOld .col-6 {
        grid-column: span 6;
    }

    .parent-gridOld .col-5 {
        grid-column: span 5;
    }

    .parent-gridOld .col-4 {
        grid-column: span 4;
    }

    .parent-gridOld .col-2 {
        grid-column: span 2;
    }

    /* Match styling from Student Info */
    .parent-grid .form-group {
        width: 100%;
        margin-bottom: 0.4rem;
    }

    .parent-grid .form-label {
        font-weight: 600;
        color: var(--brand-600);
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .parent-grid input {
        width: 100%;
        height: 46px;
        font-size: 1rem;
        padding: 0.6rem 0.9rem;
        border: 1px solid #d0d4d9;
        border-radius: 8px;
        box-sizing: border-box;
        background-color: #fff;
        transition: border-color 0.15s, box-shadow 0.15s;
    }

        .parent-grid input:focus {
            border-color: var(--brand-600);
            box-shadow: 0 0 0 0.15rem rgba(0, 89, 62, 0.25);
            outline: none;
        }

    /* Optional subtle row dividers for better visual grouping */
    .parent-grid .row-divider {
        grid-column: span 12;
        border-top: 1px solid #e4e7eb;
        margin: 0.5rem 0;
    }

/* Responsive behavior */
@media (max-width: 992px) {
    .parent-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

        .parent-grid .form-group {
            margin-bottom: 0.8rem;
        }
}

/* =====================================
   School Information Section
   ===================================== */

.school-info {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.school-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Each row: label left, input right */
.form-row {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    column-gap: 1.5rem;
}

.label-left {
    font-weight: 600;
    color: var(--brand-600);
    font-size: 0.95rem;
    text-align: right;
}

.form-input select,
.form-input input {
    width: 100%;
    height: 44px;
    font-size: 1rem;
    border: 1px solid #d0d4d9;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    box-sizing: border-box;
    background-color: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .form-input select:focus,
    .form-input input:focus {
        border-color: var(--brand-600);
        box-shadow: 0 0 0 0.15rem rgba(0, 89, 62, 0.25);
        outline: none;
    }

/* Special Education Row */
.multi-input {
    display: grid;
    grid-template-columns: 30% auto auto auto auto;
    align-items: center;
    column-gap: 1rem;
}

.form-input-inline {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.form-label-inline {
    font-weight: 600;
    color: var(--brand-600);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .form-row,
    .multi-input {
        grid-template-columns: 1fr;
        row-gap: 0.75rem;
        text-align: left;
    }

    .label-left {
        text-align: left;
    }

    .form-input-inline {
        flex-wrap: wrap;
    }
}

/* =====================================
   School Information – Transfer School (3 Choices)
   ===================================== */

.form-transfer-group {
    align-items: flex-start;
}

.transfer-options {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

/* Each choice row (1st, 2nd, 3rd) */
.choice-row {
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: center;
    column-gap: 1rem;
}

.choice-label {
    font-weight: 600;
    color: var(--brand-600);
    font-size: 0.92rem;
    text-align: right;
    padding-right: 0.25rem;
}

.choice-row select {
    width: 100%;
    height: 44px;
    border: 1px solid #d0d4d9;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .choice-row select:focus {
        border-color: var(--brand-600);
        box-shadow: 0 0 0 0.15rem rgba(0, 89, 62, 0.25);
        outline: none;
    }

/* Responsive layout */
@media (max-width: 992px) {
    .choice-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .choice-label {
        text-align: left;
        padding-bottom: 0.3rem;
    }
}

/* =====================================
   Special Education Dropdown Section
   ===================================== */

.special-edu-row {
    align-items: center;
}

    .special-edu-row .form-label {
        font-weight: 600;
        color: var(--brand-600);
        font-size: 0.95rem;
        text-align: right;
        padding-right: 1rem;
    }

    .special-edu-row select {
        width: 50%;
        height: 44px;
        font-size: 1rem;
        border: 1px solid #d0d4d9;
        border-radius: 8px;
        padding: 0.6rem 0.9rem;
        background-color: #fff;
        transition: border-color 0.15s, box-shadow 0.15s;
    }

        .special-edu-row select:focus {
            border-color: var(--brand-600);
            box-shadow: 0 0 0 0.15rem rgba(0, 89, 62, 0.25);
            outline: none;
        }

/* Responsive layout */
@media (max-width: 992px) {
    .special-edu-row {
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }

        .special-edu-row .form-label {
            text-align: left;
            padding-right: 0;
        }

        .special-edu-row select {
            width: 100%;
        }
}

/* =====================================
   COSA Divider Line (Between Sections)
   ===================================== */
.cosa-divider {
    border: none;
    border-top: 2px solid rgba(0, 89, 62, 0.15); /* soft FCS green tone */
    margin: 1.5rem 0;
    width: 100%;
    max-width: 920px;
    align-self: center;
    box-shadow: 0 1px 0 rgba(0, 89, 62, 0.05);
    border-radius: 2px;
}

/* Subtle hover and focus state (optional visual refinement) */
.cosa-divider:hover {
    border-top-color: rgba(0, 89, 62, 0.25);
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .cosa-divider {
        margin: 1rem 0;
    }
}

/* =====================================
   COSA Acknowledge Section (Final Polished)
   ===================================== */
.acknowledge-section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.acknowledge-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Checkbox Container --- */
.acknowledge-checkbox {
    background: #f8fdf9;
    border: 1px solid #dce6e1;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* --- Checkbox Label & Text --- */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.97rem;
    color: #1d232a;
    line-height: 1.55;
    text-align: justify;
}

    .checkbox-label input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: var(--brand-600);
        margin-top: 3px;
        flex-shrink: 0;
        cursor: pointer;
    }

    .checkbox-label span {
        display: inline;
        font-size: 0.97rem;
        color: #1d232a;
        line-height: 1.55;
    }

    .checkbox-label strong {
        color: #004d40;
        font-weight: 700;
    }

/* --- Policy Section --- */
.acknowledge-policy p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.75rem;
}

.acknowledge-list {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #222;
}

    .acknowledge-list strong {
        color: var(--brand-600);
        font-weight: 700;
    }

/* --- Policy Note Box --- */
.acknowledge-note {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #222;
    background: #edf7f2;
    border-left: 4px solid var(--brand-600);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-top: 0.75rem;
}

/* --- Responsive Behavior --- */
@media (max-width: 992px) {
    .acknowledge-grid {
        padding: 0 1rem;
    }

    .acknowledge-checkbox {
        padding: 1rem;
    }

    .checkbox-label {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* =====================================
   Employee Children Section
   ===================================== */
.employee-children {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

    .employee-children .guidance {
        background: #f5f9f7;
        border: 1px solid #dce6e1;
        border-left: 6px solid var(--brand-600);
        border-radius: 10px;
        padding: 1.25rem 1.25rem 1.1rem 1.25rem;
        box-shadow: var(--shadow);
    }

        .employee-children .guidance ul {
            margin: 0.25rem 0 0 1.25rem;
            padding: 0;
            line-height: 1.7;
        }

        .employee-children .guidance li {
            margin: .45rem 0;
            color: #1d232a;
        }

        .employee-children .guidance em {
            font-style: italic;
        }

.employee-grid {
    display: grid;
    grid-template-columns: 28% 72%;
    align-items: center;
    column-gap: 1.25rem;
    row-gap: 1rem;
    max-width: 960px;
    margin: 1.25rem auto 0 auto;
    padding: 0 2rem;
}

    .employee-grid .label-left {
        font-weight: 600;
        color: var(--brand-600);
        text-align: right;
    }

    .employee-grid .form-input input,
    .employee-grid .form-input select {
        width: 100%;
        height: 44px;
        font-size: 1rem;
        border: 1px solid #d0d4d9;
        border-radius: 8px;
        padding: .6rem .9rem;
        box-sizing: border-box;
        background: #fff;
        transition: border-color .15s, box-shadow .15s;
    }

        .employee-grid .form-input input:focus,
        .employee-grid .form-input select:focus {
            border-color: var(--brand-600);
            box-shadow: 0 0 0 .15rem rgba(0,89,62,.25);
            outline: none;
        }

@media (max-width: 992px) {
    .employee-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

        .employee-grid .label-left {
            text-align: left;
        }
}

/* =====================================
   Parent/Guardian Acknowledgement Section
   ===================================== */
.parent-ack-section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

    .parent-ack-section .acknowledge-policy {
        background: #f8fdf9;
        border: 1px solid #dce6e1;
        border-left: 6px solid var(--brand-600);
        border-radius: 10px;
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.25rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

        .parent-ack-section .acknowledge-policy p {
            font-size: 0.95rem;
            color: #333;
            margin-bottom: 0.75rem;
        }

    .parent-ack-section .acknowledge-list {
        margin: 0;
        padding-left: 1.5rem;
        line-height: 1.65;
        color: #222;
    }

        .parent-ack-section .acknowledge-list li {
            margin-bottom: 0.45rem;
        }

    .parent-ack-section .acknowledge-checkbox {
        background: #f8fdf9;
        border: 1px solid #dce6e1;
        border-radius: 8px;
        padding: 1rem 1.25rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }

    .parent-ack-section .checkbox-label {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.95rem;
        color: #1d232a;
        line-height: 1.5;
    }

        .parent-ack-section .checkbox-label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--brand-600);
            margin-top: 3px;
            flex-shrink: 0;
            cursor: pointer;
        }

@media (max-width: 992px) {
    .parent-ack-section .acknowledge-policy,
    .parent-ack-section .acknowledge-checkbox {
        padding: 1rem;
    }
}

/* Hide helper used by display logic */
.is-hidden {
    display: none !important;
}

input.input-validation-error,
select.input-validation-error {
    border-color: #b91c1c !important; /* red border for invalid fields */
    box-shadow: 0 0 0 0.15rem rgba(185, 28, 28, 0.2);
}

.text-danger {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}
.validation-summary-errors {
    background: #fcf8e8;
    border-left: 4px solid var(--danger);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #7a0000;
    font-weight: 600;
    box-shadow: var(--shadow);
}

/* Put this near your other “Required Fields” rules in site.css */
.form-label.required::after {
    content: " *";
    color: #dc3545; /* same red you already use */
    font-weight: 700;
    margin-left: .25rem;
}

/* =====================================
   Polished Parent Name Row Enhancements
   ===================================== */
.parent-input {
    height: 48px;
    padding: 0.55rem 0.9rem;
    font-size: 1rem;
}

/* Middle Initial: center text, smaller width feel, balanced look */
.mi-input {
    text-align: center;
    letter-spacing: 1px;
}

/* Ensure consistent vertical alignment across the row */
.parent-grid .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: .2rem;
}
