:root {
  --ink: #14261c;
  --muted: #718077;
  --green: #123a25;
  --deep: #0b271a;
  --lime: #c8f36b;
  --line: #dfe9e1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: #f4f7f4;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(400px, 0.9fr);
}
.login-intro {
  position: relative;
  overflow: hidden;
  padding: 48px clamp(34px, 7vw, 110px);
  color: #f7fff8;
  background:
    radial-gradient(circle at 80% 16%, #2d6844 0, transparent 33%),
    linear-gradient(145deg, #0a2819, #174a30);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font: 700 22px Manrope;
}
.login-brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--lime);
  color: var(--green);
  font-weight: 800;
}
.login-brand em {
  font-style: normal;
  color: var(--lime);
}
.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 530px;
  margin-top: clamp(90px, 18vh, 185px);
}
.eyebrow {
  margin: 0;
  color: #b1c9b8;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}
.intro-copy h1 {
  max-width: 500px;
  margin: 16px 0;
  font: 800 clamp(42px, 5vw, 66px)/1.08 Manrope;
}
.intro-copy > p:last-child {
  max-width: 470px;
  color: #d1dfd5;
  font-size: 17px;
  line-height: 1.65;
}
.intro-signals {
  position: absolute;
  right: 9%;
  bottom: 17%;
  display: flex;
  align-items: end;
  gap: 12px;
  transform: skewX(-10deg);
  opacity: 0.8;
}
.intro-signals span {
  width: 43px;
  height: 70px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#d7ff86, #5aab68);
}
.intro-signals span:nth-child(2) {
  height: 110px;
}
.intro-signals span:nth-child(3) {
  height: 86px;
}
.intro-signals span:nth-child(4) {
  height: 145px;
}
.intro-signals span:nth-child(5) {
  height: 177px;
}
.intro-footer {
  position: absolute;
  bottom: 30px;
  left: clamp(34px, 7vw, 110px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(200, 243, 107, 0.24);
  border-radius: 12px;
  background: rgba(7, 34, 21, 0.28);
  box-shadow: 0 10px 25px rgba(2, 18, 10, 0.14);
  color: #d1e4d6;
  font-size: 12px;
  line-height: 1.25;
}
.intro-footer span {
  color: #adcab7;
  letter-spacing: 0.03em;
}
.intro-footer strong {
  color: var(--lime);
  font: 700 13px Manrope;
  white-space: nowrap;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 36px;
  background: linear-gradient(135deg, #f6faf6, #eef4ef);
}
.login-card {
  width: min(100%, 440px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 61, 40, 0.12);
}
.login-card .eyebrow {
  color: #72917d;
}
.login-card h2 {
  margin: 9px 0 8px;
  font: 800 31px Manrope;
}
.login-subtitle {
  margin: 0 0 30px;
  color: var(--muted);
  line-height: 1.55;
}
.login-card form {
  display: grid;
  gap: 18px;
}
.login-card label {
  display: grid;
  gap: 8px;
  color: #405047;
  font-size: 13px;
  font-weight: 700;
}
.login-card input {
  width: 100%;
  border: 1px solid #d9e5dc;
  border-radius: 11px;
  padding: 14px;
  background: #fbfdfb;
  color: var(--ink);
  font: 500 15px "DM Sans";
  outline: none;
}
.login-card input:focus {
  border-color: #4c936a;
  box-shadow: 0 0 0 4px #dff3e4;
}
.login-card button {
  margin-top: 7px;
  border: 0;
  border-radius: 11px;
  padding: 15px;
  background: var(--green);
  color: #fff;
  font: 700 15px "DM Sans";
  cursor: pointer;
  transition: 0.2s;
}
.login-card button:hover {
  background: #215b3b;
  transform: translateY(-1px);
}
.login-card button span {
  margin-left: 8px;
  color: var(--lime);
  font-size: 19px;
}
.security-note {
  display: flex;
  gap: 10px;
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid #e8efea;
  color: #718077;
  font-size: 12px;
  line-height: 1.45;
}
.security-note span {
  color: #63a956;
  font-size: 14px;
}
.security-note p {
  margin: 0;
}
.login-message {
  margin: 0 0 18px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff1f1;
  color: #9c4141;
  font-size: 13px;
}
.login-message.success {
  background: #eaf7ed;
  color: #307046;
}
@media (max-width: 820px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-intro {
    min-height: 255px;
    padding: 28px 28px;
  }
  .intro-copy {
    margin-top: 45px;
  }
  .intro-copy h1 {
    font-size: 33px;
  }
  .intro-copy > p:last-child,
  .intro-signals,
  .intro-footer {
    display: none;
  }
  .login-panel {
    padding: 28px;
  }
  .login-card {
    margin-top: -70px;
    position: relative;
  }
  .login-brand {
    font-size: 20px;
  }
}
@media (max-width: 440px) {
  .login-panel {
    padding: 16px;
  }
  .login-card {
    padding: 30px 24px;
    border-radius: 20px;
  }
  .login-intro {
    min-height: 225px;
  }
  .intro-copy h1 {
    font-size: 30px;
  }
}

/* Mobile layout: keep the sign-in card below the intro headline. */
@media (max-width: 820px) {
  .login-intro {
    min-height: 320px;
  }
  .intro-copy {
    margin-top: 48px;
  }
  .login-card {
    margin-top: -24px;
  }
}
@media (max-width: 440px) {
  .login-intro {
    min-height: 295px;
  }
  .intro-copy {
    margin-top: 42px;
  }
  .login-card {
    margin-top: -18px;
  }
}

/* Keep the creator credit visible on mobile without competing with the headline. */
@media (max-width: 820px) {
  .login-intro {
    min-height: 380px;
  }
  .intro-copy > p:last-child {
    display: block;
    max-width: 100%;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .intro-footer {
    display: flex;
    left: 28px;
    right: 28px;
    bottom: 18px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 8px 10px;
    font-size: 10px;
    text-align: center;
  }
  .intro-footer strong {
    font-size: 11px;
  }
}
@media (max-width: 440px) {
  .login-intro {
    min-height: 355px;
  }
}

/* Narrow phones: keep the hero and form in one compact, non-overlapping view. */
@media (max-width: 440px) {
  .login-intro {
    min-height: 320px;
    padding: 22px 20px;
  }
  .login-brand {
    gap: 10px;
    font-size: 18px;
  }
  .login-brand span {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .intro-copy {
    margin-top: 28px;
  }
  .intro-copy h1 {
    font-size: 29px;
    line-height: 1.05;
    margin: 12px 0;
  }
  .intro-copy > p:last-child {
    font-size: 12px;
    line-height: 1.35;
    margin-top: 10px;
  }
  .intro-footer {
    left: 20px;
    right: 20px;
    bottom: 12px;
    padding: 6px 8px;
    font-size: 9px;
  }
  .intro-footer strong {
    font-size: 10px;
  }
  .login-panel {
    padding: 12px;
  }
  .login-card {
    margin-top: 0;
    padding: 22px 20px;
    border-radius: 18px;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .login-subtitle {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 18px;
  }
  .login-card form {
    gap: 12px;
  }
  .login-card label {
    gap: 6px;
    font-size: 12px;
  }
  .login-card input {
    padding: 11px 12px;
    font-size: 14px;
  }
  .login-card button {
    padding: 12px;
    margin-top: 3px;
  }
  .security-note {
    display: none;
  }
}

/* Full-width sign-in composition: brand, login card, then creator footer. */
.login-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 8%, #2d6844 0, transparent 34%),
    linear-gradient(145deg, #0a2819, #174a30);
}
.login-intro {
  min-height: 0;
  padding: 48px 24px 28px;
  background: transparent;
}
.login-brand {
  justify-content: center;
}
.intro-copy,
.intro-signals {
  display: none;
}
.login-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding: 0 24px 34px;
  background: transparent;
}
.login-card {
  width: min(100%, 520px);
  padding: 42px;
}
.login-panel .intro-footer {
  position: static;
  width: auto;
  margin: 0;
  transform: none;
  white-space: normal;
  justify-content: center;
  background: rgba(7, 34, 21, 0.28);
}
@media (max-width: 440px) {
  .login-intro {
    padding: 28px 20px 20px;
  }
  .login-panel {
    padding: 0 12px 24px;
    gap: 10px;
  }
  .login-card {
    width: 100%;
    padding: 26px 22px;
  }
  .login-panel .intro-footer {
    width: 100%;
  }
}

/* Reference-style centered login page with full-width market backdrop. */
.login-shell {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background:
    radial-gradient(
      ellipse at 78% 28%,
      rgba(46, 130, 75, 0.42),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 15% 84%,
      rgba(23, 104, 57, 0.32),
      transparent 38%
    ),
    linear-gradient(135deg, #031f13 0%, #07351f 48%, #0b4a29 100%);
}
.login-shell::before {
  content: "";
  position: absolute;
  inset: 18% -8% 4%;
  opacity: 0.22;
  background: repeating-linear-gradient(
    166deg,
    transparent 0 92px,
    rgba(138, 226, 130, 0.22) 93px 94px,
    transparent 95px 170px
  );
  transform: skewY(-8deg);
  pointer-events: none;
}
.login-shell::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 5%;
  width: 35%;
  height: 45%;
  opacity: 0.22;
  background: repeating-linear-gradient(
    to top,
    rgba(118, 221, 105, 0.7) 0 8px,
    transparent 8px 42px
  );
  clip-path: polygon(
    0 100%,
    0 75%,
    8% 78%,
    8% 66%,
    16% 70%,
    16% 52%,
    24% 56%,
    24% 40%,
    32% 45%,
    32% 28%,
    40% 35%,
    40% 22%,
    48% 30%,
    48% 18%,
    56% 24%,
    56% 12%,
    64% 18%,
    64% 9%,
    72% 15%,
    72% 5%,
    80% 11%,
    80% 0,
    88% 7%,
    88% 100%
  );
  pointer-events: none;
}
.login-intro {
  position: relative;
  z-index: 1;
  padding: 64px 24px 30px;
  background: transparent;
}
.login-brand {
  justify-content: center;
  font-size: 26px;
}
.login-brand span {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 27px;
}
.intro-copy,
.intro-signals {
  display: none;
}
.login-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 0 24px 34px;
  background: transparent;
}
.login-card {
  width: min(100%, 680px);
  padding: 48px 54px;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}
.login-card h2 {
  font-size: 36px;
}
.login-subtitle {
  font-size: 16px;
}
.login-card input {
  padding: 16px;
  font-size: 16px;
}
.login-card button {
  padding: 16px;
  font-size: 16px;
}
.login-panel .intro-footer {
  position: static;
  width: auto;
  padding: 10px 16px;
  background: rgba(3, 31, 19, 0.34);
  border-color: rgba(200, 243, 107, 0.3);
}
@media (max-width: 680px) {
  .login-intro {
    padding: 36px 20px 24px;
  }
  .login-brand {
    font-size: 21px;
  }
  .login-brand span {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }
  .login-panel {
    padding: 0 16px 24px;
    gap: 14px;
  }
  .login-card {
    padding: 30px 24px;
    border-radius: 20px;
  }
  .login-card h2 {
    font-size: 29px;
  }
  .login-subtitle {
    font-size: 14px;
  }
  .login-panel .intro-footer {
    width: 100%;
    font-size: 10px;
  }
}

/* Final spacing: clear brand-to-card separation and a true bottom footer. */
.login-panel {
  padding-top: 150px;
  padding-bottom: 82px;
}
.login-card {
  margin-top: 28px;
}
.login-panel .intro-footer {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 20px !important;
  transform: translateX(-50%) !important;
  z-index: 10;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .login-panel {
    padding-top: 106px;
    padding-bottom: 60px;
  }
  .login-card {
    margin-top: 18px;
  }
  .login-panel .intro-footer {
    width: calc(100% - 24px);
    white-space: normal;
    text-align: center;
  }
}
.login-shell {
  background:
    radial-gradient(circle at 80% 16%, #2d6844 0, transparent 33%),
    linear-gradient(145deg, #0a2819, #174a30);
}
.login-shell::before,
.login-shell::after {
  display: none;
}
.login-panel .intro-footer {
  top: auto !important;
}

/* Desktop viewport lock and footer placement. */
@media (min-width: 821px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
  .login-shell {
    height: 100svh;
    min-height: 0;
  }
  .login-panel {
    min-height: 0;
    padding-bottom: 76px;
  }
  .login-panel .intro-footer {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 20px !important;
    transform: translateX(-50%) !important;
    z-index: 5;
    white-space: nowrap;
  }
}

/* Center the login experience within the viewport instead of extending below it. */
.login-shell {
  height: 100svh;
  min-height: 0;
}
.login-intro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 32px 24px 20px;
}
.login-panel {
  position: relative;
  min-height: 100svh;
  justify-content: center;
  padding: 112px 24px 76px;
}
.login-panel .intro-footer {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .login-intro {
    padding: 24px 20px 16px;
  }
  .login-panel {
    min-height: 100svh;
    padding: 86px 12px 62px;
  }
  .login-panel .intro-footer {
    width: calc(100% - 24px);
    white-space: normal;
  }
}

/* Reference footer: trust markers on the left and the creator credit on the right. */
.login-panel .intro-footer {
  position: fixed !important;
  inset: auto 24px 18px !important;
  transform: none !important;
  width: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(200, 243, 107, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #d1e4d6;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}
.footer-trust,
.footer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-trust {
  color: #d1e4d6;
}
.footer-trust span:first-child {
  color: #d8f978;
}
.footer-trust i {
  font-style: normal;
  color: rgba(209, 228, 214, 0.45);
}
.footer-credit {
  gap: 9px;
}
.footer-credit span {
  color: #c0d5c6;
}
.footer-credit strong {
  color: var(--lime);
  font: 700 11px Manrope;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .login-panel .intro-footer {
    inset: auto 20px 12px !important;
    padding-top: 10px;
    font-size: 9px;
    gap: 8px;
  }
  .footer-trust,
  .footer-credit {
    gap: 5px;
  }
  .footer-credit strong {
    font-size: 10px;
  }
  .footer-trust i {
    display: none;
  }
}
@media (max-width: 440px) {
  .login-panel .intro-footer {
    inset: auto 14px 10px !important;
    font-size: 8px;
  }
  .footer-credit strong {
    font-size: 9px;
  }
}

/* The footer belongs to .login-intro, not .login-panel. Keep it on the page bottom. */
.login-intro .intro-footer {
  position: fixed !important;
  top: auto !important;
  left: 24px !important;
  right: 24px !important;
  bottom: 18px !important;
  inset-block-start: auto !important;
  inset-block-end: 18px !important;
  inset-inline: 24px !important;
  transform: none !important;
  z-index: 20;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: auto !important;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(200, 243, 107, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #d1e4d6;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}
.login-intro .footer-trust,
.login-intro .footer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-intro .footer-trust {
  color: #d1e4d6;
}
.login-intro .footer-trust span:first-child {
  color: #d8f978;
}
.login-intro .footer-trust i {
  font-style: normal;
  color: rgba(209, 228, 214, 0.45);
}
.login-intro .footer-credit {
  gap: 9px;
}
.login-intro .footer-credit span {
  color: #c0d5c6;
  letter-spacing: 0;
}
.login-intro .footer-credit strong {
  color: var(--lime);
  font: 700 11px Manrope;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .login-intro .intro-footer {
    left: 20px !important;
    right: 20px !important;
    bottom: 12px !important;
    inset-block-end: 12px !important;
    inset-inline: 20px !important;
    padding-top: 10px;
    font-size: 9px;
    gap: 8px;
  }
  .login-intro .footer-trust,
  .login-intro .footer-credit {
    gap: 5px;
  }
  .login-intro .footer-credit strong {
    font-size: 10px;
  }
  .login-intro .footer-trust i {
    display: none;
  }
}
@media (max-width: 440px) {
  .login-intro .intro-footer {
    left: 14px !important;
    right: 14px !important;
    inset-inline: 14px !important;
    bottom: 10px !important;
    inset-block-end: 10px !important;
    font-size: 8px;
  }
  .login-intro .footer-credit strong {
    font-size: 9px;
  }
}

/* Reserve a permanent footer lane on desktop so the card can never overlap it. */
@media (min-width: 681px) {
  .login-panel {
    justify-content: center;
    padding: 118px 24px 82px;
  }
  .login-card {
    width: min(100%, 620px);
    margin: 0;
    padding: 34px 48px;
  }
  .login-card h2 {
    margin: 7px 0 6px;
    font-size: 32px;
  }
  .login-subtitle {
    margin-bottom: 22px;
    font-size: 15px;
  }
  .login-card form {
    gap: 13px;
  }
  .login-card input {
    padding: 13px 15px;
    font-size: 15px;
  }
  .login-card button {
    margin-top: 3px;
    padding: 13px 15px;
  }
  .security-note {
    margin-top: 19px;
    padding-top: 15px;
  }
}

/* Compact authentication composition matching the supplied reference. */
.login-shell {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 82% 12%,
      rgba(47, 126, 71, 0.55),
      transparent 37%
    ),
    linear-gradient(135deg, #022316 0%, #06371f 55%, #0e4a2b 100%);
}
.login-intro {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 30px 24px 0;
  background: transparent;
  overflow: visible;
}
.login-brand {
  justify-content: center;
  gap: 10px;
  font-size: 22px;
}
.login-brand span {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 20px;
}
.intro-copy,
.intro-signals {
  display: none !important;
}
.login-panel {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: 78px 20px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.login-card {
  width: min(100%, 460px);
  margin: 0;
  padding: 30px 34px 24px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}
.login-card .eyebrow {
  font-size: 9px;
  letter-spacing: 0.13em;
}
.login-card h2 {
  margin: 8px 0 5px;
  font-size: 27px;
  line-height: 1.15;
}
.login-subtitle {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.45;
}
.login-card form {
  gap: 12px;
}
.login-card label {
  gap: 6px;
  font-size: 10px;
}
.login-card input {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 12px;
}
.field-control {
  position: relative;
  display: block;
}
.field-control input {
  padding-left: 35px;
}
.field-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 11px;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  fill: none;
  stroke: #247042;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  pointer-events: none;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%);
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #61766b !important;
}
.password-toggle:hover {
  transform: translateY(-50%) !important;
  background: #eef6ef !important;
}
.password-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.field-control:has(.password-toggle) input {
  padding-right: 39px;
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1px;
}
.login-card .remember-option {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #263c30;
  font-size: 10px;
  font-weight: 600;
}
.login-card .remember-option input {
  width: 13px;
  height: 13px;
  margin: 0;
  padding: 0;
  accent-color: #0d512d;
}
.forgot-password {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #176536 !important;
  font: 600 10px "DM Sans";
  text-decoration: underline;
  cursor: pointer;
}
.forgot-password:hover {
  transform: none !important;
  color: #0d3e23 !important;
}
.login-card button[type="submit"] {
  margin-top: 2px;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
}
.login-card button[type="submit"] span {
  font-size: 16px;
}
.security-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #3d9a5b;
}
.security-divider span {
  height: 1px;
  flex: 1;
  background: #e4eee6;
}
.security-divider b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #edf8ef;
  color: #30804b;
  font-size: 15px;
  line-height: 1;
}
.security-note {
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding-top: 0;
  border: 0;
  font-size: 10px;
  line-height: 1.4;
}
.security-note svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #2e8a4b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.security-note p {
  max-width: 300px;
}
.login-message {
  margin-bottom: 14px;
  padding: 9px 11px;
  font-size: 11px;
}
.login-intro .intro-footer {
  left: 16px !important;
  right: 16px !important;
  bottom: 14px !important;
  inset-inline: 16px !important;
  inset-block-end: 14px !important;
  padding: 10px 66px 0;
  font-size: 9px;
}
.login-intro .footer-credit strong {
  font-size: 9px;
}
@media (max-width: 680px) {
  .login-shell {
    min-height: 100svh;
    height: auto;
    overflow: auto;
  }
  .login-intro {
    padding: 20px 16px 0;
  }
  .login-brand {
    font-size: 19px;
  }
  .login-brand span {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .login-panel {
    min-height: 100svh;
    padding: 74px 16px 68px;
    align-items: flex-start;
  }
  .login-card {
    width: min(100%, 460px);
    margin: auto;
    padding: 27px 25px 22px;
  }
  .login-intro .intro-footer {
    left: 14px !important;
    right: 14px !important;
    inset-inline: 14px !important;
    padding: 8px 0 0;
    font-size: 8px;
  }
  .login-intro .footer-trust,
  .login-intro .footer-credit {
    gap: 4px;
  }
  .login-intro .footer-trust i {
    display: none;
  }
  .login-intro .footer-credit strong {
    font-size: 8px;
  }
}
@media (max-height: 700px) and (min-width: 681px) {
  .login-card {
    padding: 24px 30px 20px;
  }
  .login-subtitle {
    margin-bottom: 15px;
  }
  .login-card form {
    gap: 9px;
  }
  .security-divider {
    margin-top: 11px;
  }
  .security-note {
    margin-top: 7px;
  }
  .login-panel {
    padding-top: 70px;
    padding-bottom: 58px;
  }
  .login-intro .intro-footer {
    bottom: 9px !important;
    inset-block-end: 9px !important;
    padding-top: 7px;
  }
}

/* Footer proportions and alignment from the approved reference. */
.login-intro .intro-footer {
  left: clamp(28px, 8vw, 120px) !important;
  right: clamp(28px, 8vw, 120px) !important;
  inset-inline: clamp(28px, 8vw, 120px) !important;
  bottom: 18px !important;
  inset-block-end: 18px !important;
  padding: 13px 0 0;
  font-size: 12px;
}
.login-intro .footer-trust,
.login-intro .footer-credit {
  gap: 12px;
}
.login-intro .footer-credit strong {
  font-size: 12px;
}
.login-intro .footer-trust i {
  font-size: 11px;
}
@media (max-width: 680px) {
  .login-intro .intro-footer {
    left: 18px !important;
    right: 18px !important;
    inset-inline: 18px !important;
    bottom: 12px !important;
    inset-block-end: 12px !important;
    padding-top: 10px;
    font-size: 9px;
  }
  .login-intro .footer-trust,
  .login-intro .footer-credit {
    gap: 5px;
  }
  .login-intro .footer-credit strong {
    font-size: 9px;
  }
}

/* Keep the decorative/branding layer from intercepting login clicks. */
.login-intro {
  pointer-events: none;
}
.login-brand,
.login-intro .intro-footer {
  pointer-events: auto;
}
.login-panel {
  z-index: 5;
}

/* Desktop hierarchy: brand first, then a deliberate compact gap before the form. */
@media (min-width: 681px) {
  .login-panel {
    justify-content: flex-start;
    padding-top: 130px;
  }
}
@media (min-width: 681px) and (max-height: 700px) {
  .login-panel {
    padding-top: 70px;
  }
}

/* Restore a deliberate brand-to-card gap without returning to the oversized gap. */
@media (min-width: 681px) {
  .login-card {
    margin-top: 36px !important;
  }
}
@media (min-width: 681px) and (max-height: 700px) {
  .login-card {
    margin-top: 20px !important;
  }
}
.login-intro .footer-credit {
  line-height: 1;
  white-space: nowrap;
}
.login-intro .footer-credit span,
.login-intro .footer-credit strong {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.login-intro .footer-credit strong {
  padding-top: 0;
}

/* Desktop card scale matches the larger reference composition. */
@media (min-width: 681px) and (min-height: 701px) {
  .login-card {
    width: min(100%, 620px);
    padding: 48px 54px 38px;
  }
  .login-card .eyebrow {
    font-size: 10px;
  }
  .login-card h2 {
    margin: 10px 0 8px;
    font-size: 38px;
  }
  .login-subtitle {
    margin-bottom: 30px;
    font-size: 16px;
  }
  .login-card form {
    gap: 18px;
  }
  .login-card label {
    gap: 8px;
    font-size: 12px;
  }
  .login-card input {
    padding: 16px 16px;
    font-size: 16px;
  }
  .field-control input {
    padding-left: 43px;
  }
  .field-icon {
    left: 14px;
    width: 18px;
    height: 18px;
  }
  .field-control:has(.password-toggle) input {
    padding-right: 46px;
  }
  .password-toggle {
    right: 10px;
    width: 34px;
    height: 34px;
  }
  .password-toggle svg {
    width: 19px;
    height: 19px;
  }
  .login-card button[type="submit"] {
    margin-top: 4px;
    padding: 16px;
    font-size: 16px;
  }
  .security-divider {
    margin-top: 24px;
  }
  .security-note {
    margin-top: 14px;
    font-size: 12px;
  }
  .security-note svg {
    width: 23px;
    height: 23px;
  }
}

/* Apply the reference-sized card on laptops too, regardless of browser zoom height. */
@media (min-width: 681px) {
  .login-card {
    width: min(100%, 620px);
    padding: 48px 54px 38px;
  }
  .login-card .eyebrow {
    font-size: 10px;
  }
  .login-card h2 {
    margin: 10px 0 8px;
    font-size: 38px;
  }
  .login-subtitle {
    margin-bottom: 30px;
    font-size: 16px;
  }
  .login-card form {
    gap: 18px;
  }
  .login-card label {
    gap: 8px;
    font-size: 12px;
  }
  .login-card input {
    padding: 16px;
    font-size: 16px;
  }
  .field-control input {
    padding-left: 43px;
  }
  .field-icon {
    left: 14px;
    width: 18px;
    height: 18px;
  }
  .field-control:has(.password-toggle) input {
    padding-right: 46px;
  }
  .password-toggle {
    right: 10px;
    width: 34px;
    height: 34px;
  }
  .password-toggle svg {
    width: 19px;
    height: 19px;
  }
  .login-card button[type="submit"] {
    margin-top: 4px;
    padding: 16px;
    font-size: 16px;
  }
  .security-divider {
    margin-top: 24px;
  }
  .security-note {
    margin-top: 14px;
    font-size: 12px;
  }
  .security-note svg {
    width: 23px;
    height: 23px;
  }
}

/* Short laptop viewports: preserve a dedicated footer lane below the card. */
@media (min-width: 681px) and (max-height: 700px) {
  .login-panel {
    padding-top: 94px !important;
    padding-bottom: 72px !important;
  }
  .login-card {
    width: min(100%, 600px) !important;
    margin-top: 22px !important;
    padding: 30px 42px 24px !important;
  }
  .login-card h2 {
    margin: 8px 0 6px !important;
    font-size: 32px !important;
  }
  .login-subtitle {
    margin-bottom: 19px !important;
    font-size: 15px !important;
  }
  .login-card form {
    gap: 11px !important;
  }
  .login-card label {
    gap: 6px !important;
    font-size: 11px !important;
  }
  .login-card input {
    padding: 13px !important;
    font-size: 15px !important;
  }
  .field-control input {
    padding-left: 38px !important;
  }
  .field-icon {
    left: 12px !important;
    width: 16px !important;
    height: 16px !important;
  }
  .field-control:has(.password-toggle) input {
    padding-right: 42px !important;
  }
  .password-toggle {
    right: 8px !important;
    width: 31px !important;
    height: 31px !important;
  }
  .login-card button[type="submit"] {
    margin-top: 2px !important;
    padding: 13px !important;
    font-size: 15px !important;
  }
  .security-divider {
    margin-top: 15px !important;
  }
  .security-note {
    margin-top: 9px !important;
    font-size: 11px !important;
  }
  .security-note svg {
    width: 20px !important;
    height: 20px !important;
  }
}
