/* School admin auth — branded split login (matches landing / Filament Blue) */

.school-auth-html,
.school-auth-body {
    font-family: 'Cairo', ui-sans-serif, system-ui, sans-serif !important;
    background: #F8FAFC;
}

.school-auth {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.school-auth-aside {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 55% at 20% 15%, rgba(251, 191, 36, 0.35), transparent 55%),
        radial-gradient(ellipse 55% 45% at 85% 75%, rgba(16, 185, 129, 0.28), transparent 50%),
        linear-gradient(155deg, #1E3A8A 0%, #1E40AF 40%, #2563EB 72%, #0F766E 100%);
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: stretch;
}

.school-auth-aside-glow {
    position: absolute;
    inset: auto -10% -15% 20%;
    height: 55%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent);
    filter: blur(18px);
    pointer-events: none;
}

.school-auth-aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
}

.school-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

.school-auth-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #60A5FA, #1E40AF);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.school-auth-brand strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.15;
}

.school-auth-brand small {
    display: block;
    opacity: .85;
    font-size: .78rem;
    font-weight: 700;
}

.school-auth-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 .75rem;
}

.school-auth-copy p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    opacity: .9;
    max-width: 34ch;
}

.school-auth-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}

.school-auth-points li {
    position: relative;
    padding-inline-start: 1.35rem;
    font-weight: 700;
    font-size: .95rem;
}

.school-auth-points li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--school-amber, #FBBF24);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

.school-auth-bus {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: .5rem;
}

.school-auth-bus img {
    width: min(100%, 360px);
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.35));
    animation: school-bus-float 5.5s ease-in-out infinite;
}

.school-auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(59, 130, 246, 0.1), transparent 55%),
        radial-gradient(ellipse 40% 30% at 10% 100%, rgba(251, 191, 36, 0.1), transparent 50%),
        #F8FAFC;
}

.school-auth-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.04),
        0 24px 60px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.school-auth-card .fi-simple-header {
    align-items: stretch !important;
    text-align: start !important;
    margin-bottom: .25rem;
}

.school-auth-card .fi-simple-header-heading {
    text-align: start !important;
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    color: #0F172A !important;
}

.school-auth-card .fi-simple-header-subheading {
    text-align: start !important;
    font-size: .95rem !important;
    line-height: 1.6 !important;
    color: #64748B !important;
    max-width: 34ch;
}

.school-auth-form .fi-fo-field-wrp {
    margin-bottom: .15rem;
}

.school-auth-card .fi-btn {
    border-radius: 999px !important;
    font-weight: 800 !important;
    padding-block: .85rem !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

/* Text fields — always readable on the white auth card */
.school-auth-card .fi-fo-field-wrp-label span,
.school-auth-card .fi-fo-field-wrp-label .fi-fo-field-wrp-label-text {
    color: #0F172A !important;
    font-weight: 700 !important;
}

.school-auth-card .fi-input-wrp {
    border-radius: 14px !important;
    background-color: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    box-shadow: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-offset-shadow: 0 0 #0000 !important;
    --tw-shadow: 0 0 #0000 !important;
}

.school-auth-card .fi-input-wrp:focus-within {
    background-color: #FFFFFF !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22) !important;
}

.school-auth-card .fi-input-wrp.fi-invalid,
.school-auth-card .fi-fo-field-wrp:has(.fi-fo-field-wrp-error-message) .fi-input-wrp {
    border-color: #F43F5E !important;
    background-color: #FFF1F2 !important;
}

.school-auth-card .fi-input,
.school-auth-card input.fi-input,
.school-auth-card input[type='text'],
.school-auth-card input[type='email'],
.school-auth-card input[type='password'],
.school-auth-card input[type='search'] {
    color: #0F172A !important;
    background-color: transparent !important;
    caret-color: #1E40AF !important;
}

.school-auth-card .fi-input::placeholder,
.school-auth-card input::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}

.school-auth-card .fi-input-wrp .fi-icon,
.school-auth-card .fi-input-wrp button,
.school-auth-card .fi-input-wrp svg {
    color: #64748B !important;
}

.school-auth-card .fi-input-wrp:focus-within .fi-icon,
.school-auth-card .fi-input-wrp:focus-within button,
.school-auth-card .fi-input-wrp:focus-within svg {
    color: #1E40AF !important;
}

.school-auth-footer {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
}

.school-auth-footer a {
    color: #1E40AF;
    text-decoration: none;
}

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

@keyframes school-bus-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 960px) {
    .school-auth {
        grid-template-columns: 1fr;
    }

    .school-auth-aside {
        min-height: auto;
        padding-bottom: 1.25rem;
    }

    .school-auth-copy p {
        max-width: none;
    }

    .school-auth-bus {
        display: none;
    }

    .school-auth-points {
        display: none;
    }

    .school-auth-main {
        padding-top: 0;
        margin-top: -1.5rem;
        position: relative;
        z-index: 2;
    }

    .school-auth-card {
        border-radius: 22px 22px 24px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-auth-bus img {
        animation: none;
    }
}

/* School suspended (super-admin pause) */
.school-suspended-body {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse 55% 40% at 80% 0%, rgba(244, 63, 94, 0.12), transparent 55%),
        radial-gradient(ellipse 45% 35% at 10% 100%, rgba(59, 130, 246, 0.1), transparent 50%),
        #F8FAFC;
}

.school-suspended {
    width: min(100%, 520px);
}

.school-suspended-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.04),
        0 24px 60px rgba(30, 64, 175, 0.1);
    text-align: center;
}

.school-suspended-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #BE123C;
    background: linear-gradient(145deg, #FFE4E6, #FECDD3);
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.18);
}

.school-suspended-kicker {
    margin: 0 0 .35rem;
    color: #E11D48;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.school-suspended-card h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.25;
}

.school-suspended-school {
    margin: 0 0 1rem;
    padding: .65rem .9rem;
    border-radius: 12px;
    background: #F1F5F9;
    color: #334155;
    font-size: .95rem;
}

.school-suspended-lead {
    margin: 0 0 1.15rem;
    color: #64748B;
    font-size: 1rem;
    line-height: 1.65;
}

.school-suspended-points {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    text-align: start;
    display: grid;
    gap: .55rem;
}

.school-suspended-points li {
    position: relative;
    padding: .75rem .9rem .75rem 2.1rem;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
}

.school-suspended-points li::before {
    content: '';
    position: absolute;
    inset-inline-start: .85rem;
    top: 1.05rem;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #F43F5E;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15);
}

.school-suspended-actions {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.school-suspended-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.school-suspended-btn:hover {
    transform: translateY(-1px);
}

.school-suspended-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.school-suspended-btn-secondary {
    color: #1E40AF;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
}

.school-suspended-btn-ghost {
    color: #475569;
    background: transparent;
    border: 1px solid #E2E8F0;
}

.school-suspended-meta {
    margin: 1.15rem 0 0;
    color: #94A3B8;
    font-size: .85rem;
    font-weight: 600;
}

