/* Hadi Sende — "Aranan şartlar" tablosu (paket 1l).
   "İlan bilgileri" kutusunun içinde: Şart / Aranan tablosu + (varsa) ÖSYM nitelik kodu / açıklama tablosu.
   Hem kamu ilan sayfasında hem yönetici ilan detayında kullanılır; renkler --hs-* belirteçlerinden gelir. */

.ad-req { border-top: 1px solid var(--hs-line, rgba(20, 20, 20, .12)); }
.ad-req__head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--hs-s2, #fafafa); border-bottom: 1px solid var(--hs-line, rgba(20, 20, 20, .12)); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hs-tx, #141414); }
.ad-req__head::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--hs-pri, #e50914); flex: none; }
.ad-req__head span { min-width: 0; }
.ad-req__head em { margin-left: auto; flex: none; min-width: 22px; height: 20px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--hs-pri-bg, #fdeced); color: var(--hs-pri-tx, #b20710); font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0; }

.ad-req.ad-req .ad-tbl.ad-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; font-size: 13px; line-height: 1.5; }
.ad-req.ad-req .ad-tbl.ad-tbl th, .ad-req.ad-req .ad-tbl.ad-tbl td { padding: 10px 14px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--hs-line, rgba(20, 20, 20, .12)); overflow-wrap: anywhere; }
.ad-req.ad-req .ad-tbl.ad-tbl tbody tr:last-child > * { border-bottom: 0; }
.ad-req.ad-req .ad-tbl.ad-tbl thead th { padding: 8px 14px 7px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hs-tx4, #737373); background: none; }
.ad-req.ad-req .ad-tbl.ad-tbl tbody th[scope="row"] { width: 38%; font-weight: 500; color: var(--hs-tx3, #5e5e5e); background: none; }
.ad-req.ad-req .ad-tbl.ad-tbl td { font-weight: 600; color: var(--hs-tx, #141414); background: none; }
.ad-req.ad-req .ad-tbl.ad-tbl thead th:first-child { width: 38%; }
.ad-req__none { margin: 0; padding: 12px 14px; font-size: 13px; font-weight: 500; color: var(--hs-tx3, #5e5e5e); }

/* Değer rozetleri */
.ad-pill, .ad-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin: -1px 5px 3px 0; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.ad-pill { background: var(--hs-s3, #f5f5f5); color: var(--hs-tx, #141414); }
.ad-tag { background: var(--hs-pri-bg, #fdeced); color: var(--hs-pri-tx, #b20710); }

/* Bölüm listesi ve "devamı" (pub-modern.css'in genel details arka planı bu tabloda kapalı) */
.ad-req details, .ad-req details[open] { background: none; border-radius: 0; }
.ad-deps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-weight: 500; color: var(--hs-tx2, #333); }
.ad-deps li { position: relative; padding-left: 12px; }
.ad-deps li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--hs-pri, #e50914); }
.ad-more { margin-top: 5px; font-weight: 500; }
.ad-more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 700; color: var(--hs-pri-tx, #b20710); }
.ad-more > summary::-webkit-details-marker { display: none; }
.ad-more > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.ad-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.ad-more .ad-deps { margin-top: 8px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.ad-more p { margin: 8px 0 0; font-weight: 500; color: var(--hs-tx2, #333); }

/* ÖSYM nitelik kodu tablosu */
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit thead th:first-child, .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code { width: 76px; }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code { font-variant-numeric: tabular-nums; }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code b { display: block; font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--hs-pri-tx, #b20710); }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code small { display: block; margin-top: 1px; font-size: 11px; font-weight: 600; color: var(--hs-tx4, #737373); }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td { font-weight: 500; color: var(--hs-tx2, #333); }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit tr.is-off td { opacity: .62; }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit .ad-miss { font-weight: 600; color: var(--hs-warn, #e37400); }
.ad-req.ad-req .ad-tbl--nit.ad-tbl--nit .ad-gone { display: inline-block; margin-top: 3px; padding: 1px 8px; border: 1px dashed var(--hs-line2, rgba(20, 20, 20, .28)); border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--hs-tx3, #5e5e5e); }
.ad-req__foot { margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--hs-line, rgba(20, 20, 20, .12)); font-size: 12.5px; line-height: 1.5; color: var(--hs-tx3, #5e5e5e); }
.ad-req__foot b { font-weight: 700; color: var(--hs-tx, #141414); }
.ad-req__wait { display: block; padding: 12px 14px; font-size: 13px; color: var(--hs-tx3, #5e5e5e); }
.ad-req .ad-rm { border-top: 1px solid var(--hs-line, rgba(20, 20, 20, .12)); }
.ad-req .ad-rm > summary { padding: 10px 14px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--hs-tx3, #5e5e5e); }

/* Yönetici sayfası (tam genişlik): ilk sütun sabit genişlikte */
@media (min-width: 900px) {
  .shell-v2 .ad-req.ad-req .ad-tbl.ad-tbl tbody th[scope="row"], .shell-v2 .ad-req.ad-req .ad-tbl.ad-tbl thead th:first-child { width: 220px; }
  .shell-v2 .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit thead th:first-child, .shell-v2 .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code { width: 84px; }
}

@media (max-width: 899.98px) {
  .ad-req__head { padding: 10px 12px; font-size: 11.5px; }
  .ad-req.ad-req .ad-tbl.ad-tbl { font-size: 12.5px; }
  .ad-req.ad-req .ad-tbl.ad-tbl th, .ad-req.ad-req .ad-tbl.ad-tbl td { padding: 9px 12px; }
  .ad-req.ad-req .ad-tbl.ad-tbl thead th { padding: 7px 12px 6px; font-size: 10.5px; }
  .ad-req.ad-req .ad-tbl.ad-tbl tbody th[scope="row"], .ad-req.ad-req .ad-tbl.ad-tbl thead th:first-child { width: 36%; }
  .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit thead th:first-child, .ad-req.ad-req .ad-tbl--nit.ad-tbl--nit td.ad-code { width: 66px; }
  .ad-req__none { padding: 10px 12px; font-size: 12.5px; }
  .ad-req__foot { padding: 9px 12px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ad-more > summary::after { transition: none; } }
