:root {
  --circular-deep: #084a31;
  --circular-green: #0d6843;
  --circular-bright: #69dc9a;
  --circular-mint: #edf8f1;
  --ink: #14252c;
  --muted: #65747a;
  --line: #d9e2df;
}

* { box-sizing: border-box; }
body.circular-login { margin: 0; min-height: 100vh; color: var(--ink); background: #f7faf8; font-family: Inter, "Segoe UI", Arial, sans-serif; }
.login-shell { display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr); min-height: 100vh; }
.login-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 8vw, 112px); color: #fff; background: linear-gradient(145deg, var(--circular-deep), #11734a 68%, #168555); }
.login-story::before, .login-story::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.login-story::before { width: 430px; height: 430px; right: -160px; top: -180px; }
.login-story::after { width: 300px; height: 300px; left: -190px; bottom: -175px; }
.story-mark { position: absolute; top: clamp(32px, 6vw, 76px); left: clamp(48px, 8vw, 112px); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.story-mark svg { width: 34px; fill: #fff; }
.story-content { position: relative; z-index: 1; max-width: 650px; }
.story-eyebrow { margin: 0 0 22px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.story-content h1 { max-width: 590px; margin: 0 0 25px; font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 850; line-height: .98; letter-spacing: -.055em; }
.story-content h1::after { content: ""; display: block; width: 105px; height: 7px; margin-top: 22px; border-radius: 9px; background: var(--circular-bright); }
.story-lead { max-width: 620px; margin: 0 0 16px; font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.55; }
.story-copy { max-width: 610px; margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.65; }
.story-benefits { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .9rem; font-weight: 650; }
.story-benefits span { display: inline-flex; align-items: center; gap: 8px; }
.story-benefits i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--circular-bright); font-style: normal; }
.story-footnote { position: absolute; bottom: 34px; left: clamp(48px, 8vw, 112px); margin: 0; color: rgba(255,255,255,.6); font-size: .82rem; }

.login-access { display: grid; place-items: center; padding: clamp(30px, 6vw, 90px); background: radial-gradient(circle at 100% 0, #edf8f1, transparent 34%), #fbfdfc; }
.access-card { width: min(100%, 500px); }
.access-logo { display: block; width: min(100%, 360px); max-height: 112px; margin: 0 0 clamp(35px, 6vh, 70px); object-fit: contain; object-position: left center; }
.access-heading > span { display: block; margin-bottom: 9px; color: var(--circular-green); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.access-heading h2 { margin: 0 0 9px; color: var(--ink); font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 850; letter-spacing: -.035em; }
.access-heading p { margin: 0 0 32px; color: var(--muted); font-size: 1rem; }
.login-alert { margin-bottom: 18px; padding: 12px 15px; border: 1px solid #f2c4c4; border-radius: 12px; color: #8b2525; background: #fff2f2; }
.field-group { margin-bottom: 20px; }
.field-group label { display: block; margin-bottom: 8px; font-size: .92rem; font-weight: 650; }
.field-control { display: flex; align-items: center; min-height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field-control:focus-within { border-color: #36a56b; box-shadow: 0 0 0 4px rgba(54,165,107,.11); }
.field-control > span { width: 24px; color: #6c9c85; font-size: 1.08rem; display: inline-flex; align-items: center; justify-content: center; }
.field-control input { flex: 1; height: 50px; padding: 0 4px; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; }
.captcha-card { display: grid; grid-template-columns: 1fr 44px 115px; align-items: center; gap: 12px; margin: 26px 0 24px; padding: 13px 14px; border: 1px solid #cce8d7; border-radius: 14px; background: var(--circular-mint); }
.captcha-card small, .captcha-card strong { display: block; }
.captcha-card small { color: var(--muted); font-size: .75rem; }
.captcha-card strong { margin-top: 2px; font-size: .95rem; }
.captcha-refresh { width: 42px; height: 42px; border: 1px solid #208b58; border-radius: 9px; color: #147548; background: #fff; font-size: 1.25rem; cursor: pointer; }
.captcha-answer input { width: 100%; height: 42px; border: 1px solid #d1dad7; border-radius: 9px; text-align: center; background: #fff; }
.access-submit { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 54px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(90deg, #147548, #38a768); font-size: 1.05rem; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.access-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(19,117,72,.2); }
.secure-note { margin: 27px 0 0; color: #7a8884; text-align: center; font-size: .75rem; }

@media (max-width: 940px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-story { min-height: 360px; padding: 110px 42px 52px; }
  .story-mark { top: 30px; left: 42px; }
  .story-content h1 { max-width: 720px; font-size: clamp(2.55rem, 8vw, 4.5rem); }
  .story-copy { display: none; }
  .story-footnote { display: none; }
  .login-access { padding: 48px 28px 64px; }
  .access-logo { width: min(100%, 320px); margin-bottom: 38px; }
}

@media (max-width: 520px) {
  .login-story { min-height: 325px; padding: 98px 24px 38px; }
  .story-mark { left: 24px; width: 52px; height: 52px; border-radius: 16px; }
  .story-content h1 { font-size: 2.65rem; }
  .story-lead { font-size: .98rem; }
  .story-benefits { gap: 12px; margin-top: 22px; font-size: .8rem; }
  .login-access { padding: 40px 20px 52px; }
  .captcha-card { grid-template-columns: 1fr 42px; }
  .captcha-answer { grid-column: 1 / -1; }
  .access-heading h2 { font-size: 2rem; }
}

.password-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.15rem;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.password-toggle-btn:hover {
  opacity: 1;
}
