:root {
  --green-900: #044b31;
  --green-700: #087a4c;
  --green-500: #11ad6c;
  --ink-950: #071820;
  --ink-700: #34505d;
  --ink-600: #5b6f79;
  --line: #d7e1e5;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink-950);
  background: #f3f7f6;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { touch-action: manipulation; }
.icon { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); }
.login-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(42, 206, 133, .26), transparent 29%),
    radial-gradient(circle at 87% 80%, rgba(5, 127, 81, .52), transparent 34%),
    linear-gradient(145deg, #041a24 0%, #06323a 48%, #07543a 100%);
}
.login-hero::before, .login-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}
.login-hero::before { width: 520px; height: 520px; right: -230px; top: -180px; }
.login-hero::after { width: 360px; height: 360px; left: -180px; bottom: -130px; }
.login-hero__content { position: relative; z-index: 1; width: min(540px, 100%); }
.login-hero__logo {
  width: 105px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 9px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.login-hero__logo img { width: 79px; height: 114px; object-fit: contain; }
.login-badge { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .73rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.login-hero h1 { margin: 19px 0 14px; color: #fff; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.045em; }
.login-hero h1 span { color: #58d79c; }
.login-hero p { max-width: 480px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.75; }
.login-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; }
.login-point { padding: 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(255,255,255,.055); }
.login-point strong { display: block; color: #fff; font-size: .78rem; }
.login-point span { display: block; margin-top: 2px; color: rgba(255,255,255,.54); font-size: .65rem; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 42px; background: #f4f7f7; }
.login-card { width: min(430px, 100%); padding: 36px; border: 1px solid #dfe8e9; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 24px 65px rgba(7,24,32,.10); }
.login-mobile-brand { display: none; align-items: center; gap: 11px; margin-bottom: 24px; }
.login-mobile-brand img { width: 42px; height: 59px; object-fit: contain; }
.login-mobile-brand strong { display: block; font-size: .95rem; }
.login-mobile-brand span { display: block; color: var(--ink-600); font-size: .7rem; }
.login-card__eyebrow { margin: 0 0 6px; color: var(--green-700); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.login-card h2 { margin: 0; font-size: 1.75rem; letter-spacing: -.02em; }
.login-card__intro { margin: 7px 0 25px; color: var(--ink-600); font-size: .84rem; }
.login-alert { margin-bottom: 16px; padding: 11px 13px; border: 1px solid; border-radius: 11px; font-size: .75rem; }
.login-alert--error { color: #8a3030; border-color: #efc7c7; background: #fff1f1; }
.login-alert--info { color: #155c72; border-color: #bddce6; background: #edf8fb; }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; margin-bottom: 7px; color: var(--ink-700); font-size: .75rem; font-weight: 750; }
.login-input { position: relative; }
.login-input > .icon { position: absolute; left: 13px; top: 50%; color: #71858e; transform: translateY(-50%); pointer-events: none; }
.login-input input { width: 100%; min-height: 49px; padding: 11px 43px; color: var(--ink-950); border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.login-input input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(17,173,108,.12); }
.password-toggle { position: absolute; top: 50%; right: 7px; width: 37px; height: 37px; display: grid; place-items: center; padding: 0; color: #71858e; border: 0; border-radius: 9px; background: transparent; cursor: pointer; transform: translateY(-50%); }
.password-toggle:hover { color: var(--green-700); background: #eff7f3; }
.password-toggle:focus-visible, .login-button:focus-visible { outline: 3px solid rgba(17,173,108,.22); outline-offset: 2px; }
.login-button { width: 100%; min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 3px; color: #fff; border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: 0 12px 24px rgba(8,122,76,.22); font-weight: 800; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.login-button:hover { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(8,122,76,.28); }
.login-security { display: flex; align-items: flex-start; gap: 8px; margin-top: 19px; color: #75878e; font-size: .68rem; line-height: 1.55; }
.login-security .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--green-700); flex: 0 0 auto; }
.login-footer { margin-top: 27px; color: #87979d; text-align: center; font-size: .66rem; }
@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-hero { display: none; }
  .login-panel { min-height: 100vh; padding: 24px; background: radial-gradient(circle at 0 0, rgba(17,173,108,.10), transparent 34%), #f3f7f6; }
  .login-mobile-brand { display: flex; }
}
@media (max-width: 520px) {
  .login-panel { align-items: flex-start; padding: 16px; }
  .login-card { margin-top: max(8vh, 30px); padding: 25px 20px; border-radius: 19px; }
  .login-card h2 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
