/* ============================================================
   MS Korean LMS — MODERN ADMISSION FORM THEME
   Professional Blue + White + Gold Academic Design System
   ============================================================ */

/* ─── Hero Header ─── */
.admission-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #1E40AF 100%) !important;
    padding: 70px 0 50px !important;
    color: white !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}
.admission-hero::before {
    content: '입학신청';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
}
.admission-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93C5FD;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.admission-hero-badge span { color: #FCD34D; }
.admission-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white !important;
    margin-bottom: 8px;
}
.admission-hero-desc {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Progress Step Tracker ─── */
.adm-steps-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.adm-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.adm-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
}
.adm-step-item.active .adm-step-num {
    background: #38BDF8;
    color: #0F172A;
}
.adm-step-item.active { color: white; }

/* ─── Form Container Card ─── */
.adm-form-paper {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
    overflow: visible;
    font-family: 'Inter', sans-serif;
    color: #0F172A;
    margin-bottom: 40px;
}

.ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    direction: rtl;
    line-height: 1.8;
}
.req { color: #EF4444; font-weight: 700; }

/* ─── Card Official Header ─── */
.adm-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #1E40AF 100%);
    color: white;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #F59E0B;
}
.adm-header-left { display: flex; align-items: center; gap: 14px; }
.adm-logo-box {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1E40AF, #0EA5E9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    flex-shrink: 0;
}
.adm-title-en {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.adm-title-en span { color: #60A5FA; }
.adm-title-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 0.85rem;
    color: #FCD34D;
    direction: rtl;
    margin-top: 2px;
}
.adm-header-right { text-align: right; }
.adm-form-title-en {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}
.adm-form-title-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 0.85rem;
    color: #93C5FD;
    direction: rtl;
}

/* ─── Contact Info Bar ─── */
.adm-infobar {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 9px 30px;
    display: flex;
    gap: 24px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 500;
    flex-wrap: wrap;
}
.adm-infobar span { display: flex; align-items: center; gap: 6px; }
.adm-infobar i { color: #1E40AF; }

/* ─── Section 1: Photo + Title + Office box ─── */
.adm-top-row {
    display: grid;
    grid-template-columns: 130px 1fr 220px;
    gap: 20px;
    padding: 22px 30px 16px;
    align-items: center;
    background: #FAFBFD;
    border-bottom: 1px solid #E2E8F0;
}
.adm-photo-box { display: flex; justify-content: center; }
.adm-photo-upload {
    width: 110px;
    height: 130px;
    border: 2px dashed #94A3B8;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
    text-align: center;
    padding: 8px;
}
.adm-photo-upload:hover {
    border-color: #1E40AF;
    background: #EFF6FF;
    transform: scale(1.02);
}
.adm-sec-badge {
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    color: white;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}
.adm-office-box {
    background: white;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.adm-office-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1E40AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 4px;
    margin-bottom: 6px;
}
.adm-office-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.74rem;
    color: #475569;
}
.adm-office-row label { font-weight: 600; min-width: 85px; margin: 0; }
.adm-office-line {
    flex: 1;
    border-bottom: 1px dashed #94A3B8;
    height: 10px;
}

/* ─── Input Fields Layout ─── */
.adm-fields {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.adm-field-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 16px;
}
.adm-field-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.adm-field-half {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 12px;
}
.adm-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}
.adm-input {
    width: 100%;
    padding: 8px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0F172A;
    background: white;
    transition: all 0.2s ease;
    outline: none;
}
.adm-input:focus {
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.adm-input-inline {
    display: inline-block;
    padding: 3px 8px;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #0F172A;
    margin-left: 6px;
    outline: none;
}
.adm-input-inline:focus { border-color: #1E40AF; }

.adm-checkbox-group {
    display: flex;
    gap: 18px;
    align-items: center;
}
.adm-checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
}
.adm-checkbox-group input[type="radio"],
.adm-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1E40AF;
}

/* ─── Section Header Bar ─── */
.adm-sec-header {
    background: #F1F5F9;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 10px 30px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1E40AF;
    display: flex;
    align-items: center;
    gap: 8px;
}
.adm-sec-header .ur { color: #475569; font-weight: 600; }

/* ─── Course Selection Cards ─── */
.adm-course-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 20px 30px;
}
.adm-course-box {
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px;
    background: white;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}
.adm-course-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.adm-course-blue:hover, .adm-course-blue.selected {
    border-color: #1E40AF;
    background: #F8FAFF;
}
.adm-course-green:hover, .adm-course-green.selected {
    border-color: #10B981;
    background: #F0FDF4;
}
.adm-course-orange:hover, .adm-course-orange.selected {
    border-color: #F59E0B;
    background: #FFFBEB;
}
.adm-course-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.adm-course-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}
.adm-course-blue .adm-course-icon { background: linear-gradient(135deg, #1E40AF, #3B82F6); }
.adm-course-green .adm-course-icon { background: linear-gradient(135deg, #059669, #10B981); }
.adm-course-orange .adm-course-icon { background: linear-gradient(135deg, #D97706, #F59E0B); }

.adm-course-dur {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.adm-course-blue .adm-course-dur { color: #1E40AF; }
.adm-course-green .adm-course-dur { color: #059669; }
.adm-course-orange .adm-course-dur { color: #D97706; }

.adm-course-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}
.adm-course-urdu {
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 1px;
}
.adm-course-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
    cursor: pointer;
    margin: 8px 0;
    padding: 6px 8px;
    background: rgba(0,0,0,0.03);
    border-radius: 6px;
}
.adm-course-check input { width: 15px; height: 15px; accent-color: #1E40AF; }
.adm-course-list {
    margin: 0 0 10px 16px;
    padding: 0;
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.4;
}
.adm-course-list li { margin-bottom: 2px; }
.adm-course-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: white;
}
.adm-badge-blue { background: #1E40AF; }
.adm-badge-green { background: #10B981; }
.adm-badge-orange { background: #F59E0B; }

/* ─── Preferences Row ─── */
.adm-pref-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.3fr;
    gap: 16px;
    padding: 16px 30px;
    border-top: 1px solid #E2E8F0;
    background: #FAFBFD;
}
.adm-pref-col {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px;
}
.adm-pref-label {
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 8px;
    font-size: 0.8rem;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 4px;
}
.adm-cb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-bottom: 4px;
    color: #334155;
    font-weight: 500;
}
.adm-cb input[type="checkbox"],
.adm-cb input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: #1E40AF;
    flex-shrink: 0;
}
.adm-cb-grid { display: flex; flex-direction: column; gap: 2px; }

/* ─── Education & Knowledge ─── */
.adm-edu-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 30px;
    border-top: 1px solid #E2E8F0;
    flex-wrap: wrap;
}
.adm-edu-checks { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ─── Terms & Declaration ─── */
.adm-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
    padding: 18px 30px;
    border-top: 2px solid #E2E8F0;
    background: #FAFBFD;
}
.adm-terms-box {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
}
.adm-decl-box {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
}
.adm-sec-badge-small {
    background: #0F172A;
    color: white;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
}
.adm-sec-badge-small .ur { color: #FCD34D; }
.adm-terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.76rem;
    color: #475569;
}
.adm-terms-list li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}
.adm-terms-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10B981;
}

/* ─── Signature Pad ─── */
.adm-sig-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    margin-top: 8px;
}
.adm-sig-area { flex: 1; }
.adm-date-area { min-width: 120px; }
#signatureCanvas {
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    cursor: crosshair;
    touch-action: none;
    display: block;
    width: 100%;
    max-width: 240px;
    height: 60px;
    transition: border-color 0.2s;
}
#signatureCanvas:hover { border-color: #1E40AF; }
.adm-date-display {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0F172A;
    background: #F1F5F9;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
}
.adm-sig-btn {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 5px;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s;
}
.adm-sig-btn:hover { background: #E2E8F0; color: #0F172A; }

/* ─── Footer Bar ─── */
.adm-footer-bar {
    background: #0F172A;
    color: white;
    padding: 10px 30px;
    font-size: 0.82rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.adm-footer-contacts {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748B;
    flex-wrap: wrap;
    gap: 10px;
}
.adm-footer-contacts span i { color: #1E40AF; }

/* ─── Action Buttons ─── */
.adm-submit-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #FAFBFD;
    border-top: 1px solid #E2E8F0;
    flex-wrap: wrap;
}
.adm-btn-print {
    background: white;
    border: 1.5px solid #CBD5E1;
    color: #334155;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.adm-btn-print:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: #0F172A;
}
.adm-btn-submit {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.adm-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.45);
    color: white;
}

/* ============================================================
   PERFECT SINGLE 1-PAGE A4 PRINT STYLESHEET
   Scales all components strictly to 1 Single A4 Sheet (297mm x 210mm)
   ============================================================ */
@page {
    size: A4 portrait;
    margin: 4mm 5mm 4mm 5mm;
}

@media print {
    /* Hide all non-printable elements */
    nav, header, footer, .lms-nav, .admission-hero, .site-footer, .adm-steps-bar,
    .adm-submit-row, .no-print, .alert, .btn-close, #togglePass, script {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html, body {
        width: 100% !important;
        height: 100% !important;
        background: #FFFFFF !important;
        margin: 0 !important;
        padding: 0 !important;
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 8.5pt !important;
        line-height: 1.15 !important;
        color: #000000 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    div[style*="background:#F1F5F9"],
    .container, .row, .col-xl-10, .col-lg-11 {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Master Form Paper */
    .adm-form-paper {
        border: 1.5pt solid #0F172A !important;
        border-radius: 4px !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        page-break-inside: avoid !important;
        page-break-after: avoid !important;
        page-break-before: avoid !important;
    }

    /* Header */
    .adm-header {
        background: #0F172A !important;
        color: #FFFFFF !important;
        padding: 4px 8px !important;
        border-bottom: 2pt solid #D97706 !important;
    }
    .adm-logo-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        border-radius: 4px !important;
        background: #1E40AF !important;
    }
    .adm-title-en { font-size: 0.95rem !important; }
    .adm-title-ur { font-size: 0.72rem !important; }
    .adm-form-title-en { font-size: 0.85rem !important; }
    .adm-form-title-ur { font-size: 0.72rem !important; }

    /* Infobar */
    .adm-infobar {
        background: #F8FAFC !important;
        padding: 2px 8px !important;
        font-size: 7.5pt !important;
        gap: 14px !important;
        border-bottom: 1pt solid #CBD5E1 !important;
    }

    /* Top Row (Photo + 1. Personal Info + Office Box) */
    .adm-top-row {
        grid-template-columns: 80px 1fr 170px !important;
        gap: 10px !important;
        padding: 4px 8px !important;
        background: #FFFFFF !important;
        border-bottom: 1pt solid #CBD5E1 !important;
    }
    .adm-photo-upload {
        width: 72px !important;
        height: 85px !important;
        border: 1pt dashed #475569 !important;
        border-radius: 4px !important;
        padding: 2px !important;
    }
    .adm-sec-badge {
        background: #1E40AF !important;
        color: #FFFFFF !important;
        padding: 4px 8px !important;
        font-size: 8pt !important;
        border-radius: 4px !important;
    }
    .adm-office-box {
        border: 1pt solid #475569 !important;
        border-radius: 4px !important;
        padding: 3px 6px !important;
    }
    .adm-office-title {
        font-size: 6.8pt !important;
        padding-bottom: 2px !important;
        margin-bottom: 2px !important;
    }
    .adm-office-row {
        margin-bottom: 1px !important;
        font-size: 6.8pt !important;
    }

    /* Fields */
    .adm-fields {
        padding: 4px 8px !important;
        gap: 3px !important;
    }
    .adm-field-row {
        grid-template-columns: 140px 1fr !important;
        gap: 6px !important;
    }
    .adm-field-split {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .adm-field-half {
        grid-template-columns: 100px 1fr !important;
        gap: 6px !important;
    }
    .adm-label {
        font-size: 7.5pt !important;
        color: #000000 !important;
    }
    .adm-input {
        padding: 1px 4px !important;
        font-size: 7.5pt !important;
        height: 17px !important;
        border: none !important;
        border-bottom: 1pt solid #475569 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .adm-input-inline {
        padding: 0 3px !important;
        font-size: 7.2pt !important;
        height: 15px !important;
        border: none !important;
        border-bottom: 1pt solid #475569 !important;
    }
    .adm-checkbox-group label {
        font-size: 7.5pt !important;
    }

    /* Section Header */
    .adm-sec-header {
        background: #F1F5F9 !important;
        padding: 2px 8px !important;
        font-size: 7.5pt !important;
        border-top: 1pt solid #CBD5E1 !important;
        border-bottom: 1pt solid #CBD5E1 !important;
    }

    /* Courses Row */
    .adm-course-row {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 6px !important;
        padding: 4px 8px !important;
    }
    .adm-course-box {
        border: 1pt solid #94A3B8 !important;
        border-radius: 4px !important;
        padding: 4px 6px !important;
        background: #FFFFFF !important;
    }
    .adm-course-top {
        gap: 6px !important;
        margin-bottom: 2px !important;
    }
    .adm-course-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.75rem !important;
        border-radius: 3px !important;
    }
    .adm-course-dur { font-size: 6pt !important; }
    .adm-course-name { font-size: 7.2pt !important; }
    .adm-course-urdu { font-size: 6.5pt !important; }
    .adm-course-check {
        font-size: 6.8pt !important;
        margin: 2px 0 !important;
        padding: 2px 4px !important;
        border: 1pt solid #CBD5E1 !important;
    }
    .adm-course-list {
        margin: 0 0 2px 10px !important;
        font-size: 6.2pt !important;
        line-height: 1.2 !important;
    }
    .adm-course-badge {
        font-size: 6.2pt !important;
        padding: 1px 4px !important;
    }

    /* Preferences */
    .adm-pref-row {
        grid-template-columns: 1fr 1fr 1.2fr !important;
        gap: 6px !important;
        padding: 3px 8px !important;
        background: #FFFFFF !important;
        border-top: 1pt solid #CBD5E1 !important;
    }
    .adm-pref-col {
        border: 1pt solid #CBD5E1 !important;
        border-radius: 4px !important;
        padding: 3px 5px !important;
    }
    .adm-pref-label {
        font-size: 7pt !important;
        margin-bottom: 2px !important;
        padding-bottom: 2px !important;
    }
    .adm-cb {
        font-size: 6.8pt !important;
        margin-bottom: 1px !important;
    }

    /* Education */
    .adm-edu-row {
        padding: 2px 8px !important;
        gap: 8px !important;
        border-top: 1pt solid #CBD5E1 !important;
    }
    .adm-edu-checks { gap: 8px !important; }
    .adm-edu-checks label { font-size: 7pt !important; }

    /* Bottom: Terms & Declaration */
    .adm-bottom-row {
        grid-template-columns: 1fr 1.2fr !important;
        gap: 8px !important;
        padding: 4px 8px !important;
        border-top: 1.5pt solid #0F172A !important;
        background: #FFFFFF !important;
    }
    .adm-terms-box, .adm-decl-box {
        border: 1pt solid #CBD5E1 !important;
        border-radius: 4px !important;
        padding: 4px 6px !important;
    }
    .adm-sec-badge-small {
        font-size: 6.5pt !important;
        padding: 2px 4px !important;
        margin-bottom: 3px !important;
    }
    .adm-terms-list { font-size: 6.5pt !important; }
    .adm-terms-list li { margin-bottom: 2px !important; padding-left: 12px !important; }
    .adm-decl-box p { font-size: 6.8pt !important; margin-bottom: 2px !important; }

    /* Signature */
    .adm-sig-row {
        gap: 8px !important;
        margin-top: 2px !important;
    }
    #signatureCanvas {
        height: 36px !important;
        max-width: 150px !important;
        border: 1pt solid #475569 !important;
        border-radius: 3px !important;
    }
    .adm-date-display {
        font-size: 7pt !important;
        padding: 2px 6px !important;
    }
    .adm-sig-btn { display: none !important; }

    /* Footer */
    .adm-footer-bar {
        background: #0F172A !important;
        color: #FFFFFF !important;
        padding: 3px 8px !important;
        font-size: 6.8pt !important;
    }
    .adm-footer-contacts {
        background: #F8FAFC !important;
        padding: 2px 8px !important;
        font-size: 6.5pt !important;
    }
}

/* ─── Mobile Responsive Screen Media Queries ─── */
@media screen and (max-width: 900px) {
    .adm-top-row { grid-template-columns: 1fr; text-align: center; }
    .adm-course-row { grid-template-columns: 1fr; }
    .adm-pref-row { grid-template-columns: 1fr; }
    .adm-bottom-row { grid-template-columns: 1fr; }
    .adm-field-row { grid-template-columns: 1fr; }
    .adm-field-split { grid-template-columns: 1fr; gap: 14px; }
    .adm-field-half { grid-template-columns: 1fr; }
    .adm-header { flex-direction: column; gap: 10px; text-align: center; }
    .adm-header-right { text-align: center; }
    .adm-form-paper { overflow: visible; }
    .adm-submit-row {
        display: flex !important;
        visibility: visible !important;
        height: auto !important;
        flex-direction: column;
        position: sticky;
        bottom: 0;
        z-index: 40;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        background: #FFFFFF;
        box-shadow: 0 -8px 24px rgba(15,23,42,0.08);
    }
    .adm-btn-submit, .adm-btn-print {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        -webkit-appearance: none;
        appearance: none;
    }
}
