/* auth-modern.css - admin login / reset-password: navy full-screen layout, brand left, white card right. */
body.auth-page {
    margin: 0; min-height: 100vh; color: #2c303b; background: #241640;
    font-family: 'Inter', 'Quicksand', 'Nunito', 'Segoe UI', Arial, sans-serif;
}
.auth {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh;
    background:
        radial-gradient(900px 500px at 12% 4%, #5a3f94 0%, transparent 60%),
        radial-gradient(760px 520px at 96% 96%, #1f7a42 0%, transparent 58%),
        #241640;
}
.auth *, .auth *::before, .auth *::after { box-sizing: border-box; }
.auth :where(h1, h2, p, ul) { margin: 0; padding: 0; font-family: inherit; }

/* ---------- brand side ---------- */
.auth__brand { display: flex; flex-direction: column; gap: 32px; padding: 40px 32px 32px max(56px, calc((100vw - 1280px) / 2)); color: #fff; }
.auth__brand-logo { width: 132px; height: auto; display: block; }
.auth__brand-copy { margin-top: auto; }
.auth__brand h2 { color: #fff; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.auth__brand p { max-width: 460px; color: #d3cbe8; font-size: .98rem; line-height: 1.6; }
.auth__points { list-style: none; margin-top: 22px !important; }
.auth__points li { position: relative; padding-left: 32px; margin: 10px 0; color: #ece8f7; font-size: .92rem; }
.auth__points li::before {
    content: "\2713"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%;
    background: #35bd64; color: #fff; font-size: .68rem; font-weight: 700; line-height: 20px; text-align: center;
}
.auth__copy { color: #b9aed6; font-size: .8rem; }
.auth__copy--mobile { display: none; }

/* ---------- card side ---------- */
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 32px max(48px, calc((100vw - 1280px) / 2)) 32px 16px; }
.auth__card { width: 100%; max-width: 420px; padding: 32px; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(3,8,26,.45); }
.auth__eyebrow {
    display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px;
    background: #ece9f5; color: #3d2a67; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.auth__title { color: #2c303b; font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.auth__sub { margin: 6px 0 20px !important; color: #6b6f82; font-size: .92rem; }

.auth__field { margin-bottom: 16px; }
.auth__label { display: block; margin: 0 0 6px; color: #2c303b; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.auth .form-control {
    display: block; width: 100%; height: 44px; padding: 0 14px; border: 1px solid #dde2ee; border-radius: 10px;
    background: #fff; color: #2c303b; font-size: .92rem; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.auth .form-control::placeholder { color: #9aa3bd; }
.auth .form-control:focus { border-color: #35bd64; box-shadow: 0 0 0 3px rgba(53,189,100,.18); outline: 0; }
.auth__pw { position: relative; }
.auth__pw .form-control { padding-right: 44px; }
.auth__pw-toggle {
    position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: transparent; color: #6b6f82;
    font-size: 1.15rem; cursor: pointer; border-radius: 0 10px 10px 0;
}
.auth__pw-toggle:hover { color: #3d2a67; }
.auth__pw-toggle:focus-visible { outline: 3px solid rgba(61,42,103,.35); outline-offset: -3px; }

.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 20px; font-size: .85rem; }
.auth__row--end { justify-content: flex-end; }
.auth__remember { display: inline-flex; align-items: center; gap: 4px; color: #2c303b; }
.auth__remember label { margin: 0; font-weight: 500; font-size: .85rem; }
.auth .card-link { color: #3d2a67; font-weight: 700; text-decoration: none; }
.auth .card-link:hover { color: #2f2052; text-decoration: underline; }

.auth .auth__submit, .auth button.auth__submit {
    display: block; width: 100%; height: 46px; padding: 0 1rem; border: 0; border-radius: 10px;
    background: #35bd64; color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .03em; line-height: 46px; box-shadow: 0 6px 16px rgba(53,189,100,.3);
    transition: background-color .15s ease, transform .15s ease;
}
.auth .auth__submit:hover { background: #2ca557; color: #fff; transform: translateY(-1px); }
.auth .auth__submit:focus-visible { outline: 3px solid rgba(61,42,103,.4); outline-offset: 2px; }

.auth .alert { border-radius: 10px; font-size: .85rem; margin-bottom: 16px; }
.auth .text-danger { display: block; margin-top: 6px; font-size: .82rem; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .auth__brand { padding: 28px 24px 8px; gap: 0; align-items: center; }
    .auth__brand-logo { width: 108px; }
    .auth__brand-copy, .auth__brand > .auth__copy { display: none; }
    .auth__panel { flex-direction: column; padding: 16px 20px 32px; }
    .auth__copy--mobile { display: block; margin-top: 22px; text-align: center; }
}
@media (max-width: 575.98px) {
    .auth__card { padding: 24px 20px; border-radius: 18px; }
    .auth__title { font-size: 1.4rem; }
    .auth__row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .auth * { transition: none !important; } }
