/* Üye Bilgileri Sayfası – iskelet stil dosyası
 *
 * Not: Bu dosya sadece `uye-bilgileri.html` altında kullanılacak
 * profil / üye bilgileri arayüzü için özelleştirilmiş stiller
 * eklemek amacıyla oluşturulmuştur.
 */

:root { --tabbar-h: 92px; }
.kb-profile-shell {
  max-width: 840px;
  margin: 0 auto;
}

.kb-profile-page-title {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.kb-profile-page-title-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kb-primary);
  box-shadow: 0 4px 10px rgba(22,160,133,.18);
}

.kb-profile-page-title h5,
.kb-profile-page-title h4,
.kb-profile-page-title h1 {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.kb-profile-header {
  background: linear-gradient(90deg, #ecfdf5 0%, #ffffff 40%, #ffffff 100%);
  border: 1px solid #e5e7eb;
  color: #111827;
}

.kb-profile-header .card-body {
  padding: 1rem 1.1rem;
}

.kb-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: var(--kb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(22, 160, 133, .35);
}

.kb-profile-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
}

.kb-profile-email {
  word-break: break-all;
  color: #4b5563;
}

.kb-chip-neutral {
  background: #ecfdf5;
  color: var(--kb-primary);
  border: none;
  font-size: .75rem;
}

.kb-chip-muted {
  background: #e5e7eb;
  color: #374151;
  border: none;
  font-size: .72rem;
}

/* Durum rozeti — hesap aktif ve onaylıysa daha canlı renk */
.kb-chip-status-success {
  background: #16a085;
  color: #ffffff;
  border: none;
  font-size: .72rem;
  box-shadow: 0 3px 10px rgba(22,160,133,.28);
}

.kb-profile-summary {
  /* Masaüstü ve tablet: 2 kolonlu düzen, tam hizalı satırlar */
  display: grid;
  grid-template-columns: minmax(130px, 200px) 1fr;
  column-gap: 1.75rem;
  row-gap: .3rem;
  align-items: baseline;
  border-left: 3px solid #d1fae5;
  padding-left: .9rem;
}

.kb-profile-summary dt,
.kb-profile-summary dd {
  margin: 0;
}

.kb-profile-summary dt {
  /* Basit, modern başlık: metin + küçük renkli nokta */
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .75rem;
  color: #6b7280;
  margin-bottom: .1rem;
}

.kb-profile-summary dd {
  margin-bottom: .35rem;
  font-size: .9rem;
  color: #111827;
}

.kb-profile-summary dt::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px #ecfdf5;
}

.kb-profile-shell .form-label {
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #111827;
}

.kb-section-heading {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #111827;
}

.kb-section-heading-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: var(--kb-primary);
  font-size: 15px;
}

.kb-section-heading-icon-blue {
  background: #e0f2fe;
  color: #0369a1;
}

.kb-section-heading-label {
  padding: .2rem .8rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: .78rem;
}

@media (max-width: 575.98px) {
  /* Mobilde, son içerikten sonra alt menü barına kadar rahat kaydırma alanı bırakılır. */
  main { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .mobile-bottom-spacer { height: 72px; }

  .kb-profile-summary {
    grid-template-columns: 1fr;
    border-left: none;
    padding-left: 0;
  }

  .kb-profile-summary dt {
    margin-bottom: .15rem;
    font-size: .72rem;
  }

  .kb-profile-summary dd {
    margin-bottom: .6rem;
    font-size: .95rem;
  }

  .kb-profile-header .card-body {
    padding: .9rem .85rem;
  }

  .kb-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    font-size: 1.1rem;
  }

  /* Mobilde 'Bilgilerimi Güncelle' butonunu karta ortala */
  .kb-profile-shell #kbProfileSubmit {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: .25rem auto 0;
  }
}

