/* =============================================================================
   master-single GENEL SABLONU (giris / kayit + ayni kabugu kullanan 6 sayfa)
   Plan 1b6dfbfc, handoff_giris_kayit_sablon (18.11.2026).

   Kapsam: header (sade baslik), TL seridi, sayfa yerlesimi, tanitim paneli, kart kabugu +
   sekmeler, guven satiri, footer. ORTA ALANIN ICERIGI (giris/kayit formu) bu dosyada YOK,
   login.css'te kalir.
   Kirilimlar: 1100+ iki sutun (panel + kart) · 1024-1099 yalniz kart · 768-1023 dar bosluk,
   header'da Siteye don / Destek yalniz ikon · 767- mobil.
   Sol/sag degerleri mantiksal ozelliklerle (RTL: ar).
   ========================================================================== */

.tsSablon {
    --tsYuzey: #20212B;
    --tsKutu: #272834;
    --tsCizgi: #333444;
    --tsMetin: #C8C9D8;
    --tsSoluk: #ABACB5;
    --tsSoluk2: #8B8C99;
    --tsGuclu: #EDEEF2;
    --tsNane: #80F1B1;
    --tsNaneH: #A8F6CE;
    --tsHalkaZ: rgba(128,241,177,.10);
    --tsHalkaK: rgba(128,241,177,.22);
    --tsHalkaI: #80F1B1;
    --tsIletZ: #80F1B1;
    --tsIletI: #343891;
    --tsSeritZ: #12211A;
    --tsSeritM: #BFE9D2;
    --tsSeritK: #1E3A2C;
    --tsMenuGolge: 0 18px 40px rgba(0,0,0,.42);

    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}
body.light .tsSablon {
    --tsYuzey: #FFFFFF;
    --tsKutu: #F5F4EE;
    --tsCizgi: #E3E1D9;
    --tsMetin: #1F1E1D;
    --tsSoluk: #6B6A65;
    --tsSoluk2: #5F5E58;
    --tsGuclu: #1F1E1D;
    --tsNane: #137E4C;
    --tsNaneH: #1A9A5E;
    --tsHalkaZ: rgba(52,56,145,.06);
    --tsHalkaK: rgba(52,56,145,.10);
    --tsHalkaI: #343891;
    --tsIletZ: #343891;
    --tsIletI: #FFFFFF;
    --tsSeritZ: rgba(19,126,76,.08);
    --tsSeritM: #0E5C38;
    --tsSeritK: rgba(19,126,76,.22);
    --tsMenuGolge: 0 18px 40px rgba(31,30,29,.12);
}
/* Mobil alt menu kalkti: eski duzenin body alt boslugu gerekmez (B10). */
body { padding-bottom: 0; }

.tsSablon .tkIkon { display: block; flex: none; }
[dir="rtl"] .tsSablon .tkIkon-geri { transform: scaleX(-1); }
.tsSablon a:focus-visible,
.tsSablon button:focus-visible { outline: 2px solid var(--tsNane); outline-offset: 2px; }

/* Ortak ic kap: header, serit, main ve footer ayni hizada (logo ile panel sol kenari). */
.tsKap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 40px; }

/* ---- Header --------------------------------------------------------------- */
.tsHeader { flex: none; background: var(--tsYuzey); border-bottom: 1px solid var(--tsCizgi); position: relative; z-index: 20; }
.tsHeaderIc { height: 72px; display: flex; align-items: center; gap: 10px; }
.tsLogo { display: flex; align-items: center; flex: none; }
.tsLogo img { height: 38px; width: auto; display: block; }
.tsLogo .tsLogoAcik { display: none; }
body.light .tsLogo .tsLogoKoyu { display: none; }
body.light .tsLogo .tsLogoAcik { display: block; }
.tsBosluk { flex: 1 1 auto; }

.tsGeri {
    height: 40px; padding: 0 6px; display: inline-flex; align-items: center; gap: 6px;
    color: var(--tsSoluk); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none;
}
.tsGeri:hover { color: var(--tsGuclu); }
.tsGeriMobil { display: none !important; }
.tsAyrac { width: 1px; height: 24px; background: var(--tsCizgi); margin: 0 6px; flex: none; }

.tsHBtn {
    height: 40px; min-width: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    border-radius: 10px; border: 1px solid var(--tsCizgi); background: var(--tsKutu); color: var(--tsMetin);
    font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none;
    transition: color .16s;
}
.tsHBtn:hover, .tsHBtn:focus { color: var(--tsGuclu); background: var(--tsKutu); }
.tsTema { padding: 0; }
.tsTema .tsTemaAy { display: none; }
body.light .tsTema .tsTemaGunes { display: none; }
body.light .tsTema .tsTemaAy { display: block; }
.tsDilOk { color: var(--tsSoluk); display: flex; }

/* Dil menusu */
.tsDil { position: relative; }
.tsDilMenu {
    position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60; width: 200px; padding: 6px;
    background: var(--tsYuzey); border: 1px solid var(--tsCizgi); border-radius: 12px; box-shadow: var(--tsMenuGolge);
}
.tsDilMenu[hidden] { display: none; }
.tsDilOge {
    min-height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border-radius: 8px; color: var(--tsMetin); font-size: 13px; font-weight: 600; text-decoration: none;
}
.tsDilOge:hover, .tsDilOge:focus { background: var(--tsKutu); color: var(--tsGuclu); }
.tsDilOge[aria-checked="true"] { color: var(--tsGuclu); font-weight: 750; }
.tsDilOge .tkIkon { color: var(--tsNane); }

/* ---- TL seridi (tl-doviz-serit; ortak parca, sitenin ana duzeninde de basiliyor; buradaki
        gorunum yalniz bu sablonda). Header'in altinda tam genislik, temaya gore renk (K10). ---- */
.tsSablon .eksTlSerit {
    flex: none; min-height: 40px; font-size: 12.5px; font-weight: 600; line-height: 1.5;
    background: var(--tsSeritZ); color: var(--tsSeritM); border-bottom: 1px solid var(--tsSeritK);
    padding: 6px calc(max(40px, (100% - 1120px) / 2) + 40px);
}
.tsSablon .eksTlSerit i { color: var(--tsHalkaI); }
.tsSablon .eksTlSeritKapat {
    right: auto; inset-inline-end: max(40px, calc((100% - 1120px) / 2));
    width: 32px; height: 32px; padding: 0; border-radius: 8px; color: var(--tsSeritM);
    display: flex; align-items: center; justify-content: center;
}
.tsSablon .eksTlSeritKapat:hover { color: var(--tsGuclu); }

/* ---- Yerlesim ------------------------------------------------------------- */
/* Icerik artik dikey ortalanmaz, ustten baslar (B11). */
.tsMain { flex: 1 0 auto; width: 100%; display: block; }

.tsIki {
    width: 100%; margin-inline: auto; padding: 56px 40px 72px;
    display: flex; flex-direction: column; align-items: center;
}
.tsSag { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.tsPanel { display: none; }

@media (min-width: 1100px) {
    .tsIki {
        max-width: 1200px;
        display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; align-items: start;
    }
    .tsPanel { display: block; min-width: 0; padding-top: 28px; position: sticky; top: 32px; }
    .tsIki .tsKisaH1 { display: none !important; }
}

/* ---- Tanitim paneli (yalniz 1100+) ---------------------------------------- */
.tsPanelBaslik {
    margin: 0; font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em;
    color: var(--tsGuclu); text-wrap: balance;
}
.tsPanelAlt { margin: 14px 0 0; max-width: 440px; font-size: 15.5px; line-height: 1.6; color: var(--tsSoluk); text-wrap: pretty; }
.tsAvantaj { list-style: none; margin: 40px 0 0; padding: 0; max-width: 460px; display: flex; flex-direction: column; gap: 24px; }
.tsAvantaj li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; }
.tsHalka {
    width: 44px; height: 44px; border-radius: 999px; background: var(--tsHalkaZ); border: 1px solid var(--tsHalkaK);
    color: var(--tsHalkaI); display: flex; align-items: center; justify-content: center;
}
.tsAvMetin { min-width: 0; }
.tsAvBaslik { display: block; font-size: 15px; font-weight: 700; color: var(--tsMetin); }
.tsAvAcik { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--tsSoluk); }

/* ---- Kart kabugu + sekmeler (K1, K4). Zemin/kenar/kose/golge login.css .authSayfaKabuk.authYeni'den
        aynen; burada yalniz genislik ve sekme olculeri. Ici (form) login.css'te. ---- */
.tsKart.authSayfaKabuk { width: 100%; max-width: 440px; margin: 0; }
.tsKart.authSayfaKabuk.authYeni .authSayfaSekmeler {
    display: flex; align-items: stretch; gap: 4px; height: 53px; padding: 4px 14px 0; margin: 0;
}
.tsKart.authSayfaKabuk.authYeni .authSayfaSekme { display: inline-flex; align-items: center; white-space: nowrap; flex: none; }

/* ---- Guven satiri (K5) ---------------------------------------------------- */
.tsGuven {
    list-style: none; margin: 16px 0 0; padding: 0; width: 100%; max-width: 440px;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.tsGuven li {
    min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--tsSoluk);
}
.tsGuven .tkIkon { color: var(--tsHalkaI); }

/* ---- Footer (K6) ---------------------------------------------------------- */
.tsFooter { flex: none; background: var(--tsYuzey); border-top: 1px solid var(--tsCizgi); }
.tsFooterIc {
    min-height: 60px; padding-block: 12px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px;
}
.tsIletisim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.tsIlet {
    display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
    color: var(--tsMetin); font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none;
}
.tsIlet:hover { color: var(--tsGuclu); }
.tsIletDaire {
    width: 24px; height: 24px; border-radius: 999px; background: var(--tsIletZ); color: var(--tsIletI);
    display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none;
}
.tsIletDaire i { color: inherit; --fa-primary-color: currentColor; --fa-secondary-color: currentColor; }
.tsFooterSag { display: flex; align-items: center; gap: 18px; }
.tsCerez {
    display: inline-flex; align-items: center; min-height: 32px; color: var(--tsSoluk); font-size: 13px; font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tsCizgi); white-space: nowrap;
}
.tsCerez:hover { color: var(--tsGuclu); text-decoration: underline; }
.tsTelif { font-size: 12.5px; color: var(--tsSoluk2); white-space: nowrap; }

/* ---- 1024-1099 ve alti --------------------------------------------------- */
@media (max-width: 1023px) {
    .tsIki { padding: 40px 24px 56px; }
    .tsGeri .tsGizlenebilir,
    .tsDestek .tsGizlenebilir { display: none; }
    .tsDestek { padding: 0; }
}

/* ---- Mobil (767-) --------------------------------------------------------- */
@media (max-width: 767px) {
    .tsHeader .tsKap { padding-inline: 6px; }
    .tsHeaderIc { height: 60px; gap: 2px; }
    .tsLogo img { height: 30px; }
    .tsGeri, .tsAyrac, .tsDilOk { display: none; }
    .tsGeriMobil { display: inline-flex !important; }
    .tsHBtn { height: 44px; min-width: 44px; border-color: transparent; background: transparent; }
    .tsHBtn:hover, .tsHBtn:focus { background: transparent; }
    .tsDil .tsHBtn { padding: 0 8px; }
    .tsTema, .tsDestek, .tsGeriMobil { padding: 0; }
    .tsDilMenu { inset-inline-end: -44px; }

    .tsSablon .eksTlSerit { padding: 8px 48px 8px 16px; padding-inline: 16px 48px; justify-content: flex-start; }
    .tsSablon .eksTlSeritIc { text-align: start; }
    .tsSablon .eksTlSeritKapat { inset-inline-end: 0; width: 44px; height: 44px; }

    .tsIki { padding: 20px 16px 32px; }

    .tsGuven li { flex-direction: column; text-align: center; gap: 6px; }

    .tsFooterIc { padding: 18px 16px 22px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; }
    .tsIletisim { flex-direction: column; align-items: flex-start; gap: 2px; }
    .tsIlet { min-height: 40px; }
    .tsFooterSag { width: 100%; justify-content: center; gap: 14px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--tsCizgi); }
    .tsCerez { min-height: 44px; }
}
