/* ── Auth Pages — Landing Page ile uyumlu, standalone ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.auth-body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  background: linear-gradient(145deg, #0a1f12 0%, #0f2d1c 30%, #1b4332 65%, #2d6a4f 100%);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* ── Floating leaves (landing page ile aynı) ── */
.auth-leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.auth-leaf {
  position: absolute;
  border-radius: 50% 0;
  animation: auth-leaf-fall linear infinite;
  top: -20px;
}
.auth-leaf-1 { left: 8%;  width: 9px;  height: 9px;  animation-duration: 14s; animation-delay: 0s;   background: rgba(82,183,136,0.28); }
.auth-leaf-2 { left: 28%; width: 7px;  height: 7px;  animation-duration: 10s; animation-delay: -3.5s; background: rgba(212,160,23,0.20); }
.auth-leaf-3 { left: 55%; width: 10px; height: 10px; animation-duration: 16s; animation-delay: -7s;   background: rgba(82,183,136,0.24); }
.auth-leaf-4 { left: 75%; width: 6px;  height: 6px;  animation-duration: 11s; animation-delay: -2s;   background: rgba(212,160,23,0.16); }
.auth-leaf-5 { left: 44%; width: 8px;  height: 8px;  animation-duration: 13s; animation-delay: -5s;   background: rgba(82,183,136,0.22); }
.auth-leaf-6 { left: 90%; width: 7px;  height: 7px;  animation-duration: 12s; animation-delay: -8s;   background: rgba(64,145,108,0.20); }

@keyframes auth-leaf-fall {
  0%   { transform: translateY(-20px) rotate(0deg) translateX(0);     opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(105vh) rotate(380deg) translateX(55px); opacity: 0; }
}

/* Arka plan radyal ışık efekti */
.auth-body::before {
  content: '';
  position: fixed;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.05) 0%, transparent 65%);
  top: -20%; left: -15%;
  pointer-events: none;
  z-index: 0;
}
.auth-body::after {
  content: '';
  position: fixed;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.08) 0%, transparent 70%);
  bottom: -10%; right: -10%;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
.auth-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  flex-shrink: 0;
}

.auth-nav-logo {
  font-size: 1.45rem;
  font-weight: 900;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.auth-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.auth-nav-back:hover { color: rgba(255,255,255,0.90); }

.auth-nav-back svg { flex-shrink: 0; }

/* ── Sayfa merkezi ── */
.auth-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

/* ── Kart ── */
.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(8,24,14,0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(82,183,136,0.18);
  border-radius: 22px;
  padding: 2.75rem 2.5rem;
  box-shadow:
    0 28px 68px rgba(0,0,0,0.55),
    0 0 0 1px rgba(82,183,136,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
  animation: auth-rise 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes auth-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Badge ── */
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(212,160,23,0.12);
  color: #d4a017;
  border: 1px solid rgba(212,160,23,0.28);
  border-radius: 100px;
  padding: 0.38rem 0.95rem;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.auth-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #d4a017;
  flex-shrink: 0;
  animation: auth-pulse 2.2s ease-in-out infinite;
}

@keyframes auth-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.72); }
}

/* ── Başlık ── */
.auth-card h1 {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin-bottom: 0.45rem;
}

.auth-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── Alert ── */
.auth-alert {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  line-height: 1.55;
}
.auth-alert ul { padding-left: 1.1rem; margin: 0; }
.auth-alert-error {
  background: rgba(180,40,40,0.18);
  border: 1px solid rgba(255,100,100,0.25);
  color: #fca5a5;
}
.auth-alert-success {
  background: rgba(82,183,136,0.14);
  border: 1px solid rgba(82,183,136,0.28);
  color: #86efac;
}

/* ── Form ── */
.auth-group { margin-bottom: 1.1rem; }

.auth-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.60);
  margin-bottom: 0.42rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.auth-group input {
  width: 100%;
  padding: 0.78rem 1rem;
  background: rgba(27,67,50,0.40);
  border: 1.5px solid rgba(82,183,136,0.20);
  border-radius: 11px;
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth-group input::placeholder { color: rgba(255,255,255,0.25); }
.auth-group input:focus {
  outline: none;
  border-color: #d4a017;
  background: rgba(27,67,50,0.65);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.13);
}

/* ── Gönder butonu ── */
.auth-submit {
  width: 100%;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #d4a017;
  color: #0a1f12;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 24px rgba(212,160,23,0.35);
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s;
}
.auth-submit:hover {
  background: #e6b822;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,160,23,0.50);
}
.auth-submit:active { transform: translateY(0); }

/* ── Checkbox ── */
.auth-group-check { margin-bottom: .6rem; }

.auth-check-label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  text-transform: none;
  font-size: .82rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  line-height: 1.5;
}

.auth-check-input {
  width: auto !important;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #d4a017;
}

.auth-check-label a {
  color: #d4a017;
  text-decoration: none;
}
.auth-check-label a:hover { text-decoration: underline; }

/* ── Alt link ── */
.auth-footer {
  text-align: center;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(82,183,136,0.12);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}
.auth-footer a {
  color: #d4a017;
  text-decoration: none;
  font-weight: 700;
}
.auth-footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 520px) {
  .auth-nav { padding: 1rem 1.5rem; }
  .auth-card { padding: 2rem 1.5rem; border-radius: 18px; }
  .auth-card h1 { font-size: 1.7rem; }
}
