/* Tum_Reklamlar/js/css/sepet.css — Sepet + çok firmalı sipariş arayüzü
   Telefon uygulamasındaki SepetModal / SepeteEkleSatiri karşılığı. */

/* ───────── Navbar sepet düğmesi — birleşik ikon kümesi (tema/dil ile aynı) ───────── */
.sepet-nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #e9eef6;
  font-family: Poppins, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.sepet-nav-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(201, 168, 76, .7); color: #f0d47a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.sepet-nav-btn:active { transform: translateY(0) scale(.95); }
.sepet-nav-btn:focus-visible { outline: 2px solid rgba(201, 168, 76, .8); outline-offset: 2px; }
.sepet-nav-btn i { font-size: 1.05rem; }
.sepet-nav-yazi { display: none; }
.sepet-nav-rozet {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f0d47a, #C9A84C);
  color: #0b2447;
  font-size: .62rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(11, 36, 71, .85), 0 2px 6px rgba(0, 0, 0, .3);
}
.sepet-nav-rozet.var { display: inline-flex; }
/* Mobil üst bar ikonu: navbar daraltıldığında menünün dışında kalır. */
.sepet-nav-mobil { display: none; margin-right: 8px; }
/* Kümenin ilk üyesi (brand'den hemen sonra gelen) sağa yaslanır; diğerleri 8px ile takip eder. */
.navbar-brand + .sepet-nav-mobil { margin-left: auto; }
@media (min-width: 992px) {
  /* Masaüstü: sepet, navButonlar kümesinin solunda; küme içiyle eşit 8px boşluk */
  nav.navbar .sepet-nav-btn:not(.sepet-nav-mobil) { margin-right: 8px; }
}
@media (max-width: 991px) {
  nav.navbar .sepet-nav-mobil { display: inline-flex; }
  nav.navbar .sepet-nav-btn:not(.sepet-nav-mobil) { display: none; }
}

/* ───────── Modal iskeleti ───────── */
.sepm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 14, 26, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  font-family: Poppins, sans-serif;
}
.sepm-overlay.ac { display: flex; }
.sepm-panel {
  width: 100%;
  max-width: 940px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38);
  color: #0b2447;
}
.sepm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0b2447, #123a6b);
  color: #fff;
  flex-shrink: 0;
}
.sepm-head-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s;
}
.sepm-head-btn:hover { background: rgba(255, 255, 255, .25); }
.sepm-head-txt { flex: 1; min-width: 0; }
.sepm-head-txt h3 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .2px; }
.sepm-head-txt p { margin: 1px 0 0; font-size: .7rem; color: rgba(255, 255, 255, .72); }
.sepm-adimlar { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sepm-adim {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .66rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .7);
}
.sepm-adim.aktif { background: #C9A84C; color: #0b2447; }
.sepm-adim.tamam { background: #10b981; color: #fff; }
.sepm-adim-cizgi { width: 14px; height: 2px; background: rgba(255, 255, 255, .22); }

.sepm-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 18px;
  background: #f6f8fb;
  -webkit-overflow-scrolling: touch;
}
.sepm-foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border-top: 1px solid #e6ebf2;
}
.sepm-foot-bilgi { flex: 1; min-width: 0; }
.sepm-foot-etiket { font-size: .64rem; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: #8b98ab; }
.sepm-foot-tutar { font-size: 1.15rem; font-weight: 800; color: #0b2447; line-height: 1.2; }
.sepm-foot-alt { font-size: .68rem; color: #8b98ab; }
.sepm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #009DBE, #007a94);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .18s, transform .18s;
  white-space: nowrap;
}
.sepm-btn:hover { filter: brightness(1.07); }
.sepm-btn:active { transform: translateY(1px); }
.sepm-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.sepm-btn.ikincil { background: #fff; color: #0b2447; border: 1px solid #d7e0ea; }
.sepm-btn.altin { background: linear-gradient(135deg, #C9A84C, #a8873a); color: #10233f; }
.sepm-btn.tam { width: 100%; }

/* ───────── Boş sepet ───────── */
.sepm-bos { text-align: center; padding: 54px 20px; color: #64748b; }
.sepm-bos i { font-size: 3rem; color: #c3cede; display: block; margin-bottom: 10px; }
.sepm-bos h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: #0b2447; }
.sepm-bos p { margin: 0 0 18px; font-size: .8rem; }

/* ───────── Firma grubu ───────── */
.sepm-grup {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.sepm-grup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: #f9fbfd;
  border-bottom: 1px solid #eef2f7;
}
.sepm-sec {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #009DBE;
  font-size: 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.sepm-sec.kapali { color: #b6c2d2; }
.sepm-grup-ad { flex: 1; min-width: 0; }
.sepm-grup-ad strong { display: block; font-size: .84rem; font-weight: 700; color: #0b2447; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sepm-grup-ad span { font-size: .68rem; color: #8b98ab; }
.sepm-grup-tutar { font-size: .84rem; font-weight: 800; color: #009DBE; white-space: nowrap; }

/* ───────── Kalem kartı ───────── */
.sepm-satir {
  display: flex;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid #f1f4f9;
}
.sepm-satir:last-child { border-bottom: 0; }
.sepm-satir-gorsel {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid #e8eef4;
  background: #f2f5f9;
  object-fit: cover;
}
.sepm-satir-orta { flex: 1; min-width: 0; }
.sepm-satir-ad {
  font-size: .82rem;
  font-weight: 600;
  color: #0b2447;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sepm-satir-fiyat { font-size: .7rem; color: #7b8899; margin-top: 3px; }
.sepm-satir-etiket {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eef7fa;
  color: #007a94;
  font-size: .64rem;
  font-weight: 700;
}
.sepm-satir-etiket.sepm-pazarlik {
  background: #e9f9f1;
  color: #0f8a5f;
  margin-right: 5px;
}
.sepm-satir-alt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.sepm-adet {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.sepm-adet button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #009DBE;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sepm-adet button[disabled] { color: #c6d0dc; cursor: not-allowed; }
.sepm-adet span {
  min-width: 32px;
  text-align: center;
  font-size: .8rem;
  font-weight: 800;
  color: #0b2447;
}
.sepm-kucuk-btn {
  border: 1px solid #dbe3ed;
  background: #fff;
  color: #64748b;
  border-radius: 8px;
  padding: 5px 9px;
  font-family: Poppins, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sepm-kucuk-btn:hover { border-color: #009DBE; color: #009DBE; }
.sepm-kucuk-btn.sil:hover { border-color: #ef4444; color: #ef4444; }
.sepm-satir-sag {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.sepm-satir-toplam { font-size: .86rem; font-weight: 800; color: #0b2447; white-space: nowrap; }
.sepm-satir-toplam.teklif { font-size: .7rem; font-weight: 700; color: #b45309; }
.sepm-not-kutu { padding: 0 13px 11px; }
.sepm-not-kutu textarea {
  width: 100%;
  min-height: 56px;
  resize: vertical;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: Poppins, sans-serif;
  font-size: .76rem;
  color: #0b2447;
  outline: none;
}
.sepm-not-kutu textarea:focus { border-color: #009DBE; box-shadow: 0 0 0 3px rgba(0, 157, 190, .12); }

/* ───────── Form ───────── */
.sepm-form-kart {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  padding: 14px;
}
.sepm-baslik {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #0b2447;
  margin: 0 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #eef2f7;
}
.sepm-alan { margin-bottom: 11px; }
.sepm-alan label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: #4a5a70;
  margin-bottom: 4px;
}
.sepm-alan label em { color: #ef4444; font-style: normal; }
.sepm-alan input,
.sepm-alan textarea,
.sepm-alan select {
  width: 100%;
  border: 1px solid #dbe3ed;
  border-radius: 9px;
  padding: 9px 11px;
  font-family: Poppins, sans-serif;
  font-size: .8rem;
  color: #0b2447;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.sepm-alan input:focus,
.sepm-alan textarea:focus,
.sepm-alan select:focus { border-color: #009DBE; box-shadow: 0 0 0 3px rgba(0, 157, 190, .12); }
.sepm-alan textarea { min-height: 68px; resize: vertical; }
.sepm-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.sepm-anahtar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #e3e9f1;
  border-radius: 10px;
  background: #f9fbfd;
  margin-bottom: 12px;
}
.sepm-anahtar-txt { flex: 1; min-width: 0; }
.sepm-anahtar-txt strong { display: block; font-size: .78rem; font-weight: 700; color: #0b2447; }
.sepm-anahtar-txt span { font-size: .68rem; color: #7b8899; line-height: 1.4; display: block; margin-top: 2px; }
.sepm-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
}
.sepm-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.sepm-switch.ac { background: #009DBE; }
.sepm-switch.ac::after { transform: translateX(20px); }
.sepm-ozet-list { margin-top: 14px; }
.sepm-ozet-satir {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed #e8eef4;
  font-size: .78rem;
}
.sepm-ozet-satir:last-child { border-bottom: 0; }
.sepm-ozet-satir span:first-child { color: #4a5a70; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sepm-ozet-satir span:last-child { font-weight: 700; color: #0b2447; white-space: nowrap; }

/* ───────── Onay adımı ───────── */
.sepm-onay-bilgi { font-size: .76rem; color: #4a5a70; line-height: 1.55; margin: 0 0 12px; }
.sepm-onay-kart {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 11px;
}
.sepm-onay-kart h4 { margin: 0; font-size: .86rem; font-weight: 800; color: #0b2447; }
.sepm-onay-meta { font-size: .7rem; color: #7b8899; margin: 2px 0 10px; }
.sepm-onizle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #cfe3ea;
  border-radius: 9px;
  background: #f2fafc;
  color: #007a94;
  font-family: Poppins, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.sepm-onizle-btn:hover { background: #e6f6fa; }
.sepm-onizle-btn i:last-child { margin-left: auto; }
.sepm-kabul {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  cursor: pointer;
  font-size: .74rem;
  color: #4a5a70;
  line-height: 1.45;
}
.sepm-kabul input { display: none; }
.sepm-kabul i { font-size: 1.1rem; color: #b6c2d2; flex-shrink: 0; margin-top: 1px; }
.sepm-kabul.ac i { color: #10b981; }
.sepm-kabul.ac span { color: #0b2447; font-weight: 600; }

/* ───────── Sonuç ───────── */
.sepm-sonuc {
  display: flex;
  gap: 11px;
  background: #fff;
  border: 1px solid #e3e9f1;
  border-left: 4px solid #10b981;
  border-radius: 10px;
  padding: 12px 13px;
  margin-bottom: 10px;
}
.sepm-sonuc.hata { border-left-color: #ef4444; }
.sepm-sonuc i { font-size: 1.25rem; flex-shrink: 0; }
.sepm-sonuc i.ok { color: #10b981; }
.sepm-sonuc i.hata { color: #ef4444; }
.sepm-sonuc-bilgi { flex: 1; min-width: 0; }
.sepm-sonuc-bilgi strong { display: block; font-size: .84rem; color: #0b2447; }
.sepm-sonuc-bilgi span { display: block; font-size: .7rem; color: #7b8899; }
.sepm-sonuc-bilgi .hata { color: #dc2626; }
.sepm-alt-bilgi { font-size: .72rem; color: #64748b; text-align: center; line-height: 1.5; margin-top: 6px; }

/* ───────── Sözleşme önizleme ───────── */
.sepm-onizle-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(6, 14, 26, .72);
}
.sepm-onizle-overlay.ac { display: flex; }
.sepm-onizle-kutu {
  width: 100%;
  max-width: 900px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .4);
}
.sepm-onizle-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #0b2447;
  color: #fff;
  flex-shrink: 0;
}
.sepm-onizle-head strong { flex: 1; font-size: .82rem; font-weight: 700; }
.sepm-onizle-kutu iframe { flex: 1; width: 100%; border: 0; background: #e9ecf0; }

/* ───────── Ürün detayı "Sepete Ekle" satırı ───────── */
.sepekle-kutu {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid var(--sinir, #e3e9f1);
  border-radius: 12px;
  background: #fff;
}
.sepekle-ust { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; flex-wrap: wrap; }
.sepekle-birim { font-size: .78rem; font-weight: 700; color: #0b2447; }
.sepekle-birim small { font-weight: 500; color: #8b98ab; }
.sepekle-teslim { font-size: .68rem; color: #8b98ab; }
.sepekle-rozet {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 7px;
  background: #e9f8f1;
  color: #0f8a5f;
  font-size: .66rem;
  font-weight: 700;
}
.sepekle-alt { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sepekle-adet {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sinir, #dbe3ed);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.sepekle-adet button {
  width: 34px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #009DBE;
  font-size: 1.05rem;
  cursor: pointer;
}
.sepekle-adet button[disabled] { color: #c6d0dc; cursor: not-allowed; }
.sepekle-adet span { min-width: 38px; text-align: center; font-size: .88rem; font-weight: 800; color: #0b2447; }
.sepekle-btn {
  flex: 1;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #009DBE, #007a94);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .18s;
}
.sepekle-btn:hover { filter: brightness(1.07); }
.sepekle-btn.sepette { background: linear-gradient(135deg, #10b981, #0a8f63); }
.sepekle-btn[disabled] { opacity: .6; cursor: not-allowed; }
.sepekle-tutar { font-size: .78rem; font-weight: 800; color: rgba(255, 255, 255, .92); }
.sepekle-cikar {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sinir, #dbe3ed);
  border-radius: 9px;
  background: #fff;
  color: #ef4444;
  font-size: .95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sepekle-min { font-size: .68rem; color: #8b98ab; margin-top: 7px; }

/* ───────── Toast ───────── */
.sepm-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000002;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #009DBE;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .24);
  animation: sepmToastIn .28s ease;
  max-width: 360px;
}
.sepm-toast.hata { background: #ef4444; }
.sepm-toast.bilgi { background: #0b2447; }
@keyframes sepmToastIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }

/* ───────── Koyu tema — panel paleti (yüzey #16294a, zemin #0e1c33, sınır #2c4066) ───────── */
html.uk-karanlik .sepm-panel { background: #16294a; color: #e6edf7; }
html.uk-karanlik .sepm-body { background: #0e1c33; }
html.uk-karanlik .sepm-foot { background: #16294a; border-top-color: #2c4066; }
html.uk-karanlik .sepm-foot-etiket,
html.uk-karanlik .sepm-foot-alt { color: #9db1cf; }
html.uk-karanlik .sepm-foot-tutar { color: #e6edf7; }
html.uk-karanlik .sepm-btn.ikincil { background: #1d3357; color: #e6edf7; border-color: #2c4066; }
html.uk-karanlik .sepm-bos { color: #9db1cf; }
html.uk-karanlik .sepm-bos i { color: #3d5580; }
html.uk-karanlik .sepm-bos h4 { color: #e6edf7; }
html.uk-karanlik .sepm-grup { background: #16294a; border-color: #2c4066; }
html.uk-karanlik .sepm-grup-head { background: #1d3357; border-bottom-color: #2c4066; }
html.uk-karanlik .sepm-sec { color: #00b4d8; }
html.uk-karanlik .sepm-sec.kapali { color: #55688f; }
html.uk-karanlik .sepm-grup-ad strong { color: #e6edf7; }
html.uk-karanlik .sepm-grup-ad span { color: #9db1cf; }
html.uk-karanlik .sepm-grup-tutar { color: #00b4d8; }
html.uk-karanlik .sepm-satir { border-bottom-color: #22375c; }
html.uk-karanlik .sepm-satir-gorsel { border-color: #2c4066; background: #1d3357; }
html.uk-karanlik .sepm-satir-ad { color: #e6edf7; }
html.uk-karanlik .sepm-satir-fiyat { color: #9db1cf; }
html.uk-karanlik .sepm-satir-etiket { background: rgba(0, 157, 190, .16); color: #7fd6e8; }
html.uk-karanlik .sepm-satir-etiket.sepm-pazarlik { background: rgba(16, 185, 129, .14); color: #34d399; }
html.uk-karanlik .sepm-adet { border-color: #2c4066; background: #1d3357; }
html.uk-karanlik .sepm-adet button { color: #00b4d8; }
html.uk-karanlik .sepm-adet button[disabled] { color: #55688f; }
html.uk-karanlik .sepm-adet span { color: #e6edf7; }
html.uk-karanlik .sepm-kucuk-btn { border-color: #2c4066; background: #1d3357; color: #9db1cf; }
html.uk-karanlik .sepm-kucuk-btn:hover { border-color: #00b4d8; color: #00b4d8; }
html.uk-karanlik .sepm-kucuk-btn.sil:hover { border-color: #f87171; color: #f87171; }
html.uk-karanlik .sepm-satir-toplam { color: #e6edf7; }
html.uk-karanlik .sepm-satir-toplam.teklif { color: #fbbf24; }
html.uk-karanlik .sepm-not-kutu textarea { border-color: #2c4066; background: #1d3357; color: #e6edf7; }
html.uk-karanlik .sepm-not-kutu textarea:focus { border-color: #00b4d8; box-shadow: 0 0 0 3px rgba(0, 180, 216, .16); }
html.uk-karanlik .sepm-form-kart { background: #16294a; border-color: #2c4066; }
html.uk-karanlik .sepm-baslik { color: #e6edf7; border-bottom-color: #2c4066; }
html.uk-karanlik .sepm-alan label { color: #b9c8e0; }
html.uk-karanlik .sepm-alan label em { color: #f87171; }
html.uk-karanlik .sepm-alan input,
html.uk-karanlik .sepm-alan textarea,
html.uk-karanlik .sepm-alan select { border-color: #2c4066; background: #1d3357; color: #e6edf7; }
html.uk-karanlik .sepm-alan input:focus,
html.uk-karanlik .sepm-alan textarea:focus,
html.uk-karanlik .sepm-alan select:focus { border-color: #00b4d8; box-shadow: 0 0 0 3px rgba(0, 180, 216, .16); }
html.uk-karanlik .sepm-alan input::placeholder,
html.uk-karanlik .sepm-alan textarea::placeholder,
html.uk-karanlik .sepm-not-kutu textarea::placeholder { color: #7d90b9; }
html.uk-karanlik .sepm-anahtar { border-color: #2c4066; background: #1d3357; }
html.uk-karanlik .sepm-anahtar-txt strong { color: #e6edf7; }
html.uk-karanlik .sepm-anahtar-txt span { color: #9db1cf; }
html.uk-karanlik .sepm-switch { background: #3d5580; }
html.uk-karanlik .sepm-switch::after { background: #e6edf7; }
html.uk-karanlik .sepm-switch.ac { background: #009DBE; }
html.uk-karanlik .sepm-ozet-satir { border-bottom-color: #2c4066; }
html.uk-karanlik .sepm-ozet-satir span:first-child { color: #b9c8e0; }
html.uk-karanlik .sepm-ozet-satir span:last-child { color: #e6edf7; }
html.uk-karanlik .sepm-onay-bilgi { color: #b9c8e0; }
html.uk-karanlik .sepm-onay-kart { background: #16294a; border-color: #2c4066; }
html.uk-karanlik .sepm-onay-kart h4 { color: #e6edf7; }
html.uk-karanlik .sepm-onay-meta { color: #9db1cf; }
html.uk-karanlik .sepm-onizle-btn { border-color: #2c4066; background: #1d3357; color: #7fd6e8; }
html.uk-karanlik .sepm-onizle-btn:hover { background: #24406b; }
html.uk-karanlik .sepm-onizle-btn[disabled] { color: #55688f; }
html.uk-karanlik .sepm-kabul { color: #b9c8e0; }
html.uk-karanlik .sepm-kabul i { color: #55688f; }
html.uk-karanlik .sepm-kabul.ac i { color: #34d399; }
html.uk-karanlik .sepm-kabul.ac span { color: #e6edf7; }
html.uk-karanlik .sepm-sonuc { background: #16294a; border-color: #2c4066; border-left-color: #34d399; }
html.uk-karanlik .sepm-sonuc.hata { border-left-color: #f87171; }
html.uk-karanlik .sepm-sonuc i.ok { color: #34d399; }
html.uk-karanlik .sepm-sonuc i.hata { color: #f87171; }
html.uk-karanlik .sepm-sonuc-bilgi strong { color: #e6edf7; }
html.uk-karanlik .sepm-sonuc-bilgi span { color: #9db1cf; }
html.uk-karanlik .sepm-sonuc-bilgi .hata { color: #fca5a5; }
html.uk-karanlik .sepm-alt-bilgi { color: #9db1cf; }
html.uk-karanlik .sepm-onizle-kutu { background: #16294a; }
html.uk-karanlik .sepm-onizle-head { background: #10233f; }
html.uk-karanlik .sepekle-kutu { background: #16294a; border-color: #2c4066; }
html.uk-karanlik .sepekle-birim { color: #e6edf7; }
html.uk-karanlik .sepekle-birim small,
html.uk-karanlik .sepekle-teslim,
html.uk-karanlik .sepekle-min { color: #9db1cf; }
html.uk-karanlik .sepekle-rozet { background: rgba(16, 185, 129, .14); color: #34d399; }
html.uk-karanlik .sepekle-adet { border-color: #2c4066; background: #1d3357; }
html.uk-karanlik .sepekle-adet button { color: #00b4d8; }
html.uk-karanlik .sepekle-adet button[disabled] { color: #55688f; }
html.uk-karanlik .sepekle-adet span { color: #e6edf7; }
html.uk-karanlik .sepekle-cikar { border-color: #2c4066; background: #1d3357; color: #f87171; }
html.uk-karanlik .sepm-toast.bilgi { background: #1d3357; border: 1px solid #2c4066; }

/* Kaydırma çubuğu modalın kendi paletiyle */
.sepm-body::-webkit-scrollbar { width: 10px; }
.sepm-body::-webkit-scrollbar-track { background: #f6f8fb; }
.sepm-body::-webkit-scrollbar-thumb { background: #c3cede; border-radius: 5px; border: 2px solid #f6f8fb; }
.sepm-body::-webkit-scrollbar-thumb:hover { background: #a9b8cc; }
html.uk-karanlik .sepm-body::-webkit-scrollbar-track { background: #0e1c33; }
html.uk-karanlik .sepm-body::-webkit-scrollbar-thumb { background: #2c4066; border-color: #0e1c33; }
html.uk-karanlik .sepm-body::-webkit-scrollbar-thumb:hover { background: #3d5580; }

/* ───────── Mobil ───────── */
@media (max-width: 720px) {
  .sepm-overlay { padding: 0; align-items: stretch; }
  .sepm-panel { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .sepm-body { padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
  .sepm-head { padding: 12px 13px; }
  .sepm-adimlar { display: none; }
  .sepm-foot { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .sepm-foot-tutar { font-size: 1rem; }
  .sepm-btn { padding: 10px 15px; font-size: .78rem; }
  .sepm-ikili { grid-template-columns: 1fr; }
  .sepm-satir-gorsel { width: 50px; height: 50px; }
  .sepm-satir-toplam { font-size: .8rem; }
  .sepm-onizle-overlay { padding: 0; }
  .sepm-onizle-kutu { height: 100%; border-radius: 0; }
  .sepekle-btn { min-width: 140px; font-size: .78rem; }
}
@media (max-width: 380px) {
  .sepm-foot { flex-wrap: wrap; }
  .sepm-foot-bilgi { flex-basis: 100%; }
  .sepm-foot .sepm-btn { width: 100%; }
}
