/* Auth wrapper — split screen */
.auth-wrapper {
  /* min-height: 100vh; */
  max-height: 100vh;
  display: flex;
}

.auth-left {
  width: 42%;
  background: var(--dark-grad, linear-gradient(180deg, #171717 0%, #0A0A0A 100%));
  /* padding: 3rem; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Gold glow decorations on left */
.auth-left::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gold);
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
  top: -100px;
  left: -80px;
}

.auth-left::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--gold-light);
  border-radius: 50%;
  filter: blur(60px);
  opacity: .1;
  bottom: -60px;
  right: -40px;
}

.auth-brand {
  z-index: 1;
}

.auth-preview-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, .1);
  z-index: 1;
}

.auth-tagline {
  z-index: 1;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  line-height: 1.7;
}

.auth-stats {
  display: flex;
  gap: 1.5rem;
  z-index: 1;
}

.auth-stat {
  text-align: center;
}

.auth-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.auth-stat span {
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--white);
}

.auth-form-box {
  width: 100%;
  max-width: 440px;
}

.auth-form-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: .4rem;
}

.auth-form-box .auth-subtitle {
  color: var(--grey);
  font-size: .9rem;
  margin-bottom: 2rem;
}

/*=========================
      LOGIN BRAND
=========================*/

.login-brand {

  display: flex;
  align-items: center;
  gap: 14px;

  text-decoration: none;

  margin-bottom: 18px;

}

.login-brand-logo {

  width: 60px;
  height: 60px;

  object-fit: contain;

  flex-shrink: 0;

  transition: .3s;

}

.login-brand:hover .login-brand-logo {

  transform: scale(1.05);

}

.login-brand-content {

  display: flex;
  flex-direction: column;

}

.login-brand-title {

  font-family: 'Plus Jakarta Sans', sans-serif;

  font-size: 34px;

  font-weight: 800;

  color: var(--gold);

  line-height: 1;

}

.login-brand-subtitle {

  font-size: 11px;

  color: rgba(255, 255, 255, .75);

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-top: 5px;

}

.auth-tagline {

  color: rgba(255, 255, 255, .8);

  font-size: 16px;

  line-height: 1.7;

  margin-top: 15px;

  max-width: 450px;

}

/* Premium form inputs */
.form-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.form-group .form-control {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1rem .85rem 3rem;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  background: var(--bg-light);
  transition: all .3s var(--ease, cubic-bezier(.22, 1, .36, 1));
}

.form-group .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, .12);
  background: var(--white);
  outline: none;
}

.form-group .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  font-size: 1rem;
  transition: color .3s;
}

.form-group:focus-within .input-icon {
  color: var(--gold-2);
}

.form-group .toggle-pwd {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  cursor: pointer;
  font-size: 1rem;
  background: none;
  border: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--grey);
  font-size: .82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .75rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: all .3s;
}

.social-auth-btn:hover {
  border-color: var(--gold);
  background: var(--gold-grad-soft, rgba(212, 160, 23, .06));
}

.auth-link {
  color: var(--gold-2);
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.btn-gold {
  border: white;
}

.auth-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.auth-back-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: opacity .2s;
}

@media (max-width: 767px) {
  .auth-left {
    display: none;
  }

  .auth-right {
    padding: 2rem 1rem;
  }
}

@media (max-width:991px) {

  .login-brand-logo {

    width: 52px;
    height: 52px;

  }

  .login-brand-title {

    font-size: 30px;

  }

  .login-brand-subtitle {

    font-size: 10px;

  }

}

@media (max-width:768px) {

  .login-brand {

    justify-content: center;

  }

  .login-brand-logo {

    width: 46px;
    height: 46px;

  }

  .login-brand-title {

    font-size: 26px;

  }

  .login-brand-subtitle {

    font-size: 9px;

    letter-spacing: 1px;

  }

  .auth-tagline {

    text-align: center;

    font-size: 15px;

  }

}

@media (max-width:480px) {

  .login-brand {

    gap: 10px;

  }

  .login-brand-logo {

    width: 40px;
    height: 40px;

  }

  .login-brand-title {

    font-size: 22px;

  }

  .login-brand-subtitle {

    font-size: 8px;

  }

  .auth-tagline {

    font-size: 14px;

  }

}