/* Parsel Atlası · menü düzeni 20261110-m1 (Ömer onayı t1200u)
   Sol menü kartları + CBS Hizmetleri açılır listesi + üst menü + ülke şeridi.
   Yalnız yerleşim; metin/bağlantı değişmez. index.html'de en SON stil olarak yüklenir.
   Geri alma: index.html'deki pa-menu-duzen link/script satırlarını sil (bkz. /workspace/menu-fix/CANLI.md). */

/* ---------- 1) Sol menü: sabit kartlar tek tip (masaüstü .pa-sd-pin içinde, mobilde .atlas-action-grid içinde) ---------- */
html body #pa-yo-apl:not(#pa-md),
html body #pa-imar-kart:not(#pa-md),
html body #pa-yo-parsel-analiz:not(#pa-md),
html body #pa-yo-cbs:not(#pa-md){
  display:flex!important;align-items:center!important;gap:10px!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  margin:0!important;min-height:52px!important;padding:8px 12px!important;
  border:1px solid rgba(184,151,90,.55)!important;border-radius:10px!important;
  background:#1b2f5a!important;box-shadow:none!important;color:#fff!important;text-align:left!important}
html body #pa-imar-kart:not(#pa-md):hover,html body #pa-yo-parsel-analiz:not(#pa-md):hover,html body #pa-yo-cbs:not(#pa-md):hover{border-color:#b8975a!important;background:#213a6c!important}
/* Aplikasyon: öne çıkan ama aynı ölçüde kart */
html body #pa-yo-apl:not(#pa-md){border:1.5px solid #c9a227!important;background:linear-gradient(135deg,#1d3566,#13284d)!important;box-shadow:0 0 0 3px rgba(201,162,39,.12)!important}
html body #pa-yo-apl:not(#pa-md):hover{border-color:#e0bc4a!important;background:linear-gradient(135deg,#25407a,#183160)!important}
/* CBS sarmalayıcı kart değil; kart, içindeki düğme */
html body #pa-yo-cbs-wrap:not(#pa-md){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
  min-height:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;cursor:auto!important}
html body #pa-yo-cbs-wrap:not(#pa-md).is-open>#pa-yo-cbs{border-radius:10px 10px 0 0!important;border-bottom-color:rgba(184,151,90,.22)!important}
/* Simge, metin, ok */
html body #pa-yo-apl:not(#pa-md) .pa-ta-ic,
html body #pa-imar-kart:not(#pa-md) .pa-ta-ic,
html body #pa-yo-parsel-analiz:not(#pa-md) .pa-ta-ic,
html body #pa-yo-cbs:not(#pa-md) .pa-ta-ic{width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:8px!important;display:flex!important;align-items:center;justify-content:center;font-size:16px!important}
html body #pa-yo-apl:not(#pa-md) .pa-ta-tx,
html body #pa-imar-kart:not(#pa-md) .pa-ta-tx,
html body #pa-yo-parsel-analiz:not(#pa-md) .pa-ta-tx,
html body #pa-yo-cbs:not(#pa-md) .pa-ta-tx{display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:1 1 auto!important;min-width:0!important;text-align:left!important}
html body #pa-yo-apl:not(#pa-md) strong,
html body #pa-imar-kart:not(#pa-md) strong,
html body #pa-yo-parsel-analiz:not(#pa-md) strong,
html body #pa-yo-cbs:not(#pa-md) strong{font-size:14px!important;font-weight:700!important;line-height:1.25!important}
html body #pa-yo-apl:not(#pa-md) small,
html body #pa-imar-kart:not(#pa-md) small,
html body #pa-yo-parsel-analiz:not(#pa-md) small,
html body #pa-yo-cbs:not(#pa-md) small{font-size:12px!important;line-height:1.3!important;opacity:.82!important;font-weight:500!important}
html body #pa-yo-apl:not(#pa-md) strong{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:5px!important;white-space:nowrap!important}
html body #pa-yo-apl:not(#pa-md) strong .pa-yo-yeni{padding:3px 4px!important;font-size:9px!important}
html body #pa-yo-apl:not(#pa-md) small{color:#e8d9a8!important;opacity:1!important}
html body #pa-yo-apl:not(#pa-md) .pa-ta-go,
html body #pa-imar-kart:not(#pa-md) .pa-ta-go,
html body #pa-yo-parsel-analiz:not(#pa-md) .pa-ta-go,
html body #pa-yo-cbs:not(#pa-md) .pa-ta-go{flex:0 0 auto!important;margin-left:auto!important;font-size:16px!important;color:#d7b56e!important}

/* ---------- 2) CBS Hizmetleri açılır listesi ---------- */
/* Kök neden: style.css'teki ".atlas-action-grid a > span{width:22px;min-width:22px;font-size:1.14rem}" (simge kuralı) liste satırının METİN span'ına da uyuyordu → her satır 22 px'e sıkışıp kelime kelime kırılıyordu. */
html body #pa-yo-cbs-wrap #pa-yo-cbs-menu{width:100%!important;box-sizing:border-box!important;margin:0!important;padding:4px 6px 8px!important;gap:1px!important;
  background:#16284d!important;border:1px solid rgba(184,151,90,.55)!important;border-top:0!important;border-radius:0 0 10px 10px!important}
html body #pa-yo-cbs-wrap:not(.is-open) #pa-yo-cbs-menu{display:none!important}
html body #pa-yo-cbs-wrap.is-open #pa-yo-cbs-menu{display:flex!important;flex-direction:column!important}
html body #pa-yo-cbs-menu .pa-yo-fly-sec{margin:8px 0 3px!important;padding:0 10px!important;font:700 10.5px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:.06em!important;color:#e3c48b!important}
html body #pa-yo-cbs-menu>a,html body #pa-yo-cbs-menu>button{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;
  width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;box-sizing:border-box!important;
  margin:0!important;padding:7px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;transform:none!important;
  color:#fff!important;font:600 13px/1.3 Inter,system-ui,sans-serif!important;text-align:left!important;text-decoration:none!important;cursor:pointer}
html body #pa-yo-cbs-menu>a:hover,html body #pa-yo-cbs-menu>button:hover,
html body #pa-yo-cbs-menu>a:focus-visible,html body #pa-yo-cbs-menu>button:focus-visible{background:rgba(255,255,255,.09)!important;outline:none}
html body #pa-yo-cbs-menu>a>span,html body #pa-yo-cbs-menu>button>span{display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
  font:inherit!important;color:#fff!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
html body #pa-yo-cbs-menu small{display:block!important;margin-top:2px!important;font:400 12px/1.3 Inter,system-ui,sans-serif!important;color:#c9d3e6!important;opacity:1!important}
html body #pa-yo-cbs-menu .pa-yo-yeni{display:inline-block!important;width:auto!important;min-width:0!important;margin-left:6px!important;padding:3px 5px!important;vertical-align:1px!important;
  font:800 9.5px/1 Inter,system-ui,sans-serif!important;letter-spacing:.06em!important;background:#c9a227!important;color:#0b1f3a!important;border-radius:5px!important}

/* ---------- 3) Üst menü: Hizmetler açılır listesi ---------- */
/* İlk satırda (Parsel değer raporu) fazladan SVG simge ve ↗ vardı → metin sağa kayıyordu */
html body .pa-sd-svc-menu .pa-lm-card .pa-lm-ic,html body .pa-sd-svc-menu .pa-lm-card .pa-lm-go{display:none!important}
/* Simgesiz yedek satır (Kamu Müzayedeleri) metni diğerleriyle aynı hizaya */
html body .pa-sd-svc-menu .pa-lm-card{gap:10px!important}
html body .pa-sd-svc-menu .pa-lm-card .pa-mi{width:22px!important;flex:0 0 22px!important;margin:0 8px 0 0!important}
html body .pa-sd-svc-menu .pa-lm-card>.pa-lm-tx{margin-left:0!important}
html body .pa-sd-svc-menu .pa-lm-card>.pa-lm-tx:first-child{margin-left:40px!important}

/* ---------- 4) Üst menü dar ekran ---------- */
/* Kök neden: nav'da justify-content:flex-end + overflow-x:auto → taşan ilk öğeler (Paketler, Danışman Masası) sola, kaydırılamayan alana düşüyordu. */
@media (max-width:899px){
  html body header nav.atlas-main-nav:not(#pa-md){justify-content:flex-start!important;gap:4px!important;scrollbar-width:none}
  html body header nav.atlas-main-nav:not(#pa-md)::-webkit-scrollbar{display:none}
  html body header nav.atlas-main-nav:not(#pa-md)>a>.pa-mi,html body header nav.atlas-main-nav:not(#pa-md)>.pa-sd-svc>button>.pa-mi{display:none!important}
  html body header nav.atlas-main-nav:not(#pa-md)>a,html body header nav.atlas-main-nav:not(#pa-md) .pa-sd-svc>button{padding:6px 10px!important;flex:0 0 auto!important}
  /* Hizmetler listesi kaydırılan şeridin içinde kırpılmasın: konumu pa-menu-duzen.js verir */
  html body header .pa-sd-svc.open .pa-sd-svc-menu.pa-md-fixed{position:fixed!important;right:auto!important;min-width:0!important;max-height:calc(100vh - 24px);overflow:auto}
}
@media (min-width:720px) and (max-width:899px){
  html body header nav.atlas-main-nav:not(#pa-md){justify-content:center!important}
}

/* ---------- 5) Ülke şeridi 641–1279 px: yazı üstte, bayraklar tek/çift satır, kırpılma yok ---------- */
@media (min-width:641px) and (max-width:1279px){
  html body nav.pa-sd-strip:not(#pa-md){flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important}
  html body nav.pa-sd-strip:not(#pa-md)::before{flex:0 0 auto!important;width:auto!important;max-width:none!important;text-align:center!important}
  html body nav.pa-sd-strip:not(#pa-md) .pa-ta-row{flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;max-width:100%!important;row-gap:4px!important}
}
