/* Sign-in pages: green hero on the left, form on the right. */
:root { --lg-dark: #0d3b2e; --lg-mid: #0f6b4f; --lg-light: #23b58f; }
html, body { height: 100%; }
.login-body { margin: 0; background: #fff; color: #111; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
[data-bs-theme="dark"] .login-body { background: #0e1311; color: #e8eee9; }

.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: 100vh; padding: 10px; }

.login-hero {
    position: relative; border-radius: 22px; color: #fff; padding: 56px 56px 48px;
    background: radial-gradient(120% 80% at 50% 0%, var(--lg-light) 0%, var(--lg-mid) 45%, var(--lg-dark) 100%);
    display: flex; flex-direction: column; overflow: hidden;
}
.login-brand { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 600; letter-spacing: .2px; }
.login-brand .mark { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--lg-dark); display: grid; place-items: center; font-size: 1.4rem; }
.login-hero h2 { margin: 72px 0 10px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: .5px; line-height: 1.05; }
.login-hero .lead-text { color: rgba(255, 255, 255, .8); max-width: 34rem; }
.login-features { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 22px; }
.login-features li { display: flex; gap: 16px; align-items: flex-start; }
.login-features .ico { flex: 0 0 52px; height: 52px; border-radius: 14px; background: #d5f2e7; color: var(--lg-dark); display: grid; place-items: center; font-size: 1.4rem; }
.login-features strong { display: block; font-size: 1.05rem; font-weight: 600; }
.login-features span.d { color: rgba(255, 255, 255, .82); font-size: .95rem; }

.login-panel { display: flex; align-items: center; justify-content: center; padding: 32px 24px; }
.login-form-wrap { width: 100%; max-width: 380px; }
.login-form-wrap h1 { text-align: center; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; margin: 0 0 32px; }
.login-form-wrap .sub { text-align: center; color: #5c6762; margin: -18px 0 26px; font-size: .95rem; }
[data-bs-theme="dark"] .login-form-wrap .sub { color: #9aa8a1; }

.login-form-wrap label.lbl { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.login-input { position: relative; margin-bottom: 18px; }
.login-input input.form-control {
    height: 44px; border: 0; border-radius: 12px; background: #f3f4f3; padding: 0 44px 0 14px; font-size: .92rem; box-shadow: none;
}
[data-bs-theme="dark"] .login-input input.form-control { background: #1b221e; color: #e8eee9; }
.login-input input.form-control:focus { background: #fff; box-shadow: 0 0 0 2px var(--lg-mid); }
[data-bs-theme="dark"] .login-input input.form-control:focus { background: #1b221e; }
.login-input .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #5c6762; width: 34px; height: 34px; border-radius: 10px; }
.login-input .eye:hover { background: rgba(0, 0, 0, .06); }
.login-form-wrap .field-error { color: #c0392b; font-size: .8rem; display: block; margin-top: 4px; }

.login-link { color: inherit; font-weight: 700; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.login-link:hover { color: var(--lg-mid); }

.login-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 26px;
    border: 0; border-radius: 999px; background: var(--lg-dark); color: #fff; font-weight: 700; font-size: 1rem;
    transition: background .15s, transform .05s;
}
.login-submit:hover { background: #0a2e24; color: #fff; }
.login-submit:active { transform: translateY(1px); }
.login-foot { text-align: center; font-size: .8rem; color: #5c6762; margin-top: 18px; }
[data-bs-theme="dark"] .login-foot { color: #9aa8a1; }
.login-alert { background: #fdecea; color: #922b21; border-radius: 12px; padding: 10px 14px; font-size: .88rem; margin-bottom: 16px; }
.login-check { display: flex; gap: 8px; align-items: center; font-size: .85rem; margin: 4px 0 0; }

@media (max-width: 991.98px) {
    .login-shell { grid-template-columns: 1fr; min-height: 0; }
    .login-hero { padding: 28px 24px; }
    .login-hero h2 { margin: 22px 0 6px; font-size: 2rem; }
    .login-features { display: none; }
    .login-panel { padding: 24px 8px 40px; }
}
