/* ============================================================
   YOIKUT MEMBERSHIP – Auth Page Styles
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: #F7F8FA;
}

/* Left Panel – Branding */
.auth-panel-left {
  flex: 0 0 420px;
  background: linear-gradient(160deg, #1A202C 0%, #2D3748 60%, #1A202C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.auth-panel-left::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.auth-panel-left::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  pointer-events: none;
}

.auth-brand {
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 24px rgba(245,166,35,0.4));
}

.auth-brand-name {
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.auth-brand-name span {
  color: var(--color-primary);
}

.auth-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.auth-features {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.auth-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245,166,35,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* Right Panel – Form */
.auth-panel-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.auth-form-container {
  width: 100%;
  max-width: 420px;
}

.auth-form-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.auth-form-subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--color-border);
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  background: none;
  border: none;
}

.auth-tab-btn.active {
  background: var(--color-surface);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
}

/* Google Button */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-google:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-google svg {
  width: 18px;
  height: 18px;
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--color-text-muted);
  font-size: 12px;
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.auth-footer a {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.auth-forgot {
  text-align: right;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 18px;
}

.auth-forgot a {
  color: var(--color-primary-dark);
  font-weight: 500;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  transition: var(--transition);
}

.auth-back:hover {
  color: var(--color-primary);
}

/* Password strength */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.strength-bar {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--color-border);
  transition: background 0.3s;
}

.strength-bar.weak    { background: var(--color-danger); }
.strength-bar.medium  { background: var(--color-warning); }
.strength-bar.strong  { background: var(--color-success); }

/* Terms checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  margin-top: 1px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.checkbox-group label a {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .auth-panel-left { display: none; }
  .auth-panel-right { padding: 40px 24px; }
  .auth-form-container { max-width: 100%; }
}
