/* ================================================================
   OGMFUTSHOP — AUTH.CSS
   Giriş ve kayıt sayfaları
   ================================================================ */

/* ===== AUTH PAGE ===== */
.auth-page {
  background: var(--bg, #101311);
  min-height: 100vh;
}

.auth-main {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(ellipse 55% 55% at 50% 35%,
      rgba(98,243,107,0.04) 0%, transparent 70%);
}

/* ===== AUTH KUTUSU ===== */
.auth-box {
  width: 100%;
  max-width: 400px;
  background: #151917;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

/* Corner accent */
.auth-box::after {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 28px; height: 28px;
  border-top: 1.5px solid rgba(98,243,107,0.4);
  border-right: 1.5px solid rgba(98,243,107,0.4);
  border-radius: 0 20px 0 0;
  pointer-events: none;
}

/* Logo */
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.auth-logo .logo-ea { color: #F2F4F1; }
.auth-logo .logo-fc { color: #62F36B; font-weight: 400; font-style: italic; }

/* Başlık */
.auth-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #F2F4F1;
  letter-spacing: -0.4px;
  text-align: center;
  margin-bottom: 6px;
}

.auth-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #9BA89E;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.55;
}

/* Hata / Başarı */
.auth-error {
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.18);
  color: #e08080;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
  line-height: 1.5;
}
.auth-error.show { display: block; }

.auth-success {
  background: rgba(98,243,107,0.06);
  border: 1px solid rgba(98,243,107,0.18);
  color: #8aeaa0;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
  line-height: 1.5;
}
.auth-success.show { display: block; }

/* Form alanları */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.auth-field label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #9BA89E;
  letter-spacing: 0.2px;
}

.auth-field input {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #F2F4F1;
  background: #1A1F1C;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.auth-field input:focus {
  border-color: rgba(98,243,107,0.35);
  box-shadow: 0 0 0 3px rgba(98,243,107,0.08);
}
.auth-field input::placeholder { color: #3a4040; }
.auth-field input:disabled { opacity: 0.5; cursor: not-allowed; }

/* Şifre göster/gizle */
.auth-pass-wrap { position: relative; }
.auth-pass-wrap input { padding-right: 42px; }
.auth-eye {
  position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; font-size: 14px;
  color: #566058;
  transition: color 0.15s;
  padding: 2px;
}
.auth-eye:hover { color: #9BA89E; }

/* Giriş butonu */
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  background: #62F36B;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  margin-top: 6px;
}
.auth-btn:hover {
  background: #4fd852;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(98,243,107,0.2);
}
.auth-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Şartlar */
.auth-terms {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9BA89E;
  margin-bottom: 8px;
  line-height: 1.55;
}
.auth-terms label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.auth-terms input[type="checkbox"] {
  width: 14px; height: 14px;
  flex-shrink: 0; margin-top: 1px;
  accent-color: #62F36B;
}
.auth-terms a { color: #62F36B; text-decoration: none; }
.auth-terms a:hover { text-decoration: underline; }

/* Footer linki */
.auth-footer {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #566058;
  margin-top: 22px;
  line-height: 1.5;
}
.auth-footer a {
  color: #62F36B;
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover { text-decoration: underline; }

/* Navbar link */
.auth-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9BA89E;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 7px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.auth-nav-link:hover { color: #F2F4F1; border-color: rgba(255,255,255,0.14); }

/* Logout butonu */
.auth-logout-btn {
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.15);
  color: #e08080;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s;
}
.auth-logout-btn:hover { background: rgba(239,68,68,0.13); }

/* ===== DIVIDER ===== */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #566058;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255,255,255,0.06);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .auth-box { padding: 32px 22px; border-radius: 16px; }
  .auth-title { font-size: 20px; }
}
