/* Üyelik Sayfası – Sadece .kb-auth-shell altında geçerli stiller */

.kb-auth-shell {
  max-width: 820px;
  margin: 0 auto;
}

.kb-auth-wrapper {
  max-width: 720px;
}

.kb-auth-title {
  font-weight: 700;
  letter-spacing: .02em;
}

.kb-auth-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Sosyal giriş butonları */
.kb-auth-social-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .kb-auth-social-row {
    flex-direction: row;
    max-width: 640px;
  }

  .kb-auth-social-btn {
    white-space: nowrap;
  }
}

.kb-auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.62rem 0.85rem;
  min-height: 44px; /* mobil dokunma alanı */
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.kb-auth-social-btn img {
  display: block;
}

.kb-auth-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, .12);
}

.kb-auth-social-google {
  background: #d83643;
}

.kb-auth-social-google:hover {
  background: #c12f39;
}

.kb-auth-social-facebook {
  background: #1877F2;
}

.kb-auth-social-facebook:hover {
  background: #0f5ed1;
}

.kb-auth-facebook-icon {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

/* Manuel başlık şeridi */
.kb-auth-manual-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.4rem 0 1rem;
}

.kb-auth-manual-title-wrap::before,
.kb-auth-manual-title-wrap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.kb-auth-manual-title {
  font-size: 0.8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
  color: #4b5563;
  white-space: nowrap;
}

/* Kart */
.kb-auth-card {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.kb-auth-card-header {
  padding: 1rem 1.3rem 0.75rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border-bottom: 1px solid #e5e7eb;
}

.kb-auth-card-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

/* Şifre hatırlatma / sıfırlama başlığını vurgula */
[data-kb-auth-view="forgot"] .kb-auth-card-heading {
  color: #16a085;
}

.kb-auth-card-subheading {
  font-size: 0.78rem;
  color: #9ca3af;
}

.kb-auth-tabs {
  border-radius: 999px;
  background: #e5e7eb;
  padding: 0.25rem;
  gap: 0.25rem;
  justify-content: center;
}

.kb-auth-tabs .nav-link {
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
  color: #4b5563;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  transition: background-color .15s ease, color .15s ease,
              box-shadow .15s ease, border-color .15s ease,
              transform .1s ease;
}

.kb-auth-tabs .nav-link.active {
  background-color: #16a085;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(22, 160, 133, 0.4);
}

.kb-auth-tabs .nav-link:not(.active) {
  background-color: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.kb-auth-tabs .nav-link:not(.active):hover {
  border-color: rgba(22, 160, 133, 0.45);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

/* Üye Ol sekmesini biraz daha dikkat çekici yap */
.kb-auth-tabs .nav-link[data-kb-auth-tab="register"] {
  font-weight: 600;
}
.kb-auth-tabs .nav-link[data-kb-auth-tab="register"]:not(.active) {
  color: #16a085;
}
.kb-auth-tabs .nav-link[data-kb-auth-tab="register"]:not(.active):hover {
  background-color: rgba(22, 160, 133, 0.06);
}

.kb-auth-card-body {
  padding: 1.25rem 1.3rem 1.3rem;
}

@media (min-width: 768px) {
  .kb-auth-card-header {
    padding: 1.1rem 1.6rem 0.9rem;
  }

  .kb-auth-card-body {
    padding: 1.4rem 1.6rem 1.5rem;
  }
}

/* Form alanları */
.kb-auth-field-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #374151;
}

.kb-auth-input-wrap {
  position: relative;
}

.kb-auth-input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #9ca3af;
}

.kb-auth-input-wrap .form-control {
  padding-left: 2.1rem;
  border-radius: 0.7rem;
  border-color: #d1d5db;
  font-size: 0.9rem;
}

.kb-auth-input-wrap .form-control:focus {
  border-color: #16a085;
  box-shadow: 0 0 0 1px rgba(22, 160, 133, .18);
}

/* iOS (ve iOS WebView) otomatik zoom'u engellemek için:
   form alanları font-size < 16px olduğunda Safari/WebKit sayfayı zoom'lar. */
@media (max-width: 991.98px) {
  .kb-auth-shell .kb-auth-input-wrap .form-control {
    font-size: 16px;
  }
}

.kb-auth-helper-text {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.15rem;
}

.kb-auth-kvkk-label {
  font-size: 0.8rem;
  color: #4b5563;
}

.kb-auth-link {
  color: #16a085;
}

.kb-auth-link:hover {
  color: #12836e;
}

.kb-auth-submit-btn {
  border-radius: 0.75rem;
  font-weight: 650;
  font-size: 0.95rem;
}

/* Hata durumları */
.kb-auth-input-error .form-control {
  border-color: #dc2626 !important;
}

.kb-auth-input-error .kb-auth-input-icon {
  color: #dc2626;
}

/* Mobilde alt tabbar ile kart arasında ekstra boşluk */
@media (max-width: 767.98px) {
  .kb-auth-main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }

  .kb-auth-shell {
    margin-bottom: 12px;
  }

  /* Klavye açıkken alt tabbarı geçici gizlediğimiz senaryoda gereksiz boşluğu azalt */
  body.kb-keyboard-open .kb-auth-main {
    padding-bottom: 16px !important;
  }
}



