/* Hesap: giriş/kayıt penceresi, üst menüdeki hesap düğmesi ve kullanıcı paneli. musteri.css'in değişkenlerini kullanır. */

/* ------------------------------------------------------------ giriş / kayıt penceresi */
body.kilitli { overflow: hidden; }
.pencere-arka { position: fixed; inset: 0; z-index: 70; background: rgba(3, 3, 8, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; justify-items: center; padding: 16px; animation: solma .15s ease; overflow-y: auto; }
@keyframes solma { from { opacity: 0; } }
.pencere { position: relative; width: 100%; max-width: 420px; background: var(--yuzey); border-radius: 22px; padding: 32px 28px 24px; margin: auto 0;
  box-shadow: var(--golge), inset 0 0 0 1px var(--cizgi2); animation: kalk .2s ease; }
@keyframes kalk { from { transform: translateY(10px); opacity: 0; } }
.pencere h2 { font-size: 23px; margin-bottom: 6px; }
.p-icerik > .soluk { margin: 0 0 20px; font-size: 15px; }
.pencere-kapat { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: var(--soluk); font-size: 22px; line-height: 1; }
.pencere-kapat:hover { color: var(--yazi); background: rgba(255, 255, 255, .1); }
.dugme.google { background: #fff; color: #1f1f1f; box-shadow: none; }
.dugme.google:hover { background: #f1f1f4; box-shadow: none; }
.ayrac { display: flex; align-items: center; gap: 12px; color: var(--silik); font-size: 13px; margin: 18px 0 4px; }
.ayrac::before, .ayrac::after { content: ""; flex: 1; height: 1px; background: var(--cizgi2); }
.pencere .alan { margin: 12px 0; }
.p-sag { text-align: right; margin: -4px 0 10px; }
.p-onay { font-size: 12.5px; color: var(--silik); text-align: center; margin: 14px 0 0; }
.p-onay a { color: var(--soluk); }
.p-alt { text-align: center; font-size: 14px; color: var(--soluk); margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--cizgi); }
.baglanti { -webkit-appearance: none; appearance: none; border: 0; background: none; padding: 0; font: inherit; color: #c4b5fd; cursor: pointer; font-weight: 600; }
.baglanti:hover { text-decoration: underline; }
.pencere button:disabled { opacity: .55; cursor: default; }

/* ------------------------------------------------------------ üst menü: hesap */
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: grid; place-items: center;
  background: var(--egim); color: #fff; font-weight: 700; font-size: 14px; }
.avatar.buyuk { width: 72px; height: 72px; font-size: 26px; }
.hesap-dugme { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 3px 14px 3px 3px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--cizgi2); font-weight: 600; font-size: 14.5px; }
.hesap-dugme:hover { background: rgba(255, 255, 255, .05); }
@media (max-width: 520px) { .hesap-dugme .hd-ad { display: none; } .hesap-dugme { padding: 3px; } .ust-sag .giris-dugme { display: none; } }

/* ------------------------------------------------------------ kullanıcı paneli */
.panel { flex: 1; width: 100%; max-width: var(--gen); margin: 0 auto; display: grid; grid-template-columns: 232px 1fr; gap: 32px; padding: 28px 20px 64px; }
.yan { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.yan a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--soluk);
  font-weight: 500; font-size: 15px; transition: background .15s, color .15s; }
.yan a svg { width: 19px; height: 19px; flex-shrink: 0; }
.yan a:hover { background: rgba(255, 255, 255, .04); color: var(--yazi); }
.yan a[aria-current="page"] { background: rgba(139, 92, 246, .14); color: var(--yazi); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .3); }
.yan a[aria-current="page"] svg { color: #c4b5fd; }
.icerik { min-width: 0; }
.icerik-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.icerik-bas h1 { font-size: clamp(26px, 3vw, 32px); }
.icerik-bas p { color: var(--soluk); margin: 6px 0 0; }
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; gap: 0; padding: 0 0 calc(76px + env(safe-area-inset-bottom)); }
  .icerik { padding: 22px 16px 32px; }
  .yan { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 25; flex-direction: row; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(13, 13, 21, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--cizgi); }
  .yan a { flex: 1; flex-direction: column; gap: 3px; padding: 7px 2px; font-size: 11.5px; text-align: center; border-radius: 10px; }
  .yan a[aria-current="page"] { box-shadow: none; }
  body.panel-sayfa .alt { display: none; }
}
.blok { margin-bottom: 32px; }
.blok-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.blok-bas h2 { font-size: 18px; }
.liste { display: grid; gap: 10px; }
.satir { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r2); background: var(--yuzey); box-shadow: inset 0 0 0 1px var(--cizgi);
  text-decoration: none; transition: background .15s, box-shadow .15s; color: inherit; font: inherit; text-align: left; width: 100%; border: 0; }
a.satir:hover, button.satir:hover { background: var(--yuzey2); box-shadow: inset 0 0 0 1px var(--cizgi2); cursor: pointer; }
.satir .sembol { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 22px;
  background: rgba(139, 92, 246, .12); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .25); }
.satir .sembol svg { width: 22px; height: 22px; color: #c4b5fd; }
.satir .bilgi { flex: 1; min-width: 0; }
.satir .bilgi b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.satir .bilgi small { color: var(--soluk); font-size: 13.5px; }
.satir .ok { color: var(--silik); flex-shrink: 0; display: flex; }
.satir .ok svg { width: 18px; height: 18px; }
.satir.kapali { opacity: .55; cursor: default; }
.satir .ilerleme { margin: 8px 0 0; height: 6px; }
.durum { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .06); color: var(--soluk); flex-shrink: 0; }
.durum.d-hazir, .durum.d-teslim { background: rgba(52, 211, 153, .12); color: #6ee7b7; }
.durum.d-uretiliyor, .durum.d-gorev, .durum.d-yeni { background: rgba(139, 92, 246, .14); color: #d8b4fe; }
.durum.d-hata, .durum.d-iptal { background: rgba(248, 113, 113, .12); color: #fca5a5; }
.durum.d-uretiliyor::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: nabiz 1.4s infinite; }
@media (max-width: 520px) { .satir { gap: 12px; padding: 14px; } .satir .sembol { width: 38px; height: 38px; font-size: 19px; } .satir .ok { display: none; } }
.bos { text-align: center; padding: 40px 20px; border-radius: var(--r); background: var(--yuzey); box-shadow: inset 0 0 0 1px var(--cizgi); color: var(--soluk); }
.bos h3 { color: var(--yazi); font-size: 18px; margin-bottom: 6px; }
.bos p { margin: 0; }
.bos .dugme { margin-top: 18px; }
.hak { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r2); background: var(--yuzey); box-shadow: inset 0 0 0 1px var(--cizgi); }
.hak .bilgi { flex: 1; min-width: 200px; }
.hak b { display: block; } .hak small { color: var(--soluk); font-size: 14px; }
.profil-bas { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.profil-bas b { font-size: 19px; display: block; } .profil-bas small { color: var(--soluk); word-break: break-all; }
.bilgi-tablo { margin: 0; }
.bilgi-tablo div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--cizgi); font-size: 14.5px; }
.bilgi-tablo dt { color: var(--soluk); } .bilgi-tablo dd { margin: 0; text-align: right; word-break: break-word; }
.kart.tehlike { box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .3); }
.dugme.kirmizi { background: #dc2626; box-shadow: none; }
.satir-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.satir-form .alan { flex: 1; min-width: 200px; margin: 0; }
.adim-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }

/* ------------------------------------------------------------ YouTube düğmesi (sipariş sayfası) */
.dugme.yt svg { width: 18px; height: 18px; color: #ff3b3b; }
.yt-yer { display: inline-flex; flex-direction: column; gap: 4px; }
.yt-hata { color: #fca5a5; font-size: 12.5px; max-width: 260px; }
.pencere select { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 0; background: var(--zemin, #0d0d15);
  color: var(--yazi); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pencere textarea { resize: vertical; }
