/* Login-only visual layer. Scoped to .ideal-login so no other page is affected. */
html.ideal-login,
html.ideal-login body,
html.ideal-login #app {
  height: 100%;
}

html.ideal-login body {
  overflow: auto;
  background: #f3f6fb;
}

.ideal-login .login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 8% 8%, rgb(56 189 248 / 12%), transparent 28%),
    radial-gradient(circle at 92% 92%, rgb(99 102 241 / 10%), transparent 30%),
    #f3f6fb !important;
}

.ideal-login .login__row {
  width: min(1120px, 100%) !important;
  height: auto !important;
  min-height: 660px;
  margin: 0 auto !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgb(15 23 42 / 6%);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgb(15 23 42 / 14%);
}

.ideal-login .login__col {
  height: auto !important;
  min-height: 660px;
}

.ideal-login .login__col--brand {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgb(56 189 248 / 22%), transparent 34%),
    radial-gradient(circle at 12% 88%, rgb(99 102 241 / 20%), transparent 38%),
    linear-gradient(145deg, #0b1220 0%, #12233d 52%, #0d2a3a 100%);
}

.ideal-login .login-left {
  display: none !important;
}

.ideal-login .login__panel {
  min-height: 660px;
  padding: clamp(28px, 4vw, 58px) !important;
  background: #fff !important;
}

.ideal-login .login__toolbar,
.ideal-login .login__mobile-brand {
  display: none !important;
}

.ideal-login .login__body {
  align-items: center;
}

.ideal-login .login__content {
  width: min(100%, 360px);
  max-width: 360px !important;
  padding: 0 !important;
}

.ideal-login .login__title {
  margin: 0 0 8px !important;
  font-size: clamp(25px, 3vw, 32px) !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
}

.ideal-login .login__subtitle {
  margin: 0 0 28px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

.ideal-login .login__form .arco-form-item {
  margin-bottom: 16px;
}

.ideal-login .login__form .arco-form-item-label-col > label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #475569 !important;
}

.ideal-login .login__form .arco-input-wrapper {
  height: 48px !important;
  padding: 0 14px;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  border-radius: 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ideal-login .login__form .arco-input-wrapper:hover {
  border-color: #cbd5e1 !important;
}

.ideal-login .login__form .arco-input-wrapper:focus-within {
  background: #fff !important;
  border-color: rgb(var(--primary-6)) !important;
  box-shadow: 0 0 0 3px rgb(var(--primary-6) / 10%) !important;
}

.ideal-login .login__input-icon {
  color: #94a3b8 !important;
}

.ideal-login .login__btn {
  height: 48px !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 22px rgb(var(--primary-6) / 22%) !important;
}

.ideal-login .login__link {
  color: rgb(var(--primary-6)) !important;
  font-size: 13px;
  cursor: pointer;
}

.ideal-login .login__footer {
  position: static !important;
  margin-top: 34px;
  font-size: 11px !important;
  color: #94a3b8 !important;
  text-align: left !important;
}

/* custom hero injected into the original left column */
.ideal-hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  color: #f8fafc;
}

.ideal-hero::after {
  position: absolute;
  right: -84px;
  bottom: -104px;
  width: 280px;
  height: 280px;
  content: '';
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgb(255 255 255 / 3%),
    0 0 0 56px rgb(255 255 255 / 2%);
}

.ideal-hero__brand {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
}

.ideal-hero__mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 26px;
  font-weight: 800;
  color: #0b1220;
  background: linear-gradient(135deg, #fff 0%, #c7f0ff 100%);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 18%);
}

.ideal-hero__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ideal-hero__brand-copy strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ideal-hero__brand-copy em {
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  color: rgb(226 232 240 / 58%);
  letter-spacing: 0.2em;
}

.ideal-hero__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: clamp(28px, 7vh, 72px) 0 clamp(24px, 5vh, 48px);
}

.ideal-hero__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgb(125 211 252 / 82%);
  letter-spacing: 0.22em;
}

.ideal-hero__content h1 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0 18px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.ideal-hero__content h1 span {
  color: #7dd3fc;
}

.ideal-hero__desc {
  max-width: 410px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgb(226 232 240 / 68%);
}

.ideal-hero__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ideal-hero__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  padding: 13px 12px;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 14px;
}

.ideal-hero__feature-no {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 11px;
  font-weight: 700;
  color: #7dd3fc;
  background: rgb(125 211 252 / 12%);
  border-radius: 10px;
}

.ideal-hero__features strong,
.ideal-hero__features em {
  display: block;
  min-width: 0;
}

.ideal-hero__features strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  color: rgb(248 250 252 / 92%);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ideal-hero__features em {
  margin-top: 4px;
  overflow: hidden;
  font-size: 10px;
  font-style: normal;
  color: rgb(226 232 240 / 48%);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ideal-hero__footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  margin-top: 26px;
  font-size: 10px;
  color: rgb(226 232 240 / 38%);
}

@media (max-width: 768px) {
  .ideal-login .login {
    min-height: 100dvh;
    padding: 16px;
  }

  .ideal-login .login__row {
    min-height: 0;
    border-radius: 22px;
  }

  .ideal-login .login__col {
    min-height: 0;
  }

  .ideal-login .login__panel {
    min-height: 0;
    padding: 30px 24px !important;
  }

  .ideal-login .login__content {
    max-width: 100% !important;
  }

  .ideal-login .login__footer {
    text-align: center !important;
  }
}
