/* Şira Nur Uysal — üyelik sayfaları
 * shared.css'in üzerine biner; renkler oradaki değişkenlerden gelir.
 */

.uye-wrap {
  max-width: 460px;
  margin: 0 auto;
  /* nav position:fixed ve ~70px yuksekliginde; ust boslugu ona gore ver,
     yoksa sayfanin ilk ogesi menunun altinda kalir. */
  padding: calc(70px + 2.6rem) 1.5rem 4rem;
}
.uye-wrap.genis { max-width: 760px; }

.uye-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #9c7d2e;
  text-align: center;
  margin: 0 0 0.5rem;
}
.uye-baslik {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}
.uye-baslik em { font-style: italic; color: #9c7d2e; }
.uye-alt {
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.7;
  opacity: 0.78;
  margin: 0 0 2rem;
}

.uye-kart {
  background: #fff;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 14px;
  padding: 1.7rem 1.6rem;
  box-shadow: 0 2px 18px rgba(10, 22, 40, 0.05);
}

.uye-alan { margin-bottom: 1.05rem; }
.uye-alan label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.35rem;
  opacity: 0.72;
}
.uye-alan input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.85rem;
  font-size: 0.98rem;
  font-family: inherit;
  color: inherit;
  background: #fdfbf6;
  border: 1px solid rgba(10, 22, 40, 0.16);
  border-radius: 8px;
}
.uye-alan input:focus {
  outline: none;
  border-color: #c9a962;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}
.uye-alan .uye-hata {
  display: none;
  font-size: 0.8rem;
  color: #a3342b;
  margin-top: 0.32rem;
}
.uye-alan.hatali input { border-color: #a3342b; }
.uye-alan.hatali .uye-hata { display: block; }

.uye-onay {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 1.1rem 0 1.3rem;
}
.uye-onay input { margin-top: 0.2rem; flex-shrink: 0; }
.uye-onay a { color: #9c7d2e; }

.uye-btn {
  width: 100%;
  padding: 0.82rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a1628;
  background: #c9a962;
  border: none;
  border-radius: 26px;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.uye-btn:hover { filter: brightness(1.06); }
.uye-btn:disabled { opacity: 0.55; cursor: default; }

.uye-btn-ikincil {
  background: transparent;
  border: 1px solid rgba(201, 169, 98, 0.5);
  color: #9c7d2e;
}

.uye-mesaj {
  display: none;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.uye-mesaj.goster { display: block; }
.uye-mesaj.iyi { background: rgba(45, 106, 79, 0.1); border: 1px solid rgba(45, 106, 79, 0.32); color: #1e4d38; }
.uye-mesaj.kotu { background: rgba(163, 52, 43, 0.08); border: 1px solid rgba(163, 52, 43, 0.3); color: #8d2c24; }
.uye-mesaj.bilgi { background: rgba(201, 169, 98, 0.12); border: 1px solid rgba(201, 169, 98, 0.38); color: #7a6120; }

.uye-ayrac {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 1.4rem 0 0;
}
.uye-ayrac a { color: #9c7d2e; font-weight: 600; }

/* Hesap özeti (giriş yapılmış /uye/) */
.uye-kimlik { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.uye-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: #0a1628; color: #c9a962;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600;
  flex-shrink: 0;
}
.uye-kimlik-ad { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.uye-kimlik-mail { font-size: 0.84rem; opacity: 0.65; word-break: break-all; }

.uye-rozet {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 4px;
}
.uye-rozet.uyelik { background: rgba(201, 169, 98, 0.2); color: #7a6120; }
.uye-rozet.ogrenci { background: rgba(45, 106, 79, 0.16); color: #1e4d38; }

.uye-satir {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  font-size: 0.92rem;
}
.uye-satir .lbl { opacity: 0.72; }
.uye-satir .deger { font-weight: 600; }

.uye-eylemler { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.uye-eylemler .uye-btn { width: auto; flex: 1 1 160px; }

@media (max-width: 520px) {
  .uye-wrap { padding: calc(70px + 1.6rem) 1.1rem 3rem; }
  .uye-baslik { font-size: 1.8rem; }
}

/* Sosyal giriş */
.uye-sosyal { margin-top: 1.3rem; }
.uye-ayirici {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 0 0 1rem; font-size: 0.78rem;
  color: #6b6355;   /* opacity yerine sabit renk: acik temada AA'yi gecsin */
}
.uye-ayirici::before, .uye-ayirici::after {
  content: ''; flex: 1; height: 1px; background: rgba(10, 22, 40, 0.13);
}
.uye-sosyal .g_id_signin { display: flex; justify-content: center; }

.uye-apple-btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 300px; max-width: 100%; margin: .6rem auto 0;
  padding: .62rem 1rem;
  background: #000; color: #fff; border: 1px solid #000; border-radius: 20px;
  font-family: inherit; font-size: .88rem; font-weight: 500; cursor: pointer;
}
.uye-apple-btn:hover { background: #1a1a1a; }
.uye-apple-btn svg { margin-top: -2px; }

/* ============================================================
   KOYU TEMA
   Kart beyaz sabitlenmişti; etiket/yardımcı metinler ise temadan renk
   aldığı için koyu temada krem oluyor ve beyaz kartta okunmuyordu
   (ölçülen kontrast 1.11). Kart da temayla birlikte koyulaşır.
   ============================================================ */
[data-theme="dark"] .uye-kart {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(201, 169, 98, 0.30);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
[data-theme="dark"] .uye-alan label { color: rgba(244, 234, 214, 0.82); opacity: 1; }
[data-theme="dark"] .uye-alan input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 234, 214, 0.22);
  color: #F4EAD6;
}
[data-theme="dark"] .uye-alan input:focus {
  border-color: #C9A962;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.22);
}
[data-theme="dark"] .uye-alan input::placeholder { color: rgba(244, 234, 214, 0.4); }
[data-theme="dark"] .uye-onay { color: rgba(244, 234, 214, 0.82); }
[data-theme="dark"] .uye-onay a,
[data-theme="dark"] .uye-ayrac a,
[data-theme="dark"] .uye-baslik em,
[data-theme="dark"] .uye-eyebrow { color: #C9A962; }
[data-theme="dark"] .uye-ayrac { color: rgba(244, 234, 214, 0.78); opacity: 1; }
[data-theme="dark"] .uye-ayirici { color: rgba(244, 234, 214, 0.65); opacity: 1; }
[data-theme="dark"] .uye-ayirici::before,
[data-theme="dark"] .uye-ayirici::after { background: rgba(244, 234, 214, 0.2); }
[data-theme="dark"] .uye-satir { border-top-color: rgba(244, 234, 214, 0.14); }
[data-theme="dark"] .uye-kimlik-ad { color: #F4EAD6; }
[data-theme="dark"] .uye-kimlik-mail { color: rgba(244, 234, 214, 0.62); opacity: 1; }
[data-theme="dark"] .uye-avatar { background: #C9A962; color: #0A1628; }
[data-theme="dark"] .uye-rozet.uyelik { background: rgba(201, 169, 98, 0.24); color: #E4CC8E; }
[data-theme="dark"] .uye-rozet.ogrenci { background: rgba(45, 106, 79, 0.30); color: #8FD3B0; }
[data-theme="dark"] .uye-btn-ikincil { color: #E4CC8E; border-color: rgba(201, 169, 98, 0.55); }
[data-theme="dark"] .uye-mesaj.iyi  { background: rgba(45, 106, 79, 0.22);  border-color: rgba(120, 200, 160, 0.4); color: #A7E0C2; }
[data-theme="dark"] .uye-mesaj.kotu { background: rgba(163, 52, 43, 0.24);  border-color: rgba(220, 120, 110, 0.4); color: #F0B3AC; }
[data-theme="dark"] .uye-mesaj.bilgi{ background: rgba(201, 169, 98, 0.18); border-color: rgba(201, 169, 98, 0.45); color: #E4CC8E; }
/* Apple yönergesi: koyu zeminde beyaz düğme */
[data-theme="dark"] .uye-apple-btn { background: #fff; color: #000; border-color: #fff; }
[data-theme="dark"] .uye-apple-btn:hover { background: #eaeaea; }
