/* ============================================================
   WONPAY — AUTH PAGES
   ============================================================ */

.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #6C63FF 0%, #4ECDC4 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

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

.auth-brand {
  text-align: center; margin-bottom: 24px; color: #fff;
}

.auth-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-size: 24px; font-weight: 800; margin-bottom: 16px;
}
.auth-logo .logo-icon { width: 44px; height: 44px; font-size: 22px; }

.auth-brand h1 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-brand p  { font-size: 14px; opacity: 0.85; }

.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.auth-switch {
  text-align: center; font-size: 14px;
  color: var(--text-muted); margin-top: 20px;
}

.auth-divider {
  text-align: center; position: relative; margin: 20px 0;
  color: var(--text-light);
}
.auth-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative; background: #fff;
  padding: 0 12px; font-size: 13px;
}

.auth-security-note {
  text-align: center; color: rgba(255,255,255,0.8);
  font-size: 12px; margin-top: 16px;
}

.forgot-link {
  font-size: 13px; color: var(--primary); font-weight: 500;
}

/* Password Strength */
.password-strength {
  height: 4px; background: var(--border);
  border-radius: 100px; margin-top: 8px; overflow: hidden;
}
.strength-fill {
  height: 100%; width: 0;
  border-radius: 100px; transition: all 0.3s ease;
}
.strength-text {
  font-size: 12px; color: var(--text-muted);
  margin-top: 4px; display: block;
}

/* OTP Input */
.otp-inputs {
  display: flex; gap: 10px; justify-content: center;
  margin: 20px 0;
}
.otp-inputs input {
  width: 52px; height: 56px;
  text-align: center; font-size: 22px; font-weight: 700;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  outline: none;
}
.otp-inputs input:focus { border-color: var(--primary); }

.resend-otp {
  text-align: center; font-size: 13px; margin-top: 12px;
  color: var(--text-muted);
}
.resend-link { color: var(--primary); cursor: pointer; font-weight: 600; }

@media (max-width: 480px) {
  .auth-card { padding: 24px 20px; border-radius: 16px; }
  .auth-body  { padding: 16px; }
}

/* ════════════ PREMIUM AUTH (login / register) ════════════ */
.auth-body{
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg,#7b73ff 0%, #6C63FF 40%, #5A52E0 75%, #4b45c7 100%);
  min-height:100vh; }
.auth-logo .logo-icon{ background:#fff; color:#6C63FF; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center; font-weight:800;
  box-shadow:0 6px 16px rgba(0,0,0,.18); }
.auth-card{ border-radius:22px; box-shadow:0 24px 60px -18px rgba(30,20,80,.55);
  border:1px solid rgba(255,255,255,.6); }
.auth-card .form-group label{ font-size:13px; font-weight:600; color:#475569; margin-bottom:6px; display:block; }
.auth-card .form-group input, .auth-card input[type=text], .auth-card input[type=email],
.auth-card input[type=password], .auth-card input[type=tel], .auth-card input[type=number]{
  width:100%; box-sizing:border-box; padding:13px 14px; border:1px solid #e2e8f0;
  border-radius:12px; font-size:15px; background:#f8fafc; transition:border-color .15s, box-shadow .15s; }
.auth-card input:focus{ outline:none; border-color:#6C63FF; background:#fff; box-shadow:0 0 0 3px rgba(108,99,255,.16); }
.btn-auth-primary, .btn-auth{
  width:100%; border:none; cursor:pointer; border-radius:14px; padding:14px; font-size:15px; font-weight:700; color:#fff;
  background:linear-gradient(135deg,#6C63FF,#5A52E0); box-shadow:0 12px 26px -10px rgba(108,99,255,.8);
  transition:transform .1s, box-shadow .15s; }
.btn-auth-primary:hover, .btn-auth:hover{ transform:translateY(-1px); box-shadow:0 16px 30px -10px rgba(108,99,255,.9); }
.btn-auth-primary:active, .btn-auth:active{ transform:translateY(0); }
