.login-main {
  margin: 0;
  min-height: 100vh;
  padding: 32px;
  background:
    radial-gradient(circle at 10% 15%, rgba(215,241,93,.20), transparent 26%),
    linear-gradient(135deg, #10271f, #005f48);
  display: grid;
  place-items: center;
}
.login-shell {
  width: min(1080px, 100%);
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
}
.login-intro {
  position: relative;
  padding: 48px;
  color: white;
  background: linear-gradient(145deg, #19372e, #006b4f);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-intro::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border: 72px solid rgba(215,241,93,.14);
  border-radius: 50%;
}
.login-intro .login-brand { color: white; }
.login-intro .brand-mark { width: 52px; height: 52px; font-size: 28px; }
.login-intro .login-brand > div { font-size: 18px; }
.login-message { margin: auto 0; max-width: 470px; position: relative; z-index: 1; }
.login-kicker {
  display: inline-block;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}
.login-message h1 { margin: 16px 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.login-message p { margin: 0; max-width: 410px; color: rgba(255,255,255,.77); font-size: 17px; line-height: 1.6; }
.login-features { display: flex; gap: 22px; flex-wrap: wrap; color: #e6f2ed; font-size: 13px; position: relative; z-index: 1; }
.login-card {
  width: auto;
  border-radius: 0;
  box-shadow: none;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-card h2 { margin: 7px 0 4px; font-size: 32px; letter-spacing: -.02em; }
.login-help { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.login-form { gap: 17px; margin-top: 22px; }
.login-form label { font-size: 14px; }
.login-form input { min-height: 54px; font-size: 16px; border-width: 2px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 90px; }
.show-password {
  position: absolute;
  right: 7px;
  top: 7px;
  bottom: 7px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--green);
  background: #eaf3ef;
  font-weight: 800;
  cursor: pointer;
}
.login-submit { min-height: 56px; margin-top: 3px; font-size: 17px; background: #006b4f !important; box-shadow: 0 10px 24px rgba(0,107,79,.22); }
.login-support { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.demo { margin-top: 24px; padding: 16px; background: #f3f5ef; border: 1px solid #e0e6dc; }
.demo > strong { font-size: 13px; }
.demo > p { margin: 4px 0 11px; color: var(--muted); font-size: 12px; }
.demo-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-buttons button {
  min-height: 112px;
  padding: 10px;
  text-align: left;
  border: 1px solid #d5ded9;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.demo-profile {
  min-height: 76px;
  padding: 14px;
  border: 1px solid #d5ded9;
  border-radius: 10px;
  background: white;
}
.demo-profile b,.demo-profile span { display: block; }
.demo-profile span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.demo-buttons button:hover { border-color: var(--green2); background: #f7fbf9; }
.demo-buttons b,.demo-buttons span { display: block; }
.demo-buttons span { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.25; }
.demo-buttons code {
  display: block;
  margin-top: 7px;
  padding: 4px 6px;
  border-radius: 5px;
  background: #edf3f0;
  color: #183129;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.demo-buttons code + code { margin-top: 3px; }
@media (max-width: 820px) {
  .login-main { padding: 0; display: block; background: white; }
  .login-shell { min-height: 100vh; grid-template-columns: 1fr; border-radius: 0; }
  .login-intro { min-height: auto; padding: 24px 22px 28px; }
  .login-message { margin: 32px 0 0; }
  .login-message h1 { font-size: 31px; max-width: 500px; }
  .login-message p { font-size: 15px; }
  .login-features { display: none; }
  .login-card { padding: 30px 22px 36px; justify-content: flex-start; }
  .login-card h2 { font-size: 28px; }
  .demo-buttons { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .login-intro { padding: 18px; }
  .login-message { margin-top: 22px; }
  .login-message h1 { font-size: 27px; }
  .login-message p { display: none; }
  .login-card { padding: 24px 18px 30px; }
}
