/* ══════════════════════════════════════════════════════════════════════════════
   UNEXPLORES SOCIOCONNECT - REDESIGNED PREMIUM AUTH SUITE
   Sign In & Create Account Glassmorphism
   ══════════════════════════════════════════════════════════════════════════════ */

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

.auth-container {
  width: 100%;
  max-width: 1050px;
  background: rgba(8, 18, 56, 0.75);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  position: relative;
}

/* ─── Left Showcase Panel ─── */
.auth-showcase {
  background: linear-gradient(145deg, rgba(6, 13, 40, 0.95) 0%, rgba(10, 22, 66, 0.8) 100%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(30, 58, 138, 0.35);
  position: relative;
  overflow: hidden;
}

.auth-showcase::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.auth-showcase::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 32px;
}

.showcase-brand img {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

.showcase-brand-text h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.showcase-brand-text span {
  font-size: 11px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.showcase-hero h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.showcase-hero p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Feature Checkpoints in Showcase */
.showcase-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.perk-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.perk-text h5 {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.perk-text p {
  font-size: 12px;
  color: var(--text-dim);
}

.showcase-footer-badge {
  background: rgba(10, 22, 66, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.showcase-footer-badge i {
  font-size: 20px;
  color: var(--accent-emerald);
}

/* ─── Right Form Panel ─── */
.auth-form-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tab Switcher */
.auth-tab-nav {
  display: flex;
  background: rgba(6, 13, 40, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 32px;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030718;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
}

.form-header-group {
  margin-bottom: 24px;
}

.form-header-group h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-header-group p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Form Inputs */
.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.input-field-wrap {
  position: relative;
}

.input-field-wrap i.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s;
}

.form-input {
  width: 100%;
  background: rgba(4, 10, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 16px 13px 44px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(8, 18, 56, 0.85);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.form-input:focus + i.field-icon {
  color: var(--accent-cyan);
}

.password-toggle-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  font-size: 15px;
  transition: color 0.2s;
}

.password-toggle-btn:hover {
  color: #fff;
}

/* Password Strength Meter */
.strength-meter-wrap {
  margin-top: 8px;
}

.meter-bars {
  display: flex;
  gap: 4px;
  height: 4px;
  margin-bottom: 6px;
}

.meter-segment {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transition: background 0.3s;
}

.strength-label {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}

/* Checkbox & Options */
.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 24px;
  font-size: 13px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.link-subtle {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.link-subtle:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Submit Button */
.btn-submit-auth {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.btn-submit-auth .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #030718;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit-auth.loading .btn-text {
  display: none;
}

.btn-submit-auth.loading .spinner {
  display: inline-block;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 14px;
}

/* Social Login Buttons */
.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(10, 22, 66, 0.6);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-social:hover {
  background: rgba(18, 38, 105, 0.85);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Notification / Alert Banners */
.auth-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}

.auth-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  display: flex;
}

.auth-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  display: flex;
}

/* Modal for Forgot Password */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 24, 0.85);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #060d28;
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

/* ─── Responsive Breakdown ─── */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .auth-showcase {
    display: none;
  }
  .auth-form-panel {
    padding: 36px 24px;
  }
}
