  * { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --brand: #14398C;
    --brand-dark: #1e3a8a;
    --ink: #1e3a8a;
    --line: #c8cdd7;
    --muted: #9ca3af;
  }

  html, body { height: 100%; }

  body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #eef1f6;
    height: 100vh;
    overflow: hidden;
  }

  .card {
    height: 100vh;
    background: #fff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 7fr 5fr;
  }

  /* ---------- LEFT / HERO ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    /* background:
      radial-gradient(circle at 30% 35%, #1b3a8f 0%, #0d1f4d 55%, #060f2b 100%); */
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 56px;

  }

  /* dotted tech grid */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(96, 165, 250, .35) 1px, transparent 1.4px);
    background-size: 26px 26px;
    opacity: .5;
    -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,.9), rgba(0,0,0,.15));
            mask-image: linear-gradient(120deg, rgba(0,0,0,.9), rgba(0,0,0,.15));
  }

  .hands {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 50% 60%, rgba(59,130,246,.18), transparent 60%);
    opacity: .8;
  }

  .shield-wrap {
    position: absolute;
    inset: 0;
  }
  .shield-wrap svg,
  .shield-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-top-right-radius: 8%;
    border-bottom-right-radius: 8%;
  }

  .hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
    line-height: 1.05;
  }
  .hero-text .sm { font-size: 26px; font-weight: 500; opacity: .95; }
  .hero-text .lg {
    font-size: 54px;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: -1px;
  }

  /* ---------- RIGHT / FORM ---------- */
  .panel {
    padding: clamp(20px, 4vh, 48px) clamp(24px, 5vw, 70px);
    display: flex;
    /* align-items: center; */
    justify-content: center;
    height: 100vh;
    overflow: auto;
    width: 100%;
  }
  .panel-inner {
    width: 100%;
    /* max-width: 480px; */
    display: flex;
    flex-direction: column;
        justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .logo svg { width: 46px; height: 46px; }
  .logo .name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--brand);
    line-height: 1.05;
  }

  h1.title {
    margin-top: 30px;
    font-size: 25px;
    font-weight: 600;
    color: var(--brand);
  }

  /* sub text under the title (e.g. OTP page) */
  .subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
  }
  .subtitle b { color: #111827; }

  /* ---------- 2-Factor Verification ---------- */
  h1.title.center { text-align: center; }

  .qr {
    margin: 15px auto 0;
    width: 210px;
    height: 210px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .qr img { width: 100%; height: 100%; display: block; }

  .secret {
    margin-top: 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #111827;
  }
  .email-line {
    margin-top: 6px;
    text-align: center;
    font-size: 16px;
    color: var(--brand);
  }

  .otp-boxes {
    margin-top: 30px;
    display: flex;
    gap: 30px;
    justify-content: center;
  }
  .otp-boxes input {
    width: 65px;
    height: 65px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    outline: 0;
    transition: border-color .15s, box-shadow .15s;
  }
  .otp-boxes input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(29,78,216,.12);
  }

  form { margin-top: 32px; }

  .field {
    position: relative;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    transition: border-color .15s, box-shadow .15s;
  }
  .field:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(29,78,216,.12);
  }
  .field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6b7280;
  }
  .field input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 16px;
    color: #111827;
    padding-top: 5px;
    background: transparent;
  }
  .field .toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    line-height: 0;
  }

  /* captcha */
  .captcha {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 26px;
  }
  .captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid #CCCCCC;
    padding-bottom: 14px;
  }
  .captcha-row input {
    width: 20px;
    height: 20px;
    accent-color: var(--brand);
    cursor: pointer;
  }
  .captcha-row span { font-size: 18px; color: #000000; }
  .captcha .note {
    margin-top: 12px;
    font-size: 14px;
    font-style: italic;
    color: #000000;
  }

  .btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 20px;
    cursor: pointer;
    transition: background .15s, transform .05s;
  }
  .btn:hover { background: #092570; }
  .btn:active { transform: translateY(1px); }

  .forgot {
    margin-top: 14px;
    font-size: 16px;
    font-style: italic;
    color: #000000;
    text-decoration: none;
  }
  .forgot:hover { color: var(--brand); }

  /* "Do you want to Sign in? Click here" */
  .signin {
    margin-top: 18px;
    text-align: center;
    font-size: 15px;
    color: #374151;
  }
  .signin a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
  }
  .signin a:hover { text-decoration: underline; }

  .badges {
    margin-top: 0px;
    padding-top: 26px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    gap: 16px;
  }
  .badge {
    flex: 1;
    border: 1px solid #CCCCCC;
    border-radius: 12px;
    padding: 16px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #b8bdc7;
  }
  .badge svg { width: 34px; height: 34px; }
  .badge b { font-size: 13px; letter-spacing: .5px; color: #aeb3bd; }
  .badge small { font-size: 9px; letter-spacing: 1px; }

  .powered {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #BEBEBE;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .powered b { color: #f59e0b; }

  /* keep the right panel looking like 110% even at higher zoom (~175%) */
  @media (min-width: 1350px) and (max-width: 1700px) {
    .panel-inner { zoom: 0.87; }
    .hero-text .sm { zoom: 0.87; }
    .hero-text .lg { zoom: 0.87; }
  }
@media (max-width: 1350px) and (min-width: 1200px) {
  .panel-inner { zoom: 0.73; }
  .hero-text .sm  { zoom: 0.73; }
  .hero-text .lg  { zoom: 0.73; }
}
@media (max-width: 1150px) and (min-width: 1050px) {
  .panel-inner { zoom: 0.63; }
  .hero-text .sm { zoom: 0.63; }
  .hero-text .lg { zoom: 0.63; }
}
/* ~200% zoom */
@media (max-width: 1049px) and (min-width: 901px) {
  .panel-inner { zoom: 0.55; }
  .hero-text .sm { zoom: 0.55; }
  .hero-text .lg { zoom: 0.55; }
}

  @media (max-width: 900px) {
    .card { grid-template-columns: 1fr; }
    .hero { display: none; }
    .panel { height: 100vh; padding: 24px; }
    .panel-inner {
      width: 100%;
      max-width: 460px;
      justify-content: start;
      zoom: 1;
    }
  }

  @media (max-width: 480px) {
    .badges { flex-wrap: wrap; }
    .badge { flex: 1 1 calc(50% - 8px); }
    .hero-text .lg { font-size: 40px; }
  }
