.auth-page-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, #f6f8fc, #eef2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-wrapper {
  width: 100%;
  max-width: 1200px;
  min-height: 700px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(31, 38, 135, 0.15);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.brand-side {
  position: relative;
  background: linear-gradient(135deg, rgba(17,24,39,0.82), rgba(79,70,229,0.78)),
              url('../images/auth-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.brand-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.brand-content p {
  max-width: 500px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.brand-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.badge-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px 18px;
  min-width: 140px;
}

.badge-box h6 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #fff;
}

.badge-box span {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.brand-footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.form-side {
  background: #ffffff;
  padding: 42px 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-box {
  width: 100%;
  max-width: 420px;
}

.top-text {
  margin-bottom: 22px;
}

.top-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.top-text p {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 0;
}

.switch-tabs {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 6px;
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.switch-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #6b7280;
  transition: 0.3s ease;
}

.switch-tabs button.active {
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17,24,39,0.18);
}

.input-group.custom-group {
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  transition: 0.3s ease;
}

.input-group.custom-group:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
  background: #fff;
}

.custom-group .input-group-text {
  border: none;
  background: transparent;
  color: #6b7280;
  padding-left: 16px;
  padding-right: 10px;
}

.custom-group .form-control {
  border: none;
  background: transparent;
  padding: 14px 10px 14px 0;
  font-size: 15px;
  color: #111827;
  box-shadow: none;
}

.custom-group .form-control::placeholder {
  color: #9ca3af;
}

.toggle-pass {
  cursor: pointer;
}

.row-gap-custom {
  --bs-gutter-x: 12px;
}

.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 18px;
  gap: 10px;
  flex-wrap: wrap;
}

.form-check-label,
.forgot-link,
.bottom-link,
.bottom-link a {
  font-size: 14px;
}

.forgot-link,
.bottom-link a {
  text-decoration: none;
  color: #4f46e5;
  font-weight: 600;
}

.forgot-link:hover,
.bottom-link a:hover {
  text-decoration: underline;
}

.premium-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 14px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 14px 30px rgba(99,102,241,0.28);
  transition: 0.3s ease;
}

.premium-btn:hover {
  transform: translateY(-2px);
}

.bottom-link {
  text-align: center;
  margin-top: 18px;
  color: #6b7280;
}

#registerForm {
  display: none;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border-radius: 14px;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
  }

  .brand-side {
    min-height: 320px;
    padding: 36px 28px;
  }

  .brand-content h1 {
    font-size: 34px;
  }

  .form-side {
    padding: 34px 20px;
  }
}

@media (max-width: 576px) {
  .brand-content h1 {
    font-size: 28px;
  }

  .top-text h2 {
    font-size: 26px;
  }

  .brand-badges {
    gap: 10px;
  }

  .badge-box {
    width: 100%;
  }
}