html.login-page,
html.login-page body { min-height: 100%; margin: 0; background: #fff !important; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr); color: #111; }
.login-brand-panel { position: relative; overflow: hidden; min-height: 100vh; background: #0b0b0b; color: #fff; }
.login-brand-panel::before { content: ""; position: absolute; width: 38rem; height: 38rem; left: -16rem; bottom: -22rem; border-radius: 50%; background: #f2b705; filter: blur(2px); opacity: .96; }
.login-brand-panel::after { content: ""; position: absolute; width: 22rem; height: 22rem; right: -12rem; top: -12rem; border: 1px solid rgba(242,183,5,.45); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(242,183,5,.025), 0 0 0 8rem rgba(242,183,5,.02); }
.login-brand-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 72px 72px; transform: perspective(700px) rotateX(58deg) scale(1.35) translateY(22%); transform-origin: bottom; }
.login-brand-content { position: relative; z-index: 1; display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 5vw, 5rem); }
.login-brand-lockup { display: flex; align-items: center; gap: 1rem; color: #fff; font-size: 1.65rem; font-weight: 800; letter-spacing: .02em; }
.login-brand-icon { display: inline-flex; width: 2.65rem; height: 2.65rem; align-items: center; justify-content: center; border-radius: .75rem; background: #f2b705; color: #0b0b0b; font-size: 1.1rem; }
.login-brand-logo { display: block; width: 4.25rem; height: 4.25rem; object-fit: contain; }
.login-brand-word { font-weight: 800; }
.login-brand-message { max-width: 43rem; margin: auto 0; }
.login-eyebrow { margin-bottom: 1rem; color: #a07900 !important; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.login-brand-message .login-eyebrow { color: #f2b705 !important; }
.login-brand-message h1 { margin: 0 0 1.6rem !important; color: #fff; font-size: clamp(3rem, 5vw, 5.8rem); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.login-brand-message > p:last-child { max-width: 38rem; margin: 0; color: #c7c7c7 !important; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; }
.login-brand-footer { margin: 0; color: rgba(255,255,255,.58) !important; font-size: .78rem; }

.login-form-panel { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: clamp(2rem, 6vw, 7rem); background: #fff; }
.login-form-wrap { width: 100%; max-width: 28rem; }
.login-mobile-brand { display: none; }
.login-form-wrap h2 { margin: 0 0 .7rem !important; color: #111; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 700; letter-spacing: -.035em; }
.login-form-intro { margin-bottom: 2.8rem; color: #777 !important; }
.login-form .form-label { margin-bottom: .55rem; color: #333; font-size: .83rem; font-weight: 600; }
.login-form .form-control { min-height: 3.35rem; padding: .8rem 0; border: 0; border-bottom: 1px solid #bfc3c8; border-radius: 0; background: transparent; color: #111; box-shadow: none; }
.login-form .form-control:focus { border-bottom: 2px solid #d99f00 !important; box-shadow: none !important; }
.password-field { position: relative; width: 100%; }
.password-field .form-control { padding-right: 3.25rem; }
.password-toggle { align-items: center; background: transparent; border: 0; bottom: 0; color: #555; display: inline-flex; font-size: 1rem; height: 3.35rem; justify-content: center; line-height: 1; padding: 0; position: absolute; right: 0; top: auto; transform: none; width: 3rem; z-index: 2; }
.password-toggle i { display: block; line-height: 1; pointer-events: none; }
.password-toggle:hover, .password-toggle:focus { color: #111; outline: 2px solid transparent; }
.login-submit { min-height: 3.35rem; margin-top: .5rem; border: 1px solid #0b0b0b; border-radius: .45rem; background: #0b0b0b; color: #fff; font-weight: 600; }
.login-submit:hover, .login-submit:focus { border-color: #f2b705; background: #f2b705; color: #0b0b0b; }
.login-help { margin: 1.5rem 0 0; color: #8a8a8a !important; font-size: .78rem; text-align: center; }

@media (max-width: 900px) {
    .login-shell { display: block; background: #f4f5f7; }
    .login-brand-panel { display: none; }
    .login-form-panel { min-height: 100vh; padding: 2rem; background: #f4f5f7; }
    .login-form-wrap { max-width: 31rem; padding: clamp(2rem, 8vw, 4rem); border: 1px solid #e2e5e9; border-radius: 1rem; background: #fff; box-shadow: 0 1rem 3rem rgba(0,0,0,.08); }
    .login-mobile-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 3rem; color: #111; }
}

@media (max-width: 520px) {
    .login-form-panel { padding: 0; }
    .login-form-wrap { min-height: 100vh; padding: 2rem 1.5rem; border: 0; border-radius: 0; box-shadow: none; }
}
