/* ============================================
   Ultra Premium Auth Sayfası (login/register)
   ============================================ */
.auth-page {
  margin: 0;
  min-height: 100vh;
  background: #05060c;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #e9eaf5;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Arka planda yumuşak glow blobları */
.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.auth-page::before {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 70%);
}
.auth-page::after {
  bottom: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 70%);
}

.auth-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5%;
}
.auth-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.auth-brand span { color: #c084fc; }
.auth-topbar-links { display: flex; gap: 10px; }
.auth-topbar-links a {
  color: #b9bbd6;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.auth-topbar-links a:hover { color: #fff; border-color: rgba(255,255,255,0.15); }

.auth-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 60px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(18, 20, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 34px 30px 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 20px 60px rgba(0,0,0,0.55), 0 0 40px rgba(99,102,241,0.12);
}

.auth-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.auth-card .auth-sub {
  margin: 0 0 24px;
  font-size: 0.88rem;
  color: #9497b8;
}

.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b9bbd6;
}
.auth-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 0.94rem;
  transition: border-color .2s ease, background .2s ease;
}
.auth-field input::placeholder { color: #6b6e8c; }
.auth-field input:focus {
  outline: none;
  border-color: #c084fc;
  background: rgba(99,102,241,0.08);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 22px;
  font-size: 0.85rem;
}
.auth-remember { display: flex; align-items: center; gap: 8px; color: #b9bbd6; }
.auth-remember input { accent-color: #c084fc; width: 15px; height: 15px; }
.auth-row a { color: #e9d5ff; text-decoration: none; }
.auth-row a:hover { text-decoration: underline; }

.auth-btn {
  width: 100%;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #a855f7, #22d3ee);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5); }
.auth-btn:active { transform: translateY(0); }

.auth-foot {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: #9497b8;
}
.auth-foot a { color: #e9d5ff; font-weight: 600; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

.auth-alert {
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}
.auth-alert.error { background: rgba(220, 38, 38, 0.14); border: 1px solid rgba(220, 38, 38, 0.35); color: #fca5a5; }
.auth-alert.success { background: rgba(22, 163, 74, 0.14); border: 1px solid rgba(22, 163, 74, 0.35); color: #86efac; }

.auth-page-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
  color: #6b6e8c;
}
