/*
| Seri sayfasi Tablo bolumleri (kt_tablo; Teknik ozellikler duzeni haric; isaretleme Views/oleocon/_bolum.php, davranis seri-tablolar.js).
| Sahip secimi docs/panel-konseptleri/seri-teknik2 "U1": urun tablosunun (seri-tablo.css) stili. Sahip istekleri: "Bekleniyor" belli
| olsun (sari rozet, kum saati), sutunlar arasinda hafif dikey cizgi. Basliksiz tablo bir oncekinin devami gibi (ayrac yok, az bosluk).
*/
.seri-bolum--tt { --tt-gece: #011d3a; --tt-yesil: #a3b621; --tt-yesil-d: #93a51b; --tt-yesil-k: #66730d; --tt-cizgi: #e4e8ef; --tt-soluk: #6b7280; }
.seri-bolum--tt .seri-bolum__etiket { display: inline-flex; align-items: center; gap: 10px; font: 700 11.5px/1.4 "Inter", sans-serif; letter-spacing: .16em; color: var(--tt-yesil-k) !important; }
.seri-bolum--tt .seri-bolum__etiket::before { content: ""; width: 24px; height: 2px; background: var(--tt-yesil); }
.seri-bolum--tt > h2 { margin: 10px 0 0; font-family: "Tomato Grotesk", "Inter", sans-serif; font-weight: 600; font-size: 40px !important; line-height: 1.08 !important; letter-spacing: -.015em !important; color: var(--tt-gece); }
.seri-bolum--tt > h2 + p, .seri-bolum--tt > .seri-bolum__etiket + p { max-width: 620px; margin-top: 14px; font-size: 16px; line-height: 1.6; color: #4b5563; }
/* Basliksiz tablo bir onceki tablonun devami: bolum ayraci yok, bosluk az */
.seri-bolum--tt + .seri-bolum--tt-bassiz { margin-top: 26px !important; padding-top: 0 !important; }
.seri-bolum--tt + .seri-bolum--tt-bassiz::before { display: none !important; }

.tt-boy { margin: 26px 0 0; font: 600 18px "Tomato Grotesk", "Inter", sans-serif !important; color: var(--tt-gece); }
.tt-ipucu { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 6px 10px; font: 500 13px "Inter", sans-serif; color: var(--tt-soluk); }
.tt-ipucu > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.tt-ipucu i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #dfe5ec; color: var(--tt-gece); font-size: 12px; }
.tt-sutun { font: 700 11px "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8b95a7; white-space: nowrap; }
.tt.tt--sigar .tt-ipucu { display: none; } /* sigiyorsa ipucu satiri hic yok (sutun sayisi yazisi sahip istegiyle kaldirildi) */
.tt.tt--sigar .tt-tablo { margin-top: 24px; }

.tt-tablo { position: relative; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--tt-cizgi), 0 24px 44px -32px rgba(1,29,58,.45); overflow: hidden; }
.tt-kay { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; outline: 0; }
.tt-kay::-webkit-scrollbar { display: none; }
.tt-kay:focus-visible { box-shadow: inset 0 0 0 2px var(--tt-yesil); }
.tt-tablo table { width: 100%; min-width: calc(var(--tt-sutun, 4) * 170px); margin: 0; border-collapse: separate; border-spacing: 0; }
.tt-tablo th, .tt-tablo td { text-align: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.tt-tablo thead th { height: 58px; padding: 0 16px; border: 0; background: linear-gradient(180deg, #0a3a6b, #032b55); color: #fff; font: 600 14.5px/1.25 "Tomato Grotesk", "Inter", sans-serif; white-space: nowrap; }
.tt-tablo thead th + th { box-shadow: inset 1px 0 0 rgba(255,255,255,.08); }
.tt-tablo tbody td { height: 56px; padding: 10px 16px; border: 0; border-top: 1px solid #edf0f4; background: #fff; font-size: 14.5px; line-height: 1.45; color: #1f2937; transition: background-color .2s; }
.tt-tablo tbody tr:first-child td { border-top: 0; }
.tt-tablo tbody td + td { box-shadow: inset 1px 0 0 #eef1f5; } /* sutunlar arasi hafif dikey cizgi */
.tt-tablo tbody tr:hover td { background: #f7f9f1; }
.tt-tablo .tt-k1 { position: sticky; left: 0; z-index: 2; text-align: left; white-space: nowrap; }
.tt-tablo tbody .tt-k1 { background: #f6f8fa; box-shadow: inset -1px 0 0 #d3dbe5; font: 600 15px "Tomato Grotesk", "Inter", sans-serif; color: var(--tt-gece); }
.tt-tablo thead .tt-k1 { z-index: 3; background: linear-gradient(180deg, #08345f, #022448); box-shadow: inset -1px 0 0 rgba(255,255,255,.16); }
.tt-tablo tbody tr:hover .tt-k1 { background: #eef3dd; box-shadow: inset 3px 0 0 var(--tt-yesil-d), inset -1px 0 0 #d3dbe5; }
.tt-tablo td.tt-uzun { min-width: 220px; }
.tt-not { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: var(--tt-soluk); }
/* Esdeger urunler: Oleocon'un kendi karsi ucu satiri (ilk satir, hafif yesil) ve tablonun altindaki teyit uyarisi */
.tt-tablo tbody tr.es-oleo td { background: #f7f9ef; }
.tt-tablo tbody tr.es-oleo .tt-k1 { background: #eef3dd; box-shadow: inset 3px 0 0 var(--tt-yesil-d), inset -1px 0 0 #d3dbe5; }
.tt-uyari { margin: 12px 6px 0; font: 500 13px/1.5 "Inter", sans-serif; color: var(--tt-soluk); }

/* "Bekleniyor": sari rozet, kum saati */
.tt-bek { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; background: #fdf3dc; box-shadow: inset 0 0 0 1px #f3dfae; font: 600 11px "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8a5d00; white-space: nowrap; }
.tt-bek i { font-size: 12px; color: #c08a1a; }

/* Kaydirma: sag kenarda solma ve sirayla yanip sonen uc ince ok; sona gelince ya da sigarsa yok */
.tt-kenar { position: absolute; top: 58px; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; width: 90px; padding-right: 8px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.92) 70%); transition: opacity .3s; }
.tt-tablo--bassiz .tt-kenar { top: 0; }
.tt-bas-kenar { position: absolute; top: 0; right: 0; z-index: 6; width: 90px; height: 58px; pointer-events: none; background: linear-gradient(90deg, rgba(3,43,85,0), #032b55 75%); transition: opacity .3s; }
.tt-tablo--bassiz .tt-bas-kenar { display: none; }
.tt--son .tt-kenar, .tt--son .tt-bas-kenar, .tt--sigar .tt-kenar, .tt--sigar .tt-bas-kenar { opacity: 0; }
.tt-kenar i { display: block; width: 7px; height: 12px; margin-left: -1px; background: var(--tt-gece); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .15; animation: tt-dalga 1.6s ease-in-out infinite; }
.tt-kenar i:nth-child(2) { animation-delay: .18s; }
.tt-kenar i:nth-child(3) { animation-delay: .36s; }
@keyframes tt-dalga { 0%, 100% { opacity: .15; } 40% { opacity: .9; } }
.tt-alt-not { margin: 12px 6px 0; font-size: 13px; line-height: 1.55; color: var(--tt-soluk); }

@media (max-width: 991.98px) { .seri-bolum--tt > h2 { font-size: 34px !important; } }
@media (max-width: 767.98px) {
  .seri-bolum--tt > h2 { font-size: 28px !important; }
  .tt-tablo table { min-width: calc(var(--tt-sutun, 4) * 150px); }
  .tt-tablo thead th { height: 52px; padding: 0 12px; font-size: 13.5px; }
  .tt-tablo tbody td { padding: 10px 12px; font-size: 14px; }
  .tt-kenar { top: 52px; } .tt-bas-kenar { height: 52px; }
  .tt-ipucu { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .tt-kenar i { animation: none; opacity: .5; } }

/* Kontrol listesi gorunumu (panelde Gorunum: Kontrol listesi; sahip secimi seri-aksesuar "X3"): tek beyaz cercevede iki sutunlu
   satirlar; simge, ad + aciklama, sagda durum rozeti. Ustune gelince satir acik yesil, simge lacivert. Tek sayida maddede sag sutunun
   son maddesinin de alt cizgisi olur (sahip istegi) */
.kl { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--tt-cizgi), 0 24px 44px -32px rgba(1,29,58,.4); overflow: hidden; }
.kl-satir { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 22px; border-top: 1px solid #edf0f4; transition: background-color .2s; }
.kl--simgesiz .kl-satir { grid-template-columns: minmax(0, 1fr) auto; }
.kl-satir:nth-child(-n+2) { border-top: 0; }
.kl-satir:nth-child(odd) { box-shadow: inset -1px 0 0 #edf0f4; }
.kl--tek .kl-satir:nth-last-child(2) { border-bottom: 1px solid #edf0f4; margin-bottom: -1px; }
.kl-satir:hover { background: #f7f9f1; }
.kl-simge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #f4f6f9; color: var(--tt-gece); font-size: 19px; transition: background-color .3s, color .3s; }
.kl-satir:hover .kl-simge { background: var(--tt-gece); color: #e4f08a; }
.kl-ad { margin: 0; font: 600 17px/1.3 "Tomato Grotesk", "Inter", sans-serif !important; letter-spacing: 0 !important; color: var(--tt-gece); }
.kl-acik { margin: 2px 0 0; font-size: 13.5px; line-height: 1.55; color: #4b5563; }
.kl-durum { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font: 600 11px "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.kl-durum i { font-size: 12px; }
.kl-durum--var { background: #eef5d6; box-shadow: inset 0 0 0 1px #d8e5a4; color: #4f5a08; } .kl-durum--var i { color: #93a51b; }
.kl-durum--kat { background: #e9eff7; box-shadow: inset 0 0 0 1px #cfdbea; color: #023363; }
.kl-durum--bek { background: #fdf3dc; box-shadow: inset 0 0 0 1px #f3dfae; color: #8a5d00; } .kl-durum--bek i { color: #c08a1a; }
.kl-durum--not { background: #f4f6f9; box-shadow: inset 0 0 0 1px #e1e6ee; color: #4b5563; }
@media (max-width: 991.98px) {
  .kl { grid-template-columns: 1fr; }
  .kl-satir:nth-child(2) { border-top: 1px solid #edf0f4; }
  .kl-satir:nth-child(odd) { box-shadow: none; }
  .kl--tek .kl-satir:nth-last-child(2) { border-bottom: 0; margin-bottom: 0; }
}
@media (max-width: 767.98px) {
  .kl { grid-template-columns: 1fr; }
  .kl-satir { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; padding: 16px 18px; }
  .kl--simgesiz .kl-satir { grid-template-columns: minmax(0, 1fr); }
  .kl-satir:nth-child(2) { border-top: 1px solid #edf0f4; }
  .kl-satir:nth-child(odd) { box-shadow: none; }
  .kl--tek .kl-satir:nth-last-child(2) { border-bottom: 0; margin-bottom: 0; }
  .kl-simge { width: 40px; height: 40px; border-radius: 12px; font-size: 17px; }
  .kl-durum { grid-column: 2; justify-self: start; }
  .kl--simgesiz .kl-durum { grid-column: 1; }
}

