:root {
  --bg: #f1f3ed;
  --ink: #12251d;
  --muted: #718077;
  --line: #e1e7dd;
  --brand: #116b45;
  --deepp: #082b1e;
  --lime: #c9f27c;
  --red: #c24b4b;
  --red-soft: #fbeaea;
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
svg { display: block; }

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
  min-height: 100vh;
}

.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px clamp(44px, 6vw, 96px);
  color: #f3faf4;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(201, 242, 124, 0.12), transparent 26rem),
    radial-gradient(circle at 15% 100%, rgba(201, 242, 124, 0.07), transparent 30rem),
    linear-gradient(155deg, #0b3526 0%, #082b1e 60%, #072318 100%);
}
.login-brand::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -190px;
  top: 17%;
  border: 1px solid rgba(201, 242, 124, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.018), 0 0 0 140px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}
.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 16px;
  background: var(--lime);
  color: var(--deepp);
  box-shadow: 0 14px 38px rgba(201, 242, 124, 0.16);
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-kicker {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: rgba(233, 243, 236, 0.5);
}
.login-brand h1 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 640;
}
.login-brand h1 span { color: var(--lime); }
.brand-copy {
  max-width: 470px;
  margin: 0 0 30px;
  color: rgba(233, 243, 236, 0.62);
  font-size: 13px;
  line-height: 1.65;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 470px;
}
.feature-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-dot {
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(201, 242, 124, 0.1);
}
.feature-row div { display: flex; flex-direction: column; gap: 2px; }
.feature-row strong { font-size: 11.5px; font-weight: 650; color: #f0f8f1; }
.feature-row small { font-size: 10px; line-height: 1.45; color: rgba(233, 243, 236, 0.45); }
.brand-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
  color: rgba(233, 243, 236, 0.38);
  font-size: 9.5px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 242, 124, 0.12);
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 242, 124, 0.1), transparent 18rem),
    var(--bg);
}
.login-card {
  width: min(408px, 100%);
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(18, 37, 29, 0.1);
}
.login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.login-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e7f5eb;
  color: var(--brand);
}
.login-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-pill {
  padding: 5px 9px;
  border-radius: 6px;
  background: #f2f7f1;
  color: var(--brand);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.login-pill.setup { background: #fdf2df; color: #9a611b; }
.login-pill.blocked { background: var(--red-soft); color: var(--red); }
.login-card h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 670;
  letter-spacing: -0.04em;
}
.login-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}
.alert {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--red-soft);
  border: 1px solid #f1cfcf;
  color: #973d3d;
  font-size: 10.5px;
  line-height: 1.45;
}
.alert.success {
  background: #e7f5eb;
  border-color: #c9e8d3;
  color: #25623f;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field > span {
  font-size: 10px;
  font-weight: 650;
  color: #30463b;
}
.field input {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #fff;
  font-size: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  border-color: rgba(17, 107, 69, 0.45);
  box-shadow: 0 0 0 3px rgba(17, 107, 69, 0.07);
}
.field small {
  color: #94a098;
  font-size: 9px;
  line-height: 1.4;
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-wrap button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
}
.password-wrap button:hover { background: #f8f9f5; color: var(--brand); }
.password-wrap svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 45px;
  margin-top: 6px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 680;
  box-shadow: 0 8px 24px rgba(17, 107, 69, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}
.submit-btn:hover { background: #0d5e3c; transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.submit-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.request-account {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 62px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1.5px solid #bfe8cf;
  border-radius: 12px;
  background: #f1fbf5;
  color: #0b5138;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.request-account:hover {
  border-color: #25d366;
  background: #e8f9ef;
  transform: translateY(-1px);
}
.request-account-icon {
  width: 39px;
  height: 39px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.25);
}
.request-account-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.request-account-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.request-account-copy strong {
  font-size: 11.5px;
  font-weight: 700;
}
.request-account-copy small {
  color: #4d7962;
  font-size: 8.8px;
  line-height: 1.4;
}
.request-account-arrow {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}
.login-note {
  margin: 15px 0 0;
  color: #94a098;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
}
.setup-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 17px;
  padding: 11px 12px;
  border: 1px solid #ece4d2;
  border-radius: 9px;
  background: #fff9ee;
  color: #7a5b22;
  font-size: 9.5px;
  line-height: 1.5;
}
.setup-note strong { font-size: 10px; }
.setup-note span { color: #8d7448; }
.copyright {
  margin: 22px 0 0;
  color: #9aa79f;
  font-size: 9px;
}
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-panel { min-height: 100vh; padding: 26px 18px; }
  .login-card { padding: 24px; }
}
