/* EasyCM auth responsive blue premium */

.ecm-auth-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(37, 99, 235, .16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(14, 165, 233, .14), transparent 26%),
    #f6f9ff;
  color: #080b12;
  font-family: var(--ecm-font-body);
  overflow-x: hidden;
}

.ecm-auth-body *,
.ecm-auth-body *::before,
.ecm-auth-body *::after {
  box-sizing: border-box;
}

.ecm-auth-body.ecm-has-mobile-dock {
  padding-bottom: 0;
}

.ecm-auth-body .eg-mobile-dock,
.ecm-auth-body .eg-mobile-dock-glow {
  display: none !important;
}

.ecm-auth-gate {
  --auth-ink: #05070d;
  --auth-muted: #6f7280;
  --auth-line: #dce7f7;
  --auth-primary: #2563eb;
  --auth-primary-deep: #0f3fb8;
  --auth-primary-soft: #edf5ff;
  --auth-primary-glow: rgba(37, 99, 235, .18);
  --auth-orange: var(--auth-primary);
  --auth-orange-deep: var(--auth-primary-deep);
  --auth-orange-soft: var(--auth-primary-soft);
  --auth-shadow: 0 30px 90px rgba(13, 59, 133, .16);
  width: min(100%, 1120px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 34px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: center;
  justify-content: center;
}

.ecm-auth-desktop-hero {
  display: none;
}

.ecm-auth-desktop-nav,
.ecm-auth-card-badge {
  display: none;
}

.ecm-auth-phone {
  position: relative;
  width: min(100%, 462px);
  min-height: min(92vh, 895px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--auth-shadow);
}

.ecm-auth-phone--register {
  padding: 22px 22px 28px;
}

.ecm-auth-statusbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 12px 34px 0;
  color: #030712;
  font-size: 1.1rem;
  font-weight: 900;
}

.ecm-auth-phone--register .ecm-auth-statusbar {
  padding: 0 24px;
}

.ecm-auth-statusbar span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
}

.ecm-auth-login-hero {
  position: relative;
  min-height: 312px;
  padding: 70px 30px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(37, 99, 235, .12), transparent 32%),
    linear-gradient(180deg, #fff 0%, #eef6ff 100%);
}

.ecm-auth-logo-lockup {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-ink);
  text-decoration: none;
}

.ecm-auth-logo-lockup img {
  width: min(285px, 78vw);
  max-height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(37, 99, 235, .14));
}

.ecm-auth-login-hero p {
  position: relative;
  z-index: 2;
  margin: 5px 0 0;
  color: #77727b;
  font-style: italic;
  font-weight: 600;
}

.ecm-auth-skyline {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  opacity: .45;
  background:
    linear-gradient(to top, rgba(191, 219, 254, .72), rgba(239, 246, 255, 0)),
    linear-gradient(to top, rgba(96, 165, 250, .34), rgba(96, 165, 250, .34)) 7% 100% / 9% 45% no-repeat,
    linear-gradient(to top, rgba(96, 165, 250, .28), rgba(96, 165, 250, .28)) 17% 100% / 7% 62% no-repeat,
    linear-gradient(to top, rgba(96, 165, 250, .24), rgba(96, 165, 250, .24)) 31% 100% / 11% 37% no-repeat,
    linear-gradient(to top, rgba(96, 165, 250, .2), rgba(96, 165, 250, .2)) 47% 100% / 13% 30% no-repeat,
    linear-gradient(to top, rgba(96, 165, 250, .25), rgba(96, 165, 250, .25)) 74% 100% / 12% 38% no-repeat,
    linear-gradient(to top, rgba(96, 165, 250, .2), rgba(96, 165, 250, .2)) 90% 100% / 13% 50% no-repeat;
}

.ecm-auth-sheet {
  position: relative;
  z-index: 3;
  min-height: 520px;
  margin-top: -40px;
  padding: 48px 28px 28px;
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -18px 50px rgba(15, 72, 150, .08);
}

.ecm-auth-login-head {
  text-align: center;
}

.ecm-auth-login-head h1,
.ecm-auth-register-top h1 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(2rem, 5vw, 2.65rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.055em;
}

.ecm-auth-login-head p,
.ecm-auth-register-top p {
  margin: 12px 0 0;
  color: var(--auth-muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.ecm-auth-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 30px 0 28px;
  padding: 4px;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

.ecm-auth-segment button {
  min-height: 55px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--auth-ink);
  font-size: 1rem;
  font-weight: 850;
}

.ecm-auth-segment button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--auth-orange), var(--auth-orange-deep));
  box-shadow: 0 14px 28px rgba(37, 99, 235, .25);
}

.ecm-auth-form {
  display: grid;
  gap: 15px;
}

.ecm-auth-field {
  position: relative;
}

.ecm-auth-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ecm-auth-field > i {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--auth-orange);
  font-size: 1.08rem;
}

.ecm-auth-field input,
.ecm-auth-field select {
  width: 100%;
  min-height: 74px;
  border: 1px solid #dfd9d4;
  border-radius: 14px;
  background: #fff;
  color: var(--auth-ink);
  padding: 0 50px 0 56px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  outline: none;
  appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ecm-auth-field select {
  color: #70727c;
  background:
    linear-gradient(45deg, transparent 50%, #6b7280 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #6b7280 50%, transparent 50%) calc(100% - 19px) 50% / 7px 7px no-repeat,
    #fff;
}

.ecm-auth-field input::placeholder {
  color: #777985;
  font-weight: 600;
}

.ecm-auth-field input:focus,
.ecm-auth-field select:focus {
  border-color: rgba(37, 99, 235, .72);
  background-color: #fff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.ecm-auth-field input.is-invalid {
  border-color: #ef4444;
}

.ecm-auth-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #70727c;
  font-size: 1.1rem;
}

.ecm-auth-login-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: -2px;
}

.ecm-auth-login-tools a,
.ecm-auth-register-login a,
.ecm-auth-terms a,
.ecm-auth-support a,
.ecm-auth-link {
  color: var(--auth-orange-deep);
  font-weight: 850;
  text-decoration: none;
}

.ecm-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #777985;
  font-size: .9rem;
  font-weight: 700;
}

.ecm-auth-remember input,
.ecm-auth-terms input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--auth-orange);
}

.ecm-auth-submit {
  min-height: 67px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--auth-orange), var(--auth-orange-deep));
  color: #fff;
  font-size: 1.08rem;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .27);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.ecm-auth-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 22px 42px rgba(37, 99, 235, .32);
}

.ecm-auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 26px 0 18px;
  color: #272a33;
  font-size: .95rem;
  font-weight: 650;
}

.ecm-auth-divider::before,
.ecm-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd7d2;
}

.ecm-auth-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ecm-auth-social-btn {
  min-height: 61px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #dfd9d4;
  border-radius: 14px;
  background: #fff;
  color: #2b2e38;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ecm-auth-social-btn:hover {
  color: #111827;
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .28);
  background: #f8fbff;
}

.ecm-auth-social-btn .fa-facebook {
  color: #1877f2;
  font-size: 1.42rem;
}

.ecm-auth-social-btn .fa-apple {
  color: #000;
  font-size: 1.42rem;
}

.ecm-auth-social-btn .fa-phone {
  color: var(--auth-orange);
  font-size: 1.3rem;
}

.ecm-auth-google-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
}

.ecm-auth-google-icon svg {
  width: 22px;
  height: 22px;
}

.ecm-auth-secure-note {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 28px;
  color: #5f636e;
  text-align: center;
}

.ecm-auth-secure-note i {
  color: #1f2937;
  font-size: 1.5rem;
}

.ecm-auth-secure-note strong {
  color: #2c2f38;
  font-size: 1.05rem;
}

.ecm-auth-secure-note span {
  color: #777985;
}

.ecm-auth-register-top {
  padding: 10px 2px 0;
  text-align: center;
}

.ecm-auth-round-back {
  position: absolute;
  top: 72px;
  left: 24px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--auth-line);
  border-radius: 50%;
  background: #fff;
  color: #111827;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.ecm-auth-register-top h1 {
  margin-top: 74px;
}

.ecm-auth-module-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 30px 0 30px;
}

.ecm-auth-module-row a {
  min-height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 10px 5px;
  border: 1px solid var(--auth-line);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(15, 23, 42, .06);
}

.ecm-auth-module-row i {
  font-size: 1.8rem;
}

.ecm-auth-module-row span {
  font-size: .8rem;
  font-weight: 800;
}

.ecm-auth-module-row .is-orange i { color: #2563eb; }
.ecm-auth-module-row .is-green i { color: #14a95b; }
.ecm-auth-module-row .is-blue i { color: #2f80d9; }
.ecm-auth-module-row .is-gold i { color: #f4a000; }
.ecm-auth-module-row .is-dark i { color: #2d3037; }

.ecm-auth-register-form {
  gap: 13px;
}

.ecm-auth-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ecm-auth-phone-field {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
}

.ecm-auth-phone-prefix {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #dfd9d4;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: #fff;
  color: var(--auth-ink);
  font: inherit;
  font-weight: 850;
}

.ecm-auth-phone-field .ecm-auth-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 18px;
}

.ecm-auth-terms {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #5f636e;
  font-size: .94rem;
  line-height: 1.55;
  font-weight: 650;
  margin-top: 2px;
}

.ecm-auth-register-login {
  margin: 24px 0 0;
  text-align: center;
  color: #6f7280;
  font-weight: 650;
}

.ecm-auth-register-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #f8fbff;
  color: #3a2c24;
  font-weight: 650;
  line-height: 1.55;
}

.ecm-auth-register-note i {
  color: var(--auth-orange);
  font-size: 1.55rem;
}

.ecm-auth-alert {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff1f2;
  color: #991b1b;
  font-size: .88rem;
  font-weight: 650;
}

.ecm-auth-alert strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ecm-auth-alert ul {
  margin: 0;
  padding-left: 18px;
}

.ecm-auth-error {
  display: block;
  margin-top: -6px;
  color: #dc2626;
  font-size: .82rem;
  font-weight: 750;
}

.ecm-auth-support {
  margin: 18px 0 0;
  text-align: center;
  color: #777985;
  font-size: .9rem;
}

/* Recovery / simple auth pages keep using the same visual language. */
.ecm-auth-gate[data-ecm-auth-active="recovery"] {
  width: min(100%, 1120px);
}

.ecm-auth-brand {
  min-height: 760px;
  padding: 42px;
  border-radius: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, .88), rgba(12, 16, 27, .88)),
    url("/images/easycm4.jpg") center / cover no-repeat;
  box-shadow: var(--auth-shadow);
}

.ecm-auth-brand-copy h1 {
  margin: 20px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.06em;
}

.ecm-auth-brand-copy p,
.ecm-auth-brand-lead {
  color: rgba(255, 255, 255, .86);
}

.ecm-auth-recovery-badge,
.ecm-auth-recovery-steps {
  color: #fff;
}

.ecm-auth-recovery-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.ecm-auth-recovery-steps li {
  display: flex;
  gap: 12px;
}

.ecm-auth-recovery-steps .step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-weight: 900;
}

.ecm-auth-forms-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
}

.ecm-auth-card,
.ecm-auth-card--recovery,
.ecm-auth-simple-card {
  width: min(100%, 480px);
  padding: 28px;
  border: 1px solid var(--auth-line, #dce7f7);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--auth-shadow, 0 28px 70px rgba(15, 23, 42, .12));
}

.ecm-auth-pane-title {
  margin: 0 0 10px;
  color: #05070d;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -.045em;
}

.ecm-auth-pane-sub {
  color: #6f7280;
  font-weight: 650;
}

.ecm-auth-card-head,
.ecm-auth-mobile-title,
.ecm-auth-card-title,
.ecm-auth-secure-chip,
.ecm-auth-card-kicker,
.ecm-auth-hint {
  display: none;
}

.ecm-auth-simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.ecm-auth-simple-home {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--auth-primary, #2563eb);
  font-weight: 850;
  text-decoration: none;
}

@media (min-width: 901px) {
  .ecm-auth-body {
    background:
      radial-gradient(circle at 8% 8%, rgba(37, 99, 235, .22), transparent 27%),
      radial-gradient(circle at 92% 14%, rgba(14, 165, 233, .18), transparent 28%),
      linear-gradient(135deg, #f8fbff 0%, #eef5ff 48%, #f9fbff 100%);
  }

  .ecm-auth-gate {
    width: min(100%, 1320px);
    padding: 42px 30px;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    gap: 34px;
    align-items: stretch;
  }

  .ecm-auth-desktop-hero {
    position: relative;
    min-height: min(88vh, 840px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 38px;
    color: #fff;
    background:
      radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .24), transparent 27%),
      radial-gradient(circle at 80% 18%, rgba(125, 211, 252, .35), transparent 25%),
      linear-gradient(145deg, #0f3fb8 0%, #2563eb 48%, #0ea5e9 100%);
    box-shadow: 0 36px 100px rgba(15, 63, 184, .25);
    isolation: isolate;
  }

  .ecm-auth-desktop-hero::before,
  .ecm-auth-desktop-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    filter: blur(1px);
  }

  .ecm-auth-desktop-hero::before {
    width: 310px;
    height: 310px;
    right: -95px;
    bottom: 90px;
  }

  .ecm-auth-desktop-hero::after {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -44px;
  }

  .ecm-auth-desktop-logo {
    width: fit-content;
    max-width: 310px;
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 20px 50px rgba(4, 20, 58, .16);
  }

  .ecm-auth-desktop-logo img {
    width: min(260px, 28vw);
    max-height: 74px;
    object-fit: contain;
  }

  .ecm-auth-desktop-copy {
    max-width: 680px;
    margin: 40px 0 28px;
  }

  .ecm-auth-desktop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .92);
    font-size: .9rem;
    font-weight: 850;
    backdrop-filter: blur(14px);
  }

  .ecm-auth-desktop-copy h2 {
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(2.7rem, 4.1vw, 4.35rem);
    line-height: .94;
    letter-spacing: -.07em;
    font-weight: 950;
  }

  .ecm-auth-desktop-title {
    display: grid;
    gap: 2px;
  }

  .ecm-auth-desktop-title span:last-child {
    width: fit-content;
    color: transparent;
    background: linear-gradient(90deg, #fff 0%, #bfdbfe 42%, #7dd3fc 58%, #fff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: ecm-auth-title-shine 3.6s ease-in-out infinite;
  }

  @keyframes ecm-auth-title-shine {
    0%, 100% { background-position: 0% 50%; transform: translateX(0); }
    50% { background-position: 100% 50%; transform: translateX(6px); }
  }

  .ecm-auth-desktop-copy p {
    width: min(100%, 610px);
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.12rem;
    line-height: 1.75;
    font-weight: 650;
  }

  .ecm-auth-desktop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
  }

  .ecm-auth-desktop-primary,
  .ecm-auth-desktop-secondary {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 950;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .ecm-auth-desktop-primary {
    background: #fff;
    color: var(--auth-primary-deep);
    box-shadow: 0 18px 40px rgba(4, 20, 58, .18);
  }

  .ecm-auth-desktop-secondary {
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .12);
    color: #fff;
  }

  .ecm-auth-desktop-primary:hover,
  .ecm-auth-desktop-secondary:hover {
    transform: translateY(-2px);
  }

  .ecm-auth-desktop-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
  }

  .ecm-auth-desktop-stats div,
  .ecm-auth-desktop-preview {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  }

  .ecm-auth-desktop-stats div {
    padding: 18px;
    border-radius: 22px;
  }

  .ecm-auth-desktop-stats strong {
    display: block;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 950;
  }

  .ecm-auth-desktop-stats span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .82);
    font-weight: 750;
  }

  .ecm-auth-desktop-preview {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
  }

  .ecm-auth-preview-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fff;
    color: var(--auth-primary);
    font-size: 1.3rem;
  }

  .ecm-auth-desktop-preview strong,
  .ecm-auth-desktop-preview span {
    display: block;
  }

  .ecm-auth-desktop-preview strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 950;
  }

  .ecm-auth-desktop-preview span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.45;
    font-weight: 650;
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    display: none;
  }

  .ecm-auth-phone {
    width: 100%;
    min-height: 0;
    max-height: min(88vh, 840px);
    align-self: center;
    overflow: auto;
    border-color: rgba(37, 99, 235, .12);
    border-radius: 34px;
    box-shadow: 0 34px 90px rgba(15, 63, 184, .13);
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, .35) transparent;
  }

  .ecm-auth-phone::-webkit-scrollbar {
    width: 8px;
  }

  .ecm-auth-phone::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(37, 99, 235, .28);
  }

  .ecm-auth-statusbar,
  .ecm-auth-login-hero {
    display: none;
  }

  .ecm-auth-sheet {
    min-height: 0;
    margin: 0;
    padding: 42px;
    border-radius: 34px;
    box-shadow: none;
  }

  .ecm-auth-login-head,
  .ecm-auth-register-top {
    text-align: left;
  }

  .ecm-auth-login-head h1,
  .ecm-auth-register-top h1 {
    font-size: clamp(2.2rem, 3vw, 3.1rem);
  }

  .ecm-auth-login-head p,
  .ecm-auth-register-top p {
    font-size: 1rem;
  }

  .ecm-auth-phone--register {
    padding: 42px;
  }

  .ecm-auth-register-top {
    padding: 0;
  }

  .ecm-auth-register-top h1 {
    margin-top: 0;
  }

  .ecm-auth-round-back {
    position: static;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--auth-primary-deep);
    background: var(--auth-primary-soft);
    box-shadow: none;
  }

  .ecm-auth-field input,
  .ecm-auth-field select {
    min-height: 62px;
    border-radius: 16px;
    background-color: #fbfdff;
  }

  .ecm-auth-submit {
    min-height: 62px;
    border-radius: 16px;
  }

  .ecm-auth-module-row {
    margin: 24px 0;
  }

  .ecm-auth-module-row a {
    min-height: 90px;
    box-shadow: 0 12px 26px rgba(15, 63, 184, .07);
  }

  .ecm-auth-module-row i {
    font-size: 1.55rem;
  }

  .ecm-auth-secure-note {
    justify-items: start;
    text-align: left;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    padding: 16px;
    border: 1px solid var(--auth-line);
    border-radius: 18px;
    background: #f8fbff;
  }

  .ecm-auth-secure-note i {
    grid-row: span 2;
    color: var(--auth-primary);
  }
}

@media (min-width: 901px) {
  .ecm-auth-body {
    background:
      radial-gradient(circle at 13% 42%, rgba(0, 122, 255, .24), transparent 28%),
      radial-gradient(circle at 88% 72%, rgba(37, 99, 235, .22), transparent 30%),
      linear-gradient(135deg, #03122e 0%, #020817 48%, #031435 100%);
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    position: relative;
    width: min(100%, 1880px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 26px 28px 0;
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(380px, 500px) minmax(460px, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    isolation: isolate;
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"])::before,
  .ecm-auth-gate:not([data-ecm-auth-active="recovery"])::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"])::before {
    inset: auto -10% 0 -10%;
    height: 44%;
    opacity: .55;
    background:
      radial-gradient(ellipse at 15% 90%, rgba(0, 122, 255, .52), transparent 30%),
      repeating-radial-gradient(ellipse at 12% 88%, rgba(0, 122, 255, .26) 0 1px, transparent 1px 9px);
    transform: skewY(-7deg);
    filter: blur(.2px);
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"])::after {
    right: -4%;
    bottom: 15%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, .2), transparent 66%);
  }

  .ecm-auth-desktop-nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) auto auto;
    gap: 24px;
    align-items: center;
    min-height: 64px;
  }

  .ecm-auth-desktop-logo {
    width: auto;
    max-width: none;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ecm-auth-desktop-logo img {
    width: 224px;
    max-height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(0, 122, 255, .22));
  }

  .ecm-auth-desktop-nav nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.2vw, 38px);
  }

  .ecm-auth-desktop-nav nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .9);
    font-size: .98rem;
    font-weight: 850;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
  }

  .ecm-auth-desktop-nav nav a:hover {
    color: #38bdf8;
    transform: translateY(-1px);
  }

  .ecm-auth-lang,
  .ecm-auth-nav-login {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 18px;
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
  }

  .ecm-auth-lang {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  }

  .ecm-auth-nav-login {
    min-width: 170px;
    border: 1px solid #1685ff;
    background: rgba(0, 122, 255, .06);
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .ecm-auth-nav-login:hover {
    color: #fff;
    background: rgba(0, 122, 255, .17);
    box-shadow: 0 16px 40px rgba(0, 122, 255, .18);
    transform: translateY(-1px);
  }

  .ecm-auth-desktop-hero {
    min-height: auto;
    height: min(820px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    overflow: visible;
    padding: 0 0 20px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
  }

  .ecm-auth-desktop-hero::before,
  .ecm-auth-desktop-hero::after {
    content: none;
  }

  .ecm-auth-desktop-copy {
    max-width: 390px;
    margin: 0 0 8px;
  }

  .ecm-auth-desktop-copy h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(2.2rem, 3.1vw, 3.45rem);
    line-height: 1.14;
    letter-spacing: -.055em;
    font-weight: 950;
  }

  .ecm-auth-desktop-title {
    display: block;
  }

  .ecm-auth-desktop-title span {
    display: inline;
  }

  .ecm-auth-desktop-title span:last-child {
    width: auto;
    color: #1685ff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    animation: ecm-auth-word-pulse 3.2s ease-in-out infinite;
  }

  @keyframes ecm-auth-word-pulse {
    0%, 100% { text-shadow: 0 0 0 rgba(0, 122, 255, 0); }
    50% { text-shadow: 0 0 32px rgba(0, 122, 255, .58); }
  }

  .ecm-auth-desktop-copy p {
    width: min(100%, 360px);
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 650;
  }

  .ecm-auth-desktop-features {
    display: grid;
    gap: 24px;
    margin-top: 6px;
  }

  .ecm-auth-desktop-features article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .ecm-auth-desktop-features article > span {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(22, 133, 255, .78);
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 50% 0%, rgba(22, 133, 255, .28), rgba(22, 133, 255, .06));
    box-shadow: 0 18px 46px rgba(0, 122, 255, .16);
  }

  .ecm-auth-desktop-features strong,
  .ecm-auth-desktop-features small {
    display: block;
  }

  .ecm-auth-desktop-features strong {
    color: #fff;
    font-weight: 950;
  }

  .ecm-auth-desktop-features small {
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.55;
    font-weight: 650;
  }

  .ecm-auth-trust-card {
    display: grid;
    grid-template-columns: 38px auto 1fr;
    gap: 10px;
    align-items: center;
    max-width: 390px;
    margin-top: auto;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  }

  .ecm-auth-trust-card > i {
    color: #fbbf24;
    font-size: 1.35rem;
  }

  .ecm-auth-trust-card strong,
  .ecm-auth-trust-card span {
    color: #fff;
    font-weight: 900;
  }

  .ecm-auth-trust-card span {
    color: rgba(255, 255, 255, .78);
    font-weight: 650;
  }

  .ecm-auth-trust-avatars {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding-left: 30px;
  }

  .ecm-auth-trust-avatars b,
  .ecm-auth-trust-avatars em {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-left: -10px;
    border: 2px solid #06224d;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #2563eb, #0ea5e9);
    font-size: .8rem;
    font-style: normal;
    font-weight: 950;
  }

  .ecm-auth-trust-avatars b:nth-child(2) { background: linear-gradient(145deg, #f97316, #ef4444); }
  .ecm-auth-trust-avatars b:nth-child(3) { background: linear-gradient(145deg, #64748b, #111827); }
  .ecm-auth-trust-avatars b:nth-child(4) { background: linear-gradient(145deg, #14b8a6, #0f766e); }
  .ecm-auth-trust-avatars em { background: linear-gradient(145deg, #1685ff, #0f3fb8); }

  .ecm-auth-desktop-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 390px;
    margin: 0;
  }

  .ecm-auth-desktop-stats div {
    min-height: 88px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-content: center;
    column-gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
    backdrop-filter: blur(14px);
  }

  .ecm-auth-desktop-stats i {
    grid-row: span 2;
    align-self: center;
    color: #1685ff;
    font-size: 1.32rem;
  }

  .ecm-auth-desktop-stats strong {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 950;
  }

  .ecm-auth-desktop-stats span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 650;
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login,
  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    display: block;
  }

  .ecm-auth-phone {
    width: 100%;
    min-height: 0;
    max-height: min(820px, calc(100vh - 130px));
    align-self: center;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 133, 255, .45) transparent;
  }

  .ecm-auth-phone--login {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background:
      radial-gradient(circle at 50% 0%, rgba(22, 133, 255, .18), transparent 38%),
      rgba(5, 19, 45, .78);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(24px);
  }

  .ecm-auth-phone--register {
    padding: clamp(28px, 2.4vw, 34px) clamp(28px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 36px 110px rgba(2, 8, 23, .18);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--login,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--register {
    box-shadow: 0 36px 110px rgba(0, 122, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    opacity: .94;
    transform: scale(.985);
  }

  .ecm-auth-sheet {
    min-height: 0;
    margin: 0;
    padding: clamp(32px, 3vw, 54px) clamp(28px, 3vw, 58px) 38px;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
  }

  .ecm-auth-card-badge {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 18px;
    color: #1685ff;
    background: rgba(22, 133, 255, .13);
    border: 1px solid rgba(22, 133, 255, .28);
    font-size: 1.6rem;
  }

  .ecm-auth-login-head,
  .ecm-auth-register-top {
    text-align: center;
  }

  .ecm-auth-login-head h1,
  .ecm-auth-register-top h1 {
    font-size: clamp(1.75rem, 2vw, 2.2rem);
    letter-spacing: -.035em;
  }

  .ecm-auth-phone--login .ecm-auth-login-head h1,
  .ecm-auth-phone--login .ecm-auth-login-head p {
    color: #fff;
  }

  .ecm-auth-login-head p,
  .ecm-auth-register-top p {
    margin-top: 10px;
    color: #64748b;
    font-size: .98rem;
  }

  .ecm-auth-segment {
    margin: 28px 0 26px;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(0, 0, 0, .17);
  }

  .ecm-auth-segment button {
    min-height: 64px;
    border-radius: 15px;
    color: rgba(255, 255, 255, .84);
  }

  .ecm-auth-segment button i {
    margin-right: 8px;
  }

  .ecm-auth-segment button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #0f48ff, #1685ff);
    box-shadow: 0 16px 34px rgba(0, 122, 255, .34);
  }

  .ecm-auth-phone--login .ecm-auth-field input {
    min-height: 70px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(3, 13, 32, .55);
    color: #fff;
  }

  .ecm-auth-phone--login .ecm-auth-field input::placeholder {
    color: rgba(255, 255, 255, .64);
  }

  .ecm-auth-phone--login .ecm-auth-field > i,
  .ecm-auth-phone--login .ecm-auth-eye {
    color: rgba(255, 255, 255, .74);
  }

  .ecm-auth-phone--login .ecm-auth-login-tools {
    justify-content: flex-end;
  }

  .ecm-auth-phone--login .ecm-auth-remember {
    display: none;
  }

  .ecm-auth-phone--login .ecm-auth-login-tools a {
    color: #16a3ff;
  }

  .ecm-auth-submit {
    min-height: 64px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f48ff, #16a3ff);
    box-shadow: 0 18px 44px rgba(0, 122, 255, .28);
  }

  .ecm-auth-phone--login .ecm-auth-submit {
    margin-top: 20px;
  }

  .ecm-auth-divider {
    color: rgba(255, 255, 255, .74);
  }

  .ecm-auth-phone--register .ecm-auth-divider {
    color: #64748b;
  }

  .ecm-auth-divider::before,
  .ecm-auth-divider::after {
    background: rgba(255, 255, 255, .12);
  }

  .ecm-auth-social-btn {
    min-height: 62px;
    border-color: rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(3, 13, 32, .28);
    color: #fff;
  }

  .ecm-auth-social-btn:hover {
    color: #fff;
    background: rgba(22, 133, 255, .1);
    border-color: rgba(22, 133, 255, .34);
  }

  .ecm-auth-social-btn .fa-apple {
    color: #fff;
  }

  .ecm-auth-secure-note {
    grid-template-columns: 38px minmax(0, 1fr);
    justify-items: center;
    align-items: center;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .76);
    text-align: center;
  }

  .ecm-auth-secure-note i,
  .ecm-auth-secure-note strong {
    color: #fff;
  }

  .ecm-auth-secure-note span {
    color: rgba(255, 255, 255, .7);
  }

  .ecm-auth-register-top {
    padding: 0;
  }

  .ecm-auth-register-top h1 {
    margin-top: 0;
  }

  .ecm-auth-round-back {
    display: none;
  }

  .ecm-auth-phone--register .ecm-auth-card-badge {
    width: 64px;
    height: 64px;
    background: #e6f4ff;
    border-color: transparent;
  }

  .ecm-auth-module-row {
    margin: 26px 0 26px;
    gap: 12px;
  }

  .ecm-auth-module-row a {
    min-height: 116px;
    border-radius: 14px;
    border-color: #e1e9f5;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
  }

  .ecm-auth-module-row a:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 133, 255, .38);
  }

  .ecm-auth-module-row i {
    font-size: 2rem;
  }

  .ecm-auth-module-row span {
    color: #0f172a;
    font-size: .82rem;
  }

  .ecm-auth-register-form {
    gap: 14px;
  }

  .ecm-auth-phone--register .ecm-auth-field input,
  .ecm-auth-phone--register .ecm-auth-field select {
    min-height: 62px;
    border: 1px solid #dbe4f0;
    border-radius: 13px;
    background-color: #fff;
  }

  .ecm-auth-phone-field {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
  }

  .ecm-auth-phone-prefix {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #dbe4f0;
    border-right: 0;
    border-radius: 13px 0 0 13px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 850;
  }

  .ecm-auth-phone-field .ecm-auth-field input {
    border-radius: 0 13px 13px 0;
    padding-left: 20px;
  }

  .ecm-auth-terms {
    color: #475569;
    font-size: .9rem;
  }

  .ecm-auth-terms input {
    accent-color: #1685ff;
  }

  .ecm-auth-register-note {
    margin-top: 22px;
    border-color: #bfd7ff;
    border-radius: 13px;
    background: linear-gradient(135deg, #f1f7ff, #fff);
    color: #1e293b;
  }

  .ecm-auth-register-login {
    margin-top: 18px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
    gap: 20px;
  }

  .ecm-auth-desktop-nav {
    grid-template-columns: 210px minmax(0, 1fr) auto;
  }

  .ecm-auth-desktop-nav nav {
    display: none;
  }

  .ecm-auth-lang {
    justify-self: end;
  }

  .ecm-auth-nav-login {
    min-width: 148px;
  }

  .ecm-auth-desktop-logo img {
    width: 190px;
  }

  .ecm-auth-desktop-hero {
    display: none;
  }

  .ecm-auth-phone--login {
    grid-column: 1;
  }

  .ecm-auth-phone--register {
    grid-column: 2;
  }

  .ecm-auth-module-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ecm-auth-gate {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
  }

  .ecm-auth-phone {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    display: none;
  }
}

@media (max-width: 520px) {
  .ecm-auth-login-hero {
    min-height: 300px;
    padding-top: 72px;
  }

  .ecm-auth-logo-lockup img {
    width: 255px;
  }

  .ecm-auth-sheet {
    min-height: calc(100vh - 260px);
    padding: 42px 22px 24px;
  }

  .ecm-auth-phone--register {
    padding: 18px 18px 24px;
  }

  .ecm-auth-statusbar {
    padding-left: 28px;
    padding-right: 28px;
  }

  .ecm-auth-login-head h1,
  .ecm-auth-register-top h1 {
    font-size: 2rem;
  }

  .ecm-auth-field input,
  .ecm-auth-field select {
    min-height: 64px;
    border-radius: 13px;
  }

  .ecm-auth-submit {
    min-height: 62px;
  }

  .ecm-auth-two-cols {
    gap: 10px;
  }

  .ecm-auth-module-row {
    gap: 7px;
  }

  .ecm-auth-module-row a {
    min-height: 98px;
    border-radius: 13px;
  }

  .ecm-auth-module-row i {
    font-size: 1.55rem;
  }

  .ecm-auth-module-row span {
    font-size: .72rem;
  }
}

@media (max-width: 390px) {
  .ecm-auth-social-grid,
  .ecm-auth-two-cols {
    grid-template-columns: 1fr;
  }

  .ecm-auth-module-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecm-auth-login-tools {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Auth gate 2026 — one-panel premium transition */
.ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
  --auth-switch-distance: 46px;
  --auth-switch-time: 640ms;
}

.ecm-auth-login-hero p {
  display: none;
}

@media (min-width: 901px) {
  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    grid-template-columns: minmax(310px, .9fr) minmax(460px, 640px);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: center;
  }

  .ecm-auth-desktop-nav {
    grid-column: 1 / -1;
  }

  .ecm-auth-desktop-hero {
    grid-column: 1;
    grid-row: 2;
  }

  .ecm-auth-desktop-title {
    display: none !important;
  }

  .ecm-auth-desktop-copy {
    margin-top: 0 !important;
  }

  .ecm-auth-desktop-copy p {
    position: relative;
    width: min(100%, 390px) !important;
    padding: 18px 20px 18px 54px;
    border: 1px solid rgba(22, 133, 255, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 46px rgba(0, 122, 255, .1);
    backdrop-filter: blur(18px);
  }

  .ecm-auth-desktop-copy p::before {
    content: "\f00c";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f48ff, #16a3ff);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: .72rem;
    font-weight: 900;
  }

  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
    transform-origin: center;
    will-change: opacity, transform, filter;
    transition:
      opacity var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      transform var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      filter var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      visibility 0s linear var(--auth-switch-time);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--login,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--register {
    z-index: 3;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1) rotateY(0);
    filter: blur(0);
    transition-delay: 70ms, 70ms, 70ms, 0s;
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(14px);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register {
    transform: translate3d(var(--auth-switch-distance), 18px, 0) scale(.965) rotateY(-6deg);
  }

  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    transform: translate3d(calc(var(--auth-switch-distance) * -1), 18px, 0) scale(.965) rotateY(6deg);
  }

  .ecm-auth-gate.is-switching .ecm-auth-phone--login,
  .ecm-auth-gate.is-switching .ecm-auth-phone--register {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    position: relative;
    overflow: hidden;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    transform-origin: center;
    will-change: opacity, transform, filter;
    transition:
      opacity var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      transform var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      filter var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      visibility 0s linear var(--auth-switch-time);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--login,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--register {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: blur(0);
    transition-delay: 70ms, 70ms, 70ms, 0s;
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(12px);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register {
    transform: translateX(18%) scale(.98);
  }

  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    transform: translateX(-18%) scale(.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    transition: none !important;
  }
}

/* EasyCM auth — compact premium refinement */
.ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
  --auth-switch-distance: 24px;
  --auth-switch-time: 360ms;
}

.ecm-auth-login-head h1,
.ecm-auth-register-top h1,
.ecm-auth-desktop-title {
  font-family: var(--ecm-font-display);
  font-weight: 800;
}

.ecm-auth-brand-symbol {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-position: -41px -22px;
  background-size: 132px 132px;
  filter: drop-shadow(0 10px 18px rgba(22, 133, 255, .22));
}

.ecm-auth-brand-wordmark {
  display: grid;
  gap: 1px;
  min-width: 0;
  text-align: left;
}

.ecm-auth-brand-wordmark strong {
  color: #fff;
  font-family: var(--ecm-font-display);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1;
}

.ecm-auth-brand-wordmark small {
  color: rgba(214, 228, 252, .68);
  font-size: .55rem;
  font-weight: 700;
  white-space: nowrap;
}

.ecm-auth-phone--login .ecm-auth-field input:focus-visible,
.ecm-auth-phone--login .ecm-auth-segment button:focus-visible,
.ecm-auth-phone--login .ecm-auth-submit:focus-visible,
.ecm-auth-phone--login .ecm-auth-social-btn:focus-visible {
  border-radius: 13px !important;
}

.ecm-auth-phone--login .ecm-auth-eye:focus-visible,
.ecm-auth-phone--login .ecm-auth-remember input:focus-visible {
  border-radius: 999px !important;
}

@media (min-width: 901px) {
  .ecm-auth-body {
    min-height: 100svh;
    background:
      radial-gradient(circle at 8% 14%, rgba(14, 165, 233, .2), transparent 25rem),
      radial-gradient(circle at 86% 84%, rgba(79, 70, 229, .25), transparent 28rem),
      linear-gradient(135deg, #020a1a 0%, #04132d 47%, #06183a 100%);
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    width: min(100%, 1440px);
    max-width: 100vw;
    height: 100svh;
    min-height: 680px;
    padding: 16px clamp(28px, 4vw, 60px) 24px;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
    grid-template-rows: 54px minmax(0, 1fr);
    gap: 16px clamp(36px, 5vw, 76px);
    overflow: hidden;
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"])::before {
    inset: auto -8% -13% -8%;
    height: 50%;
    opacity: .38;
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"])::after {
    right: -7rem;
    bottom: 4%;
    width: 28rem;
    height: 28rem;
    opacity: .72;
  }

  .ecm-auth-desktop-nav {
    grid-column: 1 / -1;
    grid-template-columns: 180px minmax(0, 1fr) auto auto;
    gap: clamp(14px, 2vw, 28px);
    min-height: 52px;
  }

  .ecm-auth-desktop-logo img {
    width: 168px;
    max-height: 48px;
  }

  .ecm-auth-desktop-logo {
    gap: 10px;
  }

  .ecm-auth-desktop-nav nav {
    gap: clamp(16px, 1.8vw, 28px);
  }

  .ecm-auth-desktop-nav nav a {
    font-size: .85rem;
    font-weight: 700;
  }

  .ecm-auth-lang,
  .ecm-auth-nav-login {
    min-height: 44px;
    padding-inline: 15px;
    border-radius: 14px;
    font-size: .82rem;
    font-weight: 700;
  }

  .ecm-auth-lang {
    cursor: default;
  }

  .ecm-auth-nav-login {
    min-width: 140px;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 72, 255, .2), rgba(22, 163, 255, .14));
  }

  .ecm-auth-desktop-hero {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 590px);
    height: auto;
    min-height: 0;
    justify-self: center;
    gap: 18px;
    padding: 8px 0 16px;
    overflow: visible;
  }

  .ecm-auth-desktop-title {
    display: block !important;
    margin: 0 0 16px !important;
    font-size: clamp(2.9rem, 4.4vw, 4.45rem) !important;
    line-height: .98 !important;
    letter-spacing: -.065em !important;
  }

  .ecm-auth-desktop-title span {
    display: block;
  }

  .ecm-auth-desktop-title span:last-child {
    color: #7dd3fc;
    background: linear-gradient(100deg, #38bdf8, #5b8cff 55%, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .ecm-auth-desktop-copy {
    max-width: 580px;
    margin: 0 !important;
  }

  .ecm-auth-desktop-copy p {
    position: static;
    width: min(100%, 520px) !important;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(226, 235, 252, .82);
    background: none;
    box-shadow: none;
    font-size: .96rem;
    line-height: 1.65;
    backdrop-filter: none;
  }

  .ecm-auth-desktop-copy p::before {
    content: none;
  }

  .ecm-auth-desktop-features {
    gap: 9px;
    margin-top: 8px;
  }

  .ecm-auth-desktop-features article {
    min-height: 66px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 9px 12px;
    border: 1px solid rgba(148, 190, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
  }

  .ecm-auth-desktop-features article:nth-child(4) {
    display: none;
  }

  .ecm-auth-desktop-features article > span {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    box-shadow: 0 12px 30px rgba(0, 122, 255, .12);
  }

  .ecm-auth-desktop-features strong {
    font-size: .87rem;
    font-weight: 700;
  }

  .ecm-auth-desktop-features small {
    margin-top: 2px;
    font-size: .73rem;
    line-height: 1.42;
    font-weight: 500;
  }

  .ecm-auth-trust-card {
    max-width: 520px;
    grid-template-columns: 28px auto minmax(0, 1fr) auto;
    gap: 8px;
    margin: 2px 0 0;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .ecm-auth-trust-card > i {
    font-size: 1rem;
  }

  .ecm-auth-trust-card strong,
  .ecm-auth-trust-card span {
    font-size: .78rem;
    font-weight: 700;
  }

  .ecm-auth-trust-avatars {
    grid-column: 4;
    margin: 0;
    padding-left: 10px;
  }

  .ecm-auth-trust-avatars b,
  .ecm-auth-trust-avatars em {
    width: 30px;
    height: 30px;
    margin-left: -8px;
    font-size: .58rem;
  }

  .ecm-auth-desktop-stats {
    display: none;
  }

  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }

  .ecm-auth-phone--login {
    max-height: none;
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, .2);
    border-radius: 28px;
    background:
      radial-gradient(circle at 84% 2%, rgba(56, 189, 248, .18), transparent 18rem),
      linear-gradient(155deg, rgba(9, 30, 66, .96), rgba(3, 14, 36, .96));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px);
  }

  .ecm-auth-phone--login .ecm-auth-statusbar,
  .ecm-auth-phone--login .ecm-auth-login-hero {
    display: none;
  }

  .ecm-auth-phone--login .ecm-auth-sheet {
    min-height: 0;
    margin: 0;
    padding: 25px 30px 22px;
    border-radius: inherit;
  }

  .ecm-auth-phone--login .ecm-auth-card-badge {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    border-radius: 14px;
    font-size: 1.05rem;
  }

  .ecm-auth-phone--login .ecm-auth-login-head h1 {
    font-size: 1.65rem;
  }

  .ecm-auth-phone--login .ecm-auth-login-head p {
    margin-top: 6px;
    font-size: .86rem;
  }

  .ecm-auth-phone--login .ecm-auth-segment {
    margin: 18px 0 16px;
    border-radius: 13px;
  }

  .ecm-auth-phone--login .ecm-auth-segment button {
    min-height: 46px;
    border-radius: 12px;
    font-size: .84rem;
  }

  .ecm-auth-phone--login .ecm-auth-form {
    gap: 11px;
  }

  .ecm-auth-phone--login .ecm-auth-field input {
    min-height: 52px;
    padding-inline: 47px;
    border-radius: 13px;
    font-size: .86rem;
  }

  .ecm-auth-phone--login .ecm-auth-field > i {
    left: 16px;
    font-size: .9rem;
  }

  .ecm-auth-phone--login .ecm-auth-eye {
    right: 7px;
    width: 38px;
    height: 38px;
    font-size: .92rem;
  }

  .ecm-auth-phone--login .ecm-auth-login-tools {
    justify-content: space-between;
    margin-top: 0;
    font-size: .76rem;
  }

  .ecm-auth-phone--login .ecm-auth-remember {
    display: inline-flex;
    font-size: .76rem;
  }

  .ecm-auth-phone--login .ecm-auth-remember input {
    width: 17px;
    height: 17px;
  }

  .ecm-auth-phone--login .ecm-auth-submit {
    min-height: 52px;
    margin-top: 5px;
    border-radius: 13px;
    font-size: .9rem;
    box-shadow: 0 14px 32px rgba(18, 115, 255, .25);
  }

  .ecm-auth-phone--login .ecm-auth-divider {
    margin: 17px 0 12px;
    font-size: .72rem;
  }

  .ecm-auth-phone--login .ecm-auth-social-grid {
    gap: 10px;
  }

  .ecm-auth-phone--login .ecm-auth-social-btn {
    min-height: 48px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    padding-top: 12px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    color: rgba(218, 230, 249, .76);
    background: transparent;
    font-size: .7rem;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note i {
    font-size: .88rem;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note strong {
    font-size: .72rem;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note span {
    font-size: .68rem;
  }

  .ecm-auth-phone--register {
    max-height: calc(100svh - 100px);
    overflow: auto;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .ecm-auth-desktop-nav {
    grid-template-columns: 180px minmax(0, 1fr) auto auto;
  }

  .ecm-auth-desktop-nav nav {
    display: none;
  }

  .ecm-auth-lang {
    justify-self: end;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    grid-template-columns: minmax(0, 540px);
    justify-content: center;
    padding-inline: 22px;
  }

  .ecm-auth-desktop-nav {
    grid-column: 1;
    grid-template-columns: 1fr auto auto;
  }

  .ecm-auth-desktop-hero {
    display: none;
  }

  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    grid-column: 1 !important;
  }
}

@media (max-width: 900px) {
  .ecm-auth-body {
    min-height: 100dvh;
    background: #eef5ff;
  }

  .ecm-auth-gate:not([data-ecm-auth-active="recovery"]) {
    min-height: 100dvh;
    overflow: hidden;
    background:
      radial-gradient(circle at 82% 4%, rgba(99, 102, 241, .16), transparent 15rem),
      linear-gradient(180deg, #f7fbff, #eaf3ff 42%, #fff 42%);
  }

  .ecm-auth-phone--login,
  .ecm-auth-phone--register {
    will-change: opacity, transform;
    transition:
      opacity var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      transform var(--auth-switch-time) cubic-bezier(.2, .8, .2, 1),
      visibility 0s linear var(--auth-switch-time);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--register,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--login {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    filter: blur(6px);
  }

  .ecm-auth-gate[data-ecm-auth-active="login"] .ecm-auth-phone--login,
  .ecm-auth-gate[data-ecm-auth-active="register"] .ecm-auth-phone--register {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .ecm-auth-phone--login .ecm-auth-statusbar {
    display: none;
  }

  .ecm-auth-phone--login .ecm-auth-login-hero {
    min-height: 155px;
    padding: 24px 20px 0;
    background:
      radial-gradient(circle at 50% 34%, rgba(37, 99, 235, .16), transparent 7rem),
      linear-gradient(180deg, #fbfdff 0%, #e8f3ff 100%);
  }

  .ecm-auth-phone--login .ecm-auth-logo-lockup img {
    width: min(172px, 52vw);
    max-height: 60px;
  }

  .ecm-auth-phone--login .ecm-auth-logo-lockup {
    gap: 10px;
  }

  .ecm-auth-phone--login .ecm-auth-brand-wordmark strong {
    color: #0b1730;
  }

  .ecm-auth-phone--login .ecm-auth-brand-wordmark small {
    color: #6b7890;
  }

  .ecm-auth-phone--login .ecm-auth-skyline {
    height: 88px;
    opacity: .48;
  }

  .ecm-auth-phone--login .ecm-auth-sheet {
    min-height: calc(100dvh - 133px);
    margin-top: -22px;
    padding: 24px clamp(16px, 5vw, 22px) calc(20px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -16px 42px rgba(18, 79, 160, .09);
  }

  .ecm-auth-phone--login .ecm-auth-login-head h1 {
    font-size: 1.55rem;
    letter-spacing: -.045em;
  }

  .ecm-auth-phone--login .ecm-auth-login-head p {
    margin-top: 7px;
    font-size: .87rem;
  }

  .ecm-auth-phone--login .ecm-auth-segment {
    margin: 18px 0 15px;
    padding: 3px;
    border-radius: 15px;
  }

  .ecm-auth-phone--login .ecm-auth-segment button {
    min-height: 46px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .ecm-auth-phone--login .ecm-auth-form {
    gap: 11px;
  }

  .ecm-auth-phone--login .ecm-auth-field input {
    min-height: 54px;
    padding: 0 46px;
    border-radius: 13px;
    font-size: .85rem;
  }

  .ecm-auth-phone--login .ecm-auth-field > i {
    left: 16px;
    font-size: .9rem;
  }

  .ecm-auth-phone--login .ecm-auth-eye {
    right: 7px;
    width: 38px;
    height: 38px;
    font-size: .92rem;
  }

  .ecm-auth-phone--login .ecm-auth-login-tools {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-top: 0;
    font-size: .74rem;
  }

  .ecm-auth-phone--login .ecm-auth-remember {
    font-size: .74rem;
    white-space: nowrap;
  }

  .ecm-auth-phone--login .ecm-auth-remember input {
    width: 17px;
    height: 17px;
  }

  .ecm-auth-phone--login .ecm-auth-login-tools a {
    font-size: .74rem;
    white-space: nowrap;
  }

  .ecm-auth-phone--login .ecm-auth-submit {
    min-height: 54px;
    margin-top: 5px;
    border-radius: 13px;
    font-size: .9rem;
  }

  .ecm-auth-phone--login .ecm-auth-divider {
    margin: 17px 0 12px;
    font-size: .72rem;
  }

  .ecm-auth-phone--login .ecm-auth-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .ecm-auth-phone--login .ecm-auth-social-btn {
    min-height: 48px;
    gap: 8px;
    border-radius: 12px;
    font-size: .8rem;
  }

  .ecm-auth-phone--login .ecm-auth-google-icon {
    width: 22px;
    height: 22px;
  }

  .ecm-auth-phone--login .ecm-auth-google-icon svg {
    width: 18px;
    height: 18px;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e7edf6;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note i {
    font-size: .85rem;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note strong {
    font-size: .72rem;
  }

  .ecm-auth-phone--login .ecm-auth-secure-note span {
    display: none;
  }

  .ecm-auth-phone--login .ecm-auth-alert {
    margin-bottom: 14px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: .76rem;
  }
}

@media (max-width: 370px) {
  .ecm-auth-phone--login .ecm-auth-login-hero {
    min-height: 142px;
  }

  .ecm-auth-phone--login .ecm-auth-sheet {
    margin-top: -20px;
    padding-inline: 14px;
  }

  .ecm-auth-phone--login .ecm-auth-login-tools,
  .ecm-auth-phone--login .ecm-auth-login-tools a,
  .ecm-auth-phone--login .ecm-auth-remember {
    font-size: .68rem;
  }
}
