*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { overflow-x: hidden; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #1e2228 !important; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.content { flex: 1; display: flex; align-items: stretch; justify-content: center; padding: 0; }
footer { display: none; }

.login-shell { width: 100%; min-height: 100vh; display: flex; background: #fff; }
.login-brand-panel { flex: 0 0 51.2%; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 43px 52px 62px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(155deg, oklch(0.34 0.10 250) 0%, oklch(0.21 0.055 254) 100%); }
.login-brand-panel::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 46px 46px; }
.login-brand-panel::after { content: ""; position: absolute; width: 440px; height: 440px; right: -75px; top: 64px; border-radius: 50%; opacity: .55; background: radial-gradient(circle at center, transparent 0 39.5%, rgba(35,118,101,.62) 39.5% 40.1%, transparent 40.1% 69.5%, rgba(35,118,101,.62) 69.5% 70.1%, transparent 70.1% 94.5%, rgba(35,118,101,.62) 94.5% 95.1%, transparent 95.1%), linear-gradient(0deg, transparent 49.7%, rgba(35,118,101,.62) 49.7% 50.3%, transparent 50.3%), linear-gradient(45deg, transparent 49.7%, rgba(35,118,101,.62) 49.7% 50.3%, transparent 50.3%), linear-gradient(90deg, transparent 49.7%, rgba(35,118,101,.62) 49.7% 50.3%, transparent 50.3%), linear-gradient(135deg, transparent 49.7%, rgba(35,118,101,.62) 49.7% 50.3%, transparent 50.3%); }
.login-brand-mark { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.login-brand-logo { width: 70px; height: auto; display: block; object-fit: contain; object-position: left center; }
.login-brand-divider { width: 1px; height: 31px; background: rgba(255,255,255,.8); }
.login-product-mark { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.login-product-mark strong { color: #fff; font-size: 23px; letter-spacing: .02em; }
.login-product-mark small { color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .14em; }

.login-form-panel { flex: 1; min-width: 0; min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; }
.card-login { width: 100%; max-width: 360px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.card-login .text-center { margin-bottom: 24px !important; text-align: left !important; }
.card-login .text-center h2, .card-login .text-center h5 { margin: 0 0 8px; color: #101820; font-size: 21px; font-weight: 750; }
.card-login .text-center p { margin: 0; color: #78818c; font-size: 13px; }
.login-logo { width: 78px; height: auto; margin: 0 0 20px; }
.card-login label { display: block; margin-bottom: 6px; color: #17202a; font-size: 11px; font-weight: 650; }
.login-input-wrap { position: relative; }
.login-input-wrap > i { position: absolute; left: 13px; top: 50%; z-index: 1; transform: translateY(-50%); color: #a1a6ad; }
.login-control, .card-login input.form-control { height: 39px !important; margin: 0 !important; padding: 8px 14px 8px 36px; border: 1px solid #c9d0d8; border-radius: 5px; color: #1e2228; font-size: 13px; box-shadow: none; }
.card-login input.form-control:focus { border-color: #3667b8; box-shadow: 0 0 0 3px rgba(54,103,184,.12); }
.login-input-wrap .btn-eye-password { color: #8d949c; }
.login-input-wrap .btn-eye-password:hover { color: #1e4487; }
.login-options { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; }
.login-remember { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; color: #68727d !important; font-size: 12px !important; font-weight: 400 !important; }
.login-remember input { width: 15px; height: 15px; margin: 0; accent-color: #1767a2; }
.login-submit { height: 42px; border: 0; border-radius: 5px; background: #86aecc !important; font-size: 13px; font-weight: 700; }
.login-submit:hover { background: #6d9abb !important; }
.login-submit i { margin-left: 5px; }
.card-login a { color: #828282 !important; font-size: 13px; text-decoration: none; }
.card-login a:hover { color: #1e4487 !important; }
.card-login .alert { border-radius: 8px; font-size: 12px; }
.card-login .input-group .form-control { padding-left: 14px; }
.card-login .input-group .btn { height: 44px; border-color: #e3e6ea; }

@media (max-width: 760px) {
    .login-shell { display: block; min-height: auto; }
    .login-brand-panel { flex-basis: auto; min-height: 140px; padding: 30px 28px 36px; }
    .login-brand-panel::after { width: 340px; height: 340px; right: -140px; top: 18px; }
    .login-form-panel { min-height: auto; padding: 32px 24px 42px; }
}
