* { box-sizing: border-box; }
:root { --login-blue: #275f76; --login-blue-dark: #1d4b5e; --login-green: #167c6a; --login-ink: #263b46; --login-muted: #667b86; }
html, body { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; margin: 0; color: var(--login-ink); font-family: 'Inter', sans-serif; background: #eef3f5; }
.login-page { display: grid; min-height: 100vh; min-height: 100dvh; grid-template-columns: minmax(330px, .92fr) minmax(460px, 1.08fr); }
.login-presentation { position: relative; display: flex; min-height: 100%; overflow: hidden; padding: clamp(34px, 6vw, 76px); flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(145deg, #173f51 0%, #276980 58%, #318398 100%); }
.login-presentation::before, .login-presentation::after { position: absolute; border-radius: 50%; content: ""; pointer-events: none; }
.login-presentation::before { top: -15vw; right: -18vw; width: 42vw; height: 42vw; background: rgba(126, 218, 223, .13); }
.login-presentation::after { right: 8%; bottom: -130px; width: 310px; height: 310px; border: 52px solid rgba(255, 255, 255, .055); }
.presentation-brand, .presentation-content, .presentation-footer { position: relative; z-index: 1; }
.presentation-brand { display: flex; align-items: center; gap: 12px; }
.presentation-brand-mark { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; color: #245f75; font-size: 1.1rem; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(10, 35, 46, .2); }
.presentation-brand strong { display: block; font-size: .96rem; letter-spacing: .03em; }
.presentation-brand > div > span { display: block; margin-top: 2px; color: #c8e4e9; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.presentation-content { max-width: 530px; margin: 70px 0; }
.presentation-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #c8e9ed; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.presentation-content h1 { max-width: 500px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.presentation-content p { max-width: 480px; margin: 20px 0 0; color: #d7e9ed; font-size: .9rem; line-height: 1.7; }
.presentation-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.presentation-feature { display: flex; align-items: center; gap: 9px; color: #eefafa; font-size: .72rem; font-weight: 700; }
.presentation-feature i { display: grid; width: 30px; height: 30px; place-items: center; color: #b9e7df; background: rgba(255, 255, 255, .1); border-radius: 8px; }
.presentation-footer { color: #b8d7de; font-size: .65rem; }
.login-access { display: grid; min-width: 0; padding: 32px; place-items: center; background: #f5f8f9; }
.login-card { width: min(460px, 100%); padding: 36px 38px 34px; background: #fff; border: 1px solid #dce6ea; border-radius: 18px; box-shadow: 0 16px 42px rgba(29, 54, 66, .1); }
.login-logo { display: block; width: auto; max-width: 180px; height: 58px; margin: 0 auto 27px; object-fit: contain; }
.login-heading { margin-bottom: 23px; text-align: center; }
.login-heading h2 { margin: 0; color: #213640; font-size: 1.42rem; font-weight: 800; }
.login-heading p { margin: 7px 0 0; color: var(--login-muted); font-size: .76rem; line-height: 1.5; }
.login-feedback { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; padding: 11px 12px; font-size: .73rem; font-weight: 650; line-height: 1.4; border-radius: 9px; }
.login-feedback.error { color: #8a2630; background: #fff1f2; border: 1px solid #f1c9ce; }
.login-feedback.success { color: #176653; background: #ecfaf5; border: 1px solid #bfe9d9; }
.password-rules { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; padding: 11px 12px; color: #536b76; font-size: .7rem; line-height: 1.5; background: #f0f6f8; border: 1px solid #d7e5ea; border-radius: 9px; }
.password-rules i { margin-top: 2px; color: var(--login-blue); }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; margin-bottom: 7px; color: #344d59; font-size: .72rem; font-weight: 800; }
.login-input-wrap { position: relative; }
.login-input-icon { position: absolute; top: 50%; left: 14px; color: #718690; font-size: .85rem; transform: translateY(-50%); pointer-events: none; }
.login-input { width: 100%; min-height: 51px; padding: 11px 44px 11px 42px; color: #263e49; font: inherit; font-size: .82rem; background: #fff; border: 1px solid #c9d7de; border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
.login-input::placeholder { color: #91a1a9; }
.login-input:focus { border-color: #47849a; box-shadow: 0 0 0 3px rgba(39, 95, 118, .13); }
.password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 37px; height: 37px; padding: 0; color: #617983; cursor: pointer; background: transparent; border: 0; border-radius: 8px; place-items: center; transform: translateY(-50%); }
.password-toggle:hover, .password-toggle:focus { color: var(--login-blue); background: #eef5f7; outline: none; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 5px 0 22px; }
.remember-option { display: inline-flex; align-items: center; gap: 8px; color: #536b76; font-size: .72rem; font-weight: 650; cursor: pointer; }
.remember-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--login-green); }
.forgot-link { color: var(--login-blue); font-size: .71rem; font-weight: 750; text-decoration: none; }
.forgot-link:hover { color: var(--login-blue-dark); text-decoration: underline; }
.login-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 51px; margin-top: 5px; padding: 10px 16px; color: #fff; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; background: var(--login-green); border: 0; border-radius: 10px; box-shadow: 0 8px 18px rgba(22, 124, 106, .2); transition: background .2s, transform .2s, box-shadow .2s; }
.login-button:hover, .login-button:focus { background: #116858; box-shadow: 0 10px 22px rgba(22, 124, 106, .25); outline: none; transform: translateY(-1px); }
.logout-form { margin: 12px 0 0; text-align: center; }
.logout-button { padding: 7px 12px; color: var(--login-blue); font: inherit; font-size: .71rem; font-weight: 750; cursor: pointer; background: transparent; border: 0; border-radius: 7px; }
.logout-button:hover, .logout-button:focus { color: var(--login-blue-dark); background: #eef5f7; outline: none; }
.login-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 17px 0 0; color: #748791; font-size: .64rem; text-align: center; }
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-presentation { min-height: auto; padding: 24px 28px; }
  .presentation-content { margin: 34px 0 12px; }
  .presentation-content h1 { font-size: 1.75rem; }
  .presentation-content p, .presentation-features, .presentation-footer { display: none; }
  .login-access { padding: 28px 18px 40px; }
}
@media (max-width: 520px) {
  .login-presentation { padding: 20px; }
  .presentation-content { margin: 27px 0 5px; }
  .presentation-content h1 { font-size: 1.45rem; }
  .login-access { padding: 18px 10px 30px; align-items: start; }
  .login-card { padding: 29px 19px 27px; border-radius: 14px; }
  .login-logo { height: 50px; margin-bottom: 22px; }
  .login-options { align-items: flex-start; flex-direction: column; gap: 13px; }
  .login-button { min-height: 54px; }
}
