/* Student sign in (/signin, Views/Jobs/signin.cshtml) and sign up (/signup, signup.cshtml):
   a gradient band with the brand, one centred card with Sign in | Create account tabs and
   floating-label fields, then the help / FAQ section. */
.au-page {
    --au-brand: #4338ca;
    --au-brand-2: #6366f1;
    --au-accent: #e11d48;
    --au-ink: #0f172a;
    --au-text: #334155;
    --au-muted: #64748b;
    --au-line: #e2e8f0;
    --au-field: #f8fafc;
    --au-card: #ffffff;
    --au-bg: #f3f5fb;
    position: relative;
    padding: 0 0 48px;
    background: var(--au-bg);
    font-family: 'Open Sans', 'Open Sans Fallback', 'Segoe UI', Arial, sans-serif;
}
html[data-theme="dark"] .au-page {
    --au-ink: #f1f5f9; --au-text: #cbd5e1; --au-muted: #94a3b8; --au-line: #334155; --au-field: #0f172a; --au-card: #1e293b; --au-bg: #0b1220;
}
.au-page *, .au-page *::before, .au-page *::after { box-sizing: border-box; }
.au-page a { text-decoration: none; }
.au-page button, .au-page input { font-family: inherit; }

/* ---------------------------------------------------------------- gradient band */
.au-hero {
    position: relative; overflow: hidden;
    padding: 100px 16px 150px;
    text-align: center; color: #fff;
    background:
        radial-gradient(520px 300px at 12% 20%, rgba(244, 63, 94, .45), transparent 65%),
        radial-gradient(520px 320px at 88% 10%, rgba(56, 189, 248, .35), transparent 65%),
        linear-gradient(135deg, #0b1023 0%, #1e1b4b 42%, #4338ca 78%, #7c3aed 100%);
}
.au-hero::after {   /* soft curve into the page */
    content: ''; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 90px;
    background: var(--au-bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.au-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.au-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; }
.au-brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; color: #fff; background: linear-gradient(145deg, #fb923c, #ea580c 55%, #c2410c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -10px rgba(234, 88, 12, .95); }
.au-brand b { font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.au-brand b span { font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', sans-serif; font-weight: 700; color: #fdba74; }
.au-hero p { margin: 10px auto 0; max-width: 460px; font-size: .92rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }

/* floating section badges (wide screens) */
.au-float { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .82rem; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); animation: auFloat 6s ease-in-out infinite; }
.au-float i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--c); font-size: .85rem; }
.au-float.f1 { left: 8%; top: 120px; }
.au-float.f2 { left: 13%; top: 215px; animation-delay: -2s; }
.au-float.f3 { right: 8%; top: 115px; animation-delay: -1s; }
.au-float.f4 { right: 12%; top: 212px; animation-delay: -3s; }
@keyframes auFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- card */
.au-card {
    position: relative; z-index: 2;
    width: min(440px, calc(100% - 24px)); margin: -128px auto 0;
    padding: 8px 26px 22px;
    border-radius: 24px; background: var(--au-card); border: 1px solid var(--au-line);
    box-shadow: 0 34px 70px -38px rgba(15, 23, 42, .6);
}
.au-card.is-wide { width: min(620px, calc(100% - 24px)); }
.au-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -26px 20px; border-bottom: 1px solid var(--au-line); }
.au-tabs a { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; color: var(--au-muted) !important; font-weight: 800; font-size: .92rem; transition: color .15s; }
.au-tabs a:hover { color: var(--au-ink) !important; }
.au-tabs a.is-on { color: var(--au-brand) !important; }
html[data-theme="dark"] .au-tabs a.is-on { color: #a5b4fc !important; }
.au-tabs a.is-on::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--au-brand), var(--au-brand-2)); }

.au-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.au-card h1 { margin: 0; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 1.32rem; font-weight: 800; letter-spacing: -.01em; color: var(--au-ink); }
.au-head p { margin: 3px 0 0; font-size: .82rem; color: var(--au-muted); }
.au-who { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: #eef2ff; color: var(--au-brand); font-size: .74rem; font-weight: 800; }
html[data-theme="dark"] .au-who { background: rgba(99, 102, 241, .18); color: #c7d2fe; }

.au-alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: .84rem; font-weight: 600; line-height: 1.45; }
.au-alert .fa { margin-top: 2px; }
.au-alert a { color: inherit; font-weight: 800; text-decoration: underline !important; }
html[data-theme="dark"] .au-alert { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .35); color: #fda4af; }

/* floating-label field: <div class="au-fl"><i icon/><label/><input placeholder=" "/></div> */
.au-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.au-grid .au-span { grid-column: 1 / -1; }
.au-f { margin: 0 0 12px; }
.au-fl { position: relative; }
.au-fl > .fa { position: absolute; left: 15px; top: 50%; z-index: 3; transform: translateY(-50%); color: var(--au-muted); font-size: .95rem; pointer-events: none; transition: color .15s; }
.au-fl > label {
    position: absolute; left: 42px; top: 50%; z-index: 3; margin: 0; max-width: calc(100% - 90px);
    transform: translateY(-50%); transform-origin: left center;
    color: var(--au-muted); font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease;
}
.au-page .au-fl input {
    width: 100%; height: 54px; margin: 0; padding: 20px 14px 4px 42px;
    border: 1.5px solid var(--au-line); border-radius: 14px; background: var(--au-field);
    color: var(--au-ink); font-size: .95rem; font-weight: 600; box-shadow: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.au-page .au-fl input::placeholder { color: transparent; }
.au-page .au-fl input:focus { outline: none; border-color: var(--au-brand-2); background: var(--au-card); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.au-fl:focus-within > .fa { color: var(--au-brand-2); }
/* label up: while typing, once filled, or for boxes that always show something (date, +91) */
.au-fl:focus-within > label, .au-fl.is-filled > label, .au-fl.is-fixed > label { top: 15px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.au-fl:focus-within > label { color: var(--au-brand-2); }
html[data-theme="dark"] .au-fl > label { color: var(--au-muted) !important; }   /* dark-mode.css sets every label to "inherit !important" */
html[data-theme="dark"] .au-fl:focus-within > label { color: #a5b4fc !important; }
html[data-theme="dark"] .au-foot a { color: var(--au-ink); }
/* browser autofill: the value is not readable from script until the visitor interacts, so ask CSS (kept separate: an older browser drops only this rule) */
.au-fl:has(input:-webkit-autofill) > label { top: 15px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.au-page .au-fl input[type="date"] { padding-right: 10px; }
.au-prefix { position: absolute; left: 42px; bottom: 9px; z-index: 3; color: var(--au-text); font-weight: 700; font-size: .95rem; pointer-events: none; }
.au-page .au-fl.has-prefix input { padding-left: 76px; }
.au-page .au-fl input.input-validation-error, .au-page .au-fl input.border-danger { border-color: #f43f5e; background: #fff7f8; }
html[data-theme="dark"] .au-page .au-fl input.input-validation-error, html[data-theme="dark"] .au-page .au-fl input.border-danger { background: rgba(244, 63, 94, .08); }
.au-f .field-validation-error, .au-f .text-danger { display: block; margin-top: 5px; font-size: .76rem; font-weight: 600; color: #e11d48 !important; }
.au-f .field-validation-valid { display: none; }
.au-hint { display: block; margin-top: 5px; font-size: .74rem; color: var(--au-muted); }

.au-row-end { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.au-row-end a { color: var(--au-brand); font-size: .8rem; font-weight: 700; }
html[data-theme="dark"] .au-row-end a { color: #a5b4fc; }
.au-row-end a:hover { text-decoration: underline; }

/* password strength (sign up) */
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.au-meter i { height: 3px; border-radius: 3px; background: var(--au-line); transition: background .2s; }
.au-meter[data-score="1"] i:nth-child(-n+1) { background: #ef4444; }
.au-meter[data-score="2"] i:nth-child(-n+2) { background: #f59e0b; }
.au-meter[data-score="3"] i:nth-child(-n+3) { background: #22c55e; }
.au-meter[data-score="4"] i { background: #16a34a; }

.au-submit {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; margin: 4px 0 0;
    border: 0; border-radius: 14px; cursor: pointer; color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .01em;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    box-shadow: 0 16px 28px -16px rgba(225, 29, 72, .95); transition: transform .15s, box-shadow .15s, opacity .15s;
}
.au-signin .au-submit { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); box-shadow: 0 16px 28px -16px rgba(22, 163, 74, .95); }
.au-signin .au-submit:hover { box-shadow: 0 20px 32px -16px rgba(22, 163, 74, 1); }
.au-signin .au-submit:focus-visible { outline: 3px solid rgba(22, 163, 74, .35); outline-offset: 2px; }
.au-signup .au-submit { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); box-shadow: 0 16px 28px -16px rgba(22, 163, 74, .95); }
.au-signup .au-submit:hover { box-shadow: 0 20px 32px -16px rgba(22, 163, 74, 1); }
.au-signup .au-submit:focus-visible { outline: 3px solid rgba(22, 163, 74, .35); outline-offset: 2px; }
.au-submit:hover { transform: translateY(-1px); box-shadow: 0 20px 32px -16px rgba(225, 29, 72, 1); }
.au-submit:focus-visible { outline: 3px solid rgba(225, 29, 72, .35); outline-offset: 2px; }
.au-submit .fa-arrow-right { transition: transform .15s; }
.au-submit:hover .fa-arrow-right { transform: translateX(3px); }
.au-submit.is-busy { pointer-events: none; opacity: .85; }
.au-submit.is-busy .au-submit-text, .au-submit.is-busy .fa-arrow-right { visibility: hidden; }
.au-submit.is-busy::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: auSpin .7s linear infinite; }
@keyframes auSpin { to { transform: rotate(360deg); } }

.au-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: .82rem; color: var(--au-muted); text-align: center; flex-wrap: wrap; }
.au-foot a { display: inline-flex; align-items: center; gap: 5px; color: var(--au-ink); font-weight: 800; }
.au-foot a:hover { color: var(--au-brand); }
.au-terms { margin: 10px 0 0; text-align: center; font-size: .72rem; line-height: 1.55; color: var(--au-muted); }
.au-terms a { color: var(--au-text) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; }
.au-terms .fa { color: var(--au-brand-2); }

/* perks under the card */
.au-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 780px; margin: 16px auto 0; padding: 0 12px; list-style: none; }
.au-perks li { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--au-card); border: 1px solid var(--au-line); color: var(--au-text); font-size: .78rem; font-weight: 700; }
.au-perks li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .66rem; background: var(--c); }

/* the e-mail code step (Views/Shared/_EmailOtpBox.cshtml) inside the card */
.au-card .eotp { max-width: none; margin: 0; padding: 4px 0 0; border: 0; box-shadow: none; background: transparent; color: var(--au-ink); }
.au-card .eotp-icon { width: 54px; height: 54px; font-size: 24px; }
html[data-theme="dark"] .au-card .eotp-lead { color: var(--au-muted); }

/* ---------------------------------------------------------------- help / FAQ */
.au-help { max-width: 980px; margin: 30px auto 0; padding: 24px 28px; border-radius: 22px; background: var(--au-card); border: 1px solid var(--au-line); }
.au-help-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; }
.au-help h2 { margin: 0 0 10px; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 1.08rem; font-weight: 800; color: var(--au-ink); }
.au-help p, .au-help ul { margin: 0 0 12px; font-size: .87rem; line-height: 1.7; color: var(--au-muted); }
.au-help ul { padding-left: 0; list-style: none; }
.au-help li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.au-help li::before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; top: 1px; color: #16a34a; font-size: .8rem; }
.au-faq { border-top: 1px solid var(--au-line); }
.au-faq:first-of-type { border-top: 0; }
.au-faq summary { position: relative; padding: 12px 30px 12px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: .88rem; color: var(--au-ink); }
.au-faq summary::-webkit-details-marker { display: none; }
.au-faq summary::after { content: '\f107'; font-family: FontAwesome; position: absolute; right: 4px; top: 11px; color: var(--au-brand-2); font-size: 1.1rem; transition: transform .2s; }
.au-faq[open] summary::after { transform: rotate(180deg); }
.au-faq p { margin: -4px 0 14px; }
.au-faq a { color: var(--au-brand); font-weight: 700; }
html[data-theme="dark"] .au-faq a { color: #a5b4fc; }

/* ---------------------------------------------------------------- employer pages (Views/Employer/Login, Register: stand-alone, no site header) */
body.au-body { margin: 0; background: #f3f5fb; }
html[data-theme="dark"] body.au-body { background: #0b1220; }
.au-emp .au-hero {
    padding-top: 92px;
    background:
        radial-gradient(520px 300px at 10% 15%, rgba(45, 212, 191, .35), transparent 65%),
        radial-gradient(520px 320px at 90% 5%, rgba(250, 204, 21, .22), transparent 65%),
        linear-gradient(135deg, #04131a 0%, #0b2b33 40%, #0f766e 80%, #0d9488 100%);
}
.au-topbar { position: absolute; z-index: 2; top: 18px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.au-topbar .au-brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .9rem; }
.au-topbar .au-brand b { font-size: 1.12rem; }
.au-back { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-size: .8rem; font-weight: 700; }
.au-back:hover { background: rgba(255, 255, 255, .18); }
.au-eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #99f6e4; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.au-hero h2 { margin: 12px 0 0; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; color: #fff; }
.au-hero h2 em { font-style: normal; background: linear-gradient(90deg, #5eead4, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-emp .au-hero p { margin-top: 8px; }
.au-emp .au-tabs a.is-on { color: #0f766e !important; }
html[data-theme="dark"] .au-emp .au-tabs a.is-on { color: #5eead4 !important; }
.au-emp .au-tabs a.is-on::after { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.au-emp .au-who { background: #ccfbf1; color: #0f766e; }
html[data-theme="dark"] .au-emp .au-who { background: rgba(20, 184, 166, .18); color: #5eead4; }
.au-emp .au-page .au-fl input:focus, .au-emp.au-page .au-fl input:focus { border-color: #14b8a6; box-shadow: 0 0 0 4px rgba(20, 184, 166, .16); }
.au-emp .au-fl:focus-within > .fa, .au-emp .au-fl:focus-within > label { color: #0d9488; }
html[data-theme="dark"] .au-emp .au-fl:focus-within > label { color: #5eead4 !important; }
.au-emp .au-submit { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); box-shadow: 0 16px 28px -16px rgba(15, 118, 110, .95); }
.au-emp .au-submit:hover { box-shadow: 0 20px 32px -16px rgba(15, 118, 110, 1); }
.au-emp .au-submit:focus-visible { outline-color: rgba(20, 184, 166, .4); }
.au-emp .au-row-end a, .au-emp .au-foot a:hover { color: #0f766e; }
html[data-theme="dark"] .au-emp .au-row-end a { color: #5eead4; }
.au-emp .au-terms .fa { color: #0d9488; }

.au-row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 12px; }
.au-row-between .au-row-end { margin: 0; }
.au-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--au-text); font-size: .82rem; font-weight: 600; cursor: pointer; }
.au-check input { width: 16px; height: 16px; margin: 0; accent-color: #0d9488; cursor: pointer; }
html[data-theme="dark"] .au-check { color: var(--au-text) !important; }
.au-err { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: .84rem; font-weight: 600; line-height: 1.45; }
.au-err::before { content: '\f06a'; font-family: FontAwesome; margin-top: 1px; }
.au-err:empty { display: none; }
html[data-theme="dark"] .au-err { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .35); color: #fda4af; }
.au-ok { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; font-size: .84rem; font-weight: 700; }
html[data-theme="dark"] .au-ok { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .35); color: #86efac; }

/* 6-digit e-mail code (employer register, step 2) */
.au-otp { text-align: center; }
.au-otp-ico { width: 56px; height: 56px; margin: 4px auto 10px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); box-shadow: 0 12px 24px -14px rgba(15, 118, 110, .9); }
.au-otp h2 { margin: 0 0 6px; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--au-ink); }
.au-otp > p { margin: 0 0 16px; font-size: .86rem; line-height: 1.5; color: var(--au-muted); }
.au-otp-boxes { display: flex; justify-content: center; gap: 8px; margin: 0 0 14px; }
.au-page .au-otp-boxes input { width: 46px; height: 54px; padding: 0; margin: 0; border: 1.5px solid var(--au-line); border-radius: 12px; background: var(--au-field); color: var(--au-ink); text-align: center; font-size: 1.35rem; font-weight: 800; }
.au-page .au-otp-boxes input:focus { outline: none; border-color: #14b8a6; background: var(--au-card); box-shadow: 0 0 0 4px rgba(20, 184, 166, .16); }
.au-otp .au-err { text-align: left; }
.au-otp-more { margin: 12px 0 0; font-size: .8rem; color: var(--au-muted); }
.au-linkbtn { padding: 0; border: 0; background: none; color: #0f766e; font-weight: 800; font-size: inherit; cursor: pointer; }
.au-linkbtn:disabled { color: var(--au-muted); cursor: default; }
.au-otp-more a { color: var(--au-text) !important; font-weight: 700; }
@media (max-width: 575px) {
    .au-emp .au-hero { padding-top: 76px; }
    .au-topbar { top: 14px; padding: 0 14px; }
    .au-back span { display: none; }
    .au-page .au-otp-boxes input { width: 40px; height: 50px; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1099px) { .au-float { display: none; } }
@media (max-width: 991px) {
    .au-help { margin-left: 12px; margin-right: 12px; }
    .au-help-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 575px) {
    .au-hero { padding: 76px 16px 132px; }
    .au-hero p { font-size: .85rem; }
    .au-card { padding: 4px 16px 18px; border-radius: 22px; }
    .au-tabs { margin: 0 -16px 16px; }
    .au-grid { grid-template-columns: minmax(0, 1fr); }
    .au-head .au-who { display: none; }
    .au-help { padding: 18px 16px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .au-float { animation: none; }
    .au-submit, .au-submit .fa-arrow-right, .au-fl > label { transition: none; }
    .au-submit:hover { transform: none; }
}
