/* Auth (Login) — split hero + form (matches global theme) */

/* Make auth pages fullscreen and remove default main padding */
main.col-12 {
  padding: 0 !important;
}

.yd-auth {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(16px, 3.2vw, 44px);
  /* subtle landing background (match ref: clean + soft blue corner) */
  background:
    radial-gradient(
      1100px 540px at 88% 10%,
      rgba(var(--brand-rgb), 0.14) 0%,
      rgba(var(--brand-rgb), 0) 60%
    ),
    radial-gradient(
      900px 520px at 18% 12%,
      rgba(14, 165, 233, 0.1) 0%,
      rgba(14, 165, 233, 0) 62%
    ),
    #fff;
}

.yd-auth__wrap {
  width: min(1200px, 100%);
  display: flex;
  align-items: stretch;
}

.yd-auth__left {
  flex: 1 1 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 5vw, 64px);
}

.yd-auth__right {
  flex: 1 1 45%;
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
}

.yd-auth-hero {
  width: min(560px, 100%);
  text-align: center;
}

.yd-auth-hero__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.14));
}

.yd-auth-hero__brand {
  margin-top: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
  color: var(--primary);
}

.yd-auth-hero__tag {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.yd-auth-card {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius2);
  padding: 20px;
}

.yd-auth-card__title {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
}

.yd-auth-title-ic {
  font-size: 1.55rem;
  vertical-align: -2px;
}

.yd-auth-card__sub {
  margin-top: 4px;
}

.yd-auth-card .form-control {
  border-radius: 14px;
}

.yd-auth-card .btn {
  border-radius: 14px;
}

.yd-auth-sep {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 14px 0 12px;
}

.yd-auth-actions {
  text-align: center;
}

.yd-auth-actions__link {
  text-decoration: none;
  font-weight: 400; /* match normal text weight */
  font-size: 0.95rem;
}
.yd-auth-actions__link:hover {
  text-decoration: underline;
}

.yd-auth-actions__forgot {
  margin-top: 6px;
  font-size: 0.95rem;
}
.yd-auth-actions__register {
  margin-top: 10px;
  font-weight: 400;
  font-size: 0.95rem;
}

.yd-auth-link-ic {
  font-size: 1rem;
  vertical-align: -1px;
}

@media (max-width: 991.98px) {
  .yd-auth {
    padding: 0;
  }
  .yd-auth__wrap {
    flex-direction: column;
    width: 100%;
  }
  .yd-auth__right {
    flex-basis: auto;
    max-width: none;
  }
  .yd-auth__left {
    padding-bottom: 6px;
  }
  .yd-auth-hero__img {
    max-width: 420px;
  }
}

.yd-auth-recaptcha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.yd-auth-recaptcha .g-recaptcha {
  max-width: 100%;
}

@media (max-width: 420px) {
  .yd-auth-recaptcha {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
