/* ============================================
   iyikod Auth Gateway — Ortak Stil Dosyası
   Bootstrap 5 üzerine küçük dokunuşlar
   ============================================ */

:root {
  --brand-primary: #0d6efd;
  --brand-primary-dark: #0b5ed7;
  --brand-shadow: 0 10px 30px rgba(13, 110, 253, 0.08);
}

/* ---------- Genel ---------- */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Seçim rengi */
::selection {
  background: rgba(13, 110, 253, 0.2);
}

/* ---------- Navbar ---------- */
.navbar-brand {
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.display-4 {
  letter-spacing: -0.03em;
}

.lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Feature Icon (index.html) ---------- */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ---------- Kart Efektleri ---------- */
.card {
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* ---------- Form Alanları ---------- */
.form-control {
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.input-group-text {
  border-radius: 10px 0 0 10px;
  background: #f8f9fa;
}

/* ---------- Butonlar ---------- */
.btn {
  border-radius: 10px;
  font-weight: 500;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary {
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
}

.btn:active {
  transform: scale(0.98);
}

/* ---------- Auth Kartı (register & login) ---------- */
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--brand-shadow);
}

.auth-card .card-body {
  padding: 2.25rem 2rem;
}

.auth-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

/* ---------- Alert ---------- */
.alert {
  border-radius: 10px;
  font-size: 0.925rem;
}

/* ---------- Footer ---------- */
footer a {
  color: var(--brand-primary);
}

footer a:hover {
  text-decoration: underline !important;
}

/* ---------- Yardımcılar ---------- */
.text-small {
  font-size: 0.875rem;
}

.divider {
  display: flex;
  align-items: center;
  color: #adb5bd;
  font-size: 0.8rem;
  margin: 1.25rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e9ecef;
}

.divider::before {
  margin-right: 0.75rem;
}

.divider::after {
  margin-left: 0.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 576px) {
  .auth-card .card-body {
    padding: 1.75rem 1.25rem;
  }
  .display-4 {
    font-size: 2.25rem;
  }
  .lead {
    font-size: 1rem;
  }
}