/* azatech – Acenta ekranları (acenta kartı, acenta hesapları, kırmızı liste). Standart bileşenler kutu.css'te; burada yalnız bu ekranlara özgü düzen. */

/* ---- Kayıt kartı: sekmeler tek satır, kaydırma çubuğu yok; sığmayanlar "Daha fazla" menüsünde ---- */
.kk-sek { overflow: visible; position: relative; flex-wrap: nowrap; scrollbar-width: none; }
.kk-sek::-webkit-scrollbar { display: none; }
.kk-sek > button[hidden], .kk-daha[hidden] { display: none; }
.kk-daha { position: relative; margin-inline-start: auto; flex: 0 0 auto; }
.kk-daha-d { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 14px 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--mut); cursor: pointer; white-space: nowrap; }
.kk-daha-d:hover, .kk-daha-d[aria-expanded="true"] { color: var(--navy); }
.kk-daha-l { position: absolute; z-index: 30; inset-inline-end: 0; top: calc(100% + 2px); min-width: 220px; max-width: min(320px, 86vw); background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(20, 24, 40, .14); padding: 6px; display: flex; flex-direction: column; }
.kk-daha-l[hidden] { display: none; }
.kk-daha-l button { text-align: start; background: none; border: 0; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.kk-daha-l button:hover { background: color-mix(in srgb, var(--navy) 7%, transparent); }
.kk-sek:has(.kk-daha-l:not([hidden])) { z-index: 5; }

/* geri bağlantısı: uzun ad taşmaz */
.kk-geri-dug { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }

/* ---- Kutu içi boşluklar ve istatistik şeridi ---- */
.kk > .stat-grid { margin: 0 0 var(--b-3, 12px); }
.kk-panel .kutu.dt-b { margin-top: var(--b-3, 12px); padding: 16px 20px 18px; }
.kk-panel > .kutu.dt-b:first-child, .kk-panel > .dt-iki:first-child .kutu.dt-b { margin-top: 0; }
.kk-panel .kutu.dt-b .kutu-bas { margin: 0 0 var(--b-3, 12px); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kk-panel .kutu.dt-b .kutu-bas h3 { margin: 0; padding: 0; border: 0; font-size: 16px; color: var(--navy); }
.kk-panel .kutu.dt-b .tbl-x { margin-top: 0; }
.ac-fazla { display: flex; justify-content: center; padding: 10px 0 0; }

/* ---- Acenta hesapları ---- */
.ah-app { display: flex; flex-direction: column; gap: var(--b-3, 12px); }
.ah-app .kutu + .kutu { margin-top: 0; }
.ah-app .kutu-bas { margin-bottom: 8px; }
.ah-ac { margin: 0 0 var(--b-3, 12px); color: var(--mut); font-size: 13px; line-height: 1.5; }
.ah-ac:last-child { margin-bottom: 0; }
.ah-app .tbl-x { margin: 0; }
.ah-app .sayfa-araci { margin-bottom: 10px; }
.ah-bos { padding: 18px; text-align: center; color: var(--mut); }
/* daire listesi: iç kaydırma KALDIRILDI (5 Kasım kararı); uzun liste sayfalama ile bölünür (sayfala.js) */
.ac-kaydir td:first-child, .ac-kaydir th:first-child { width: 44px; }

/* ---- Temas kaydet penceresi (kırmızı liste) ---- */
.tk-sec { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.tk-sec legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.tk-sec label { position: relative; margin: 0; }
.tk-sec input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.tk-sec span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--panel, #fff); color: var(--ink); }
.tk-sec input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.tk-sec input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.ah-app td.acts .btn-satir { flex-wrap: nowrap; justify-content: flex-end; }
.kk-sek button[data-ksek], .kk-sek .kk-daha-d { white-space: nowrap; flex: 0 0 auto; max-width: none; overflow-wrap: normal; word-break: normal; }
.kk-sek { min-width: 0; }
.kk-daha-l button { white-space: normal; max-width: none; }
.sg-satir-ac { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

@media (max-width: 640px) {
  .kk-daha-d { padding: 12px 10px 10px; }
  .kk-daha-l { inset-inline-end: -8px; }
}
