/* ==========================================================================
   Flymore Aviation — Core auth screens (login, register, password, verify)
   and the Student/Admin placeholder shell.
   Measured from a screenshot of app.flymoreaviation.in/login at 1228 CSS px
   (150% display scaling). The live page uses Arial / Arial Black.
   ========================================================================== */

@font-face { font-family: 'themify'; font-style: normal; font-weight: 400; font-display: block; src: url('../vendor/themify/fonts/themify-subset.woff2') format('woff2'); }
/* Fallback for Arial Black where it isn't installed (Linux, Android) */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../vendor/lato/lato-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../vendor/lato/lato-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url('../vendor/archivo-black/archivo-black-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
    --a-pink: #da1e77;      /* "Excellence.", links */
    --a-dark: #041423;      /* "Community." */
    --a-navy: #001c41;      /* "Diversity." */
    --a-btn: #0c3354;       /* LOGIN button */
    --a-text: #111c2b;      /* welcome line */
    --a-muted: #6b7078;
    --a-border: #d6e6ee;
    --a-font: Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif;
    --a-display: 'Arial Black', 'Archivo Black', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--a-font); color: var(--a-text); background: #fff; -webkit-font-smoothing: antialiased; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--a-pink); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[class^="ti-"], [class*=" ti-"] { font-family: 'themify'; font-style: normal; font-weight: 400; line-height: 1; speak: never; }
.ti-email::before { content: "\e75a"; }
.ti-lock::before { content: "\e62b"; }
.ti-user::before { content: "\e602"; }
/* key icon of the password fields (not in the icon font subset), drawn as a mask so it takes the text colour */
.ti-key::before { content: ""; display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--ti-key) center / contain no-repeat; mask: var(--ti-key) center / contain no-repeat; }
.ti-key { --ti-key: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='6.5' cy='17.5' r='3'/%3e%3cpath d='M8.7 15.3L20 4M16 8l3 3M13 11l2.5 2.5'/%3e%3c/svg%3e"); }

/* Split layout: form 5/12, visual 7/12 ------------------------------------- */
.auth { display: grid; grid-template-columns: 41.667% 1fr; min-height: 100vh; min-height: 100dvh; }

.auth__form-side { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 76px 0 24px; background: #fff; }
/* sky photo at the top, fading into white */
.auth__form-side::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 768 / 530;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, #fff 100%), var(--auth-sky) center top / cover no-repeat;
}
.auth__inner { position: relative; z-index: 1; width: 78.1%; max-width: 420px; margin-inline: auto; text-align: center; }
.auth__logo { display: inline-block; margin-bottom: 62px; }
.auth__logo img { width: 132px; height: auto; }

/* Form ---------------------------------------------------------------------- */
.auth-form { text-align: left; }
.auth-field + .auth-field { margin-top: 20px; }
.auth-form--compact .auth-field + .auth-field { margin-top: 14px; }
.auth-field__box {
    display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 20px;
    background: #fff; border: 1px solid var(--a-border); border-radius: 22px; box-shadow: 0 2px 8px rgba(12, 51, 84, .05);
    transition: border-color .2s, box-shadow .2s; cursor: text;
}
.auth-field__box:focus-within { border-color: var(--a-btn); box-shadow: 0 0 0 3px rgba(12, 51, 84, .12); }
.auth-field__box i { font-size: 13px; color: #6f7684; }
.auth-field__box input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 14px var(--a-font); color: #222; outline: none; }
.auth-field__box input::placeholder { color: #555; opacity: 1; }
.auth-field.has-error .auth-field__box { border-color: #c62828; }
.auth-field__error { margin: 6px 0 0 20px; font-size: 13px; color: #c62828; }

.auth-form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 39px; font-size: 13px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; color: var(--a-muted); cursor: pointer; min-height: 24px; }
.auth-check input { appearance: none; width: 15px; height: 15px; margin: 0; border: 1px solid #cfd6dc; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; }
.auth-check input::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--a-pink); transform: scale(0); transition: transform .15s; }
.auth-check input:checked { border-color: var(--a-pink); }
.auth-check input:checked::after { transform: scale(1); }
.auth-link { color: var(--a-pink); text-decoration: underline; text-underline-offset: 2px; font-size: 13px; display: inline-block; padding-block: 4px; }
.auth-link:hover { color: var(--a-btn); }
.auth-link--plain { text-decoration: none; font-size: inherit; }
.auth-link--plain:hover { text-decoration: underline; }
.auth-link--button { background: none; border: 0; cursor: pointer; font: inherit; color: var(--a-pink); padding: 4px 0; }

.auth-btn {
    display: block; width: 100%; height: 34px; margin-top: 32px; border: 0; border-radius: 17px; cursor: pointer;
    background: var(--a-btn); color: #fff; font: 700 14px var(--a-font); text-transform: uppercase; letter-spacing: .02em;
    box-shadow: 0 1.5px 0 var(--a-pink); transition: background-color .2s;
}
.auth-btn:hover { background: #082640; }
.auth-btn:disabled { opacity: .7; cursor: wait; }
.auth-btn--sm { display: inline-block; width: auto; height: 34px; margin: 0; padding: 0 20px; }
.auth__switch { margin-top: 38px; font-size: 14px; color: var(--a-muted); }
.auth-intro { margin: -30px 0 26px; font-size: 14px; line-height: 1.6; color: #444; }
.auth-hint { margin: 10px 0 0 20px; font-size: 12px; color: var(--a-muted); }
.auth-form--compact + .auth__switch, .auth-form--compact .auth-btn { margin-top: 24px; }
.auth-alert { margin: -30px 0 24px; padding: 10px 14px; border-radius: 10px; font-size: 14px; text-align: left; }
.auth-alert--success { background: #e8f6ee; color: #1d6b3c; }
.auth-alert + .auth-intro { margin-top: 0; }

/* Visual side --------------------------------------------------------------- */
.auth__visual-side { position: relative; overflow: hidden; background: #fff var(--auth-scene) center / cover no-repeat; }
.auth__welcome { position: absolute; z-index: 2; top: 78px; left: 38px; right: 24px; }
.auth__welcome-title { max-width: 640px; font: 400 40px / 1 'Lato', var(--a-font); color: var(--a-text); }
.auth__words { margin-top: 8px; }
.auth__word { display: block; font: 700 49px / 1.04 'Lato', var(--a-font); letter-spacing: 0; }
.auth__word--pink { color: var(--a-pink); }
.auth__word--dark { color: var(--a-dark); }
.auth__word--navy { color: var(--a-navy); }
.auth__pilot { position: absolute; z-index: 1; right: 3%; bottom: 0; height: min(81%, calc(74.8vw - 472px)); width: auto; max-width: none; } /* width-based cap keeps it clear of the words */

/* Below 992px: form only, full width (visual panel hidden) */
@media (max-width: 991.98px) {
    .auth { grid-template-columns: minmax(0, 1fr); }
    .auth__visual-side { display: none; }
    .auth__form-side { padding: 48px 0 40px; }
    .auth__inner { width: min(420px, calc(100% - 40px)); }
    .auth__form-side { min-width: 0; overflow-x: clip; }
    .auth-field, .auth-field__box, .auth-btn, .auth-form { max-width: 100%; box-sizing: border-box; }
    .auth__logo { margin-bottom: 48px; }
}
@media (max-width: 400px) {
    .auth-form__row { flex-wrap: wrap; }
}

/* Placeholder shell for Student / Admin dashboards -------------------------- */
.panel-body { background: #f6f8fb; min-height: 100vh; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.panel-header img { width: 118px; height: auto; }
.panel-header__user { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.panel { max-width: 960px; margin: 40px auto; padding: 32px; background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(12, 51, 84, .06); }
.panel__title { margin: 0 0 8px; font-size: 26px; font-weight: 700; color: var(--a-btn); }
.panel__lead { margin-bottom: 24px; color: #444; }
.panel__lead + .auth-alert { margin: 0 0 24px; }
.panel__subtitle { margin: 24px 0 12px; font-size: 16px; font-weight: 700; color: var(--a-text); }
.panel__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.panel__list li { padding: 12px 14px; border: 1px dashed #c9d4df; border-radius: 10px; font-size: 14px; color: #555; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }

/* One-line result message above the password forms */
.auth-status { margin: -34px 0 30px; font-size: 19px; font-weight: 600; line-height: 1.35; text-align: center; }
.auth-status--ok { color: #1a8a4f; }
.auth-status--error { color: #d6334a; }
