/* Compact login card within the existing public site. */
.login-page-main { background: radial-gradient(ellipse at 50% 24%, #ffeadf70, transparent 48%), #fffaf7; }
.login-page [hidden] { display: none !important; }
.login-shell { display: grid; place-items: center; padding: 150px 24px 64px; }
.login-card { position: relative; width: min(440px, 100%); padding: 32px 34px; border: 1px solid #eee1d8; border-radius: 22px; background: #ffffff; box-shadow: 0 28px 65px #3523161c, 0 8px 22px #dd601012, 0 2px 5px #35231606; }
.login-card::before { content: ""; position: absolute; top: 0; left: 50%; width: 50px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #ff8a42, #f45105); transform: translateX(-50%); }
.login-heading { text-align: center; }
.login-badge { display: inline-flex; align-items: center; padding: 5px 11px; border: 1px solid #fff0e5; border-radius: 999px; color: #d9652c; background: #fff7f0; font-size: 10px; font-weight: 600; line-height: 1.2; letter-spacing: 0.07em; }
.login-heading h1 { margin: 13px 0 7px; color: #151b29; font-size: 31px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.login-heading p { margin: 0; color: #8a8e9c; font-size: 13px; line-height: 1.6; }
.login-form { margin-top: 27px; }
.login-field + .login-field { margin-top: 18px; }
.login-field > label { display: block; margin: 0 0 8px; color: #505665; font-size: 12px; font-weight: 550; line-height: 1.4; }
.login-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; height: 49px; border: 1px solid #e4e5ec; border-radius: 10px; background: #fcfcfe; box-shadow: 0 1px 2px #14213b03; transition: border-color 180ms, box-shadow 180ms, background 180ms; }
.login-input-wrap:hover { border-color: #d5d7e1; }
.login-input-wrap:focus-within { border-color: #f58a51; background: #ffffff; box-shadow: 0 0 0 3px #ff6d1510, 0 2px 5px #f4510507; }
.login-input-icon { position: absolute; left: 14px; width: 18px; height: 18px; color: #9298ad; pointer-events: none; }
.login-input-wrap input { min-width: 0; width: 100%; height: 100%; padding: 12px 13px 12px 43px; border: 0; outline: 0; border-radius: inherit; color: #30384c; background: transparent; font: inherit; font-size: 13px; }
.login-input-wrap input::placeholder { color: #a0a5b6; opacity: 1; font-size: 11.5px; }
.login-input-wrap input[name="password"] { padding-right: 47px; }
.login-password-toggle { position: absolute; right: 5px; display: grid; place-items: center; width: 36px; height: 36px; padding: 9px; border: 0; border-radius: 8px; color: #9298ad; background: transparent; cursor: pointer; }
.login-password-toggle:hover { color: #e16a2e; background: #fff4ed; }
.login-password-toggle svg { width: 18px; height: 18px; }
.login-remember { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 22px; margin: 17px 0 22px; color: #9398a6; font-size: 12px; line-height: 1.4; cursor: pointer; }
.login-remember input { appearance: none; display: grid; flex: 0 0 auto; place-content: center; width: 18px; height: 18px; margin: 0; border: 1px solid #dfe1e9; border-radius: 5px; background: #ffffff; cursor: pointer; }
.login-remember input:checked { border-color: #ff620c; background: #f96516; }
.login-remember input:checked::before { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 1.5px solid #ffffff; border-bottom: 1.5px solid #ffffff; transform: rotate(-45deg); }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 17px; border: 1px solid #f45105; border-radius: 10px; color: #ffffff; background: linear-gradient(110deg, #f45105, #ff6b16); box-shadow: 0 8px 17px #f451052b, inset 0 1px 0 #ffffff25; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 180ms, box-shadow 180ms, filter 180ms; }
.login-submit svg { width: 20px; height: 20px; transition: transform 180ms; }
.login-submit:hover { filter: brightness(1.03); box-shadow: 0 11px 22px #f4510535; transform: translateY(-1px); }
.login-submit:hover svg { transform: translateX(3px); }
.login-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.login-card :is(a, button, input[type="checkbox"]):focus-visible { outline: 2px solid #f99054; outline-offset: 4px; }
.login-error { margin: 21px 0 -7px; padding: 11px 13px; border: 1px solid #f1cbc3; border-radius: 9px; color: #a33427; background: #fff6f3; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.login-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .login-shell { padding: 118px 18px 42px; }
  .login-card { padding: 29px 23px; border-radius: 19px; box-shadow: 0 20px 45px #35231617, 0 6px 15px #dd60100d; }
  .login-heading h1 { font-size: 29px; }
  .login-heading p { font-size: 12px; }
  .login-form { margin-top: 25px; }
  .login-input-wrap { height: 50px; }
  .login-input-wrap input { font-size: 16px; }
  .login-input-wrap input::placeholder { font-size: 11px; }
  .login-remember { min-height: 26px; }
}
@media (max-width: 359px) { .login-shell { padding-inline: 14px; }.login-card { padding-inline: 19px; }.login-input-wrap input::placeholder { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .login-card *, .login-card *::before, .login-card *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .login-remember input { appearance: auto; }.login-remember input:checked::before { content: none; } }

.login-request-access { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; margin: 23px 0 0; padding-top: 19px; border-top: 1px solid #f0ece8; color: #969aa6; font-size: 12px; line-height: 1.7; text-align: center; }
.login-request-access a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; color: #e56729; font-weight: 600; text-decoration: none; }
.login-request-access a:hover { color: #c74d0f; text-decoration: underline; text-underline-offset: 3px; }
