/*#region Sipariş Birleştirme — Gezer Kutu (panel componenti)
   #tablo prefix'li checkbox kolonu rule'ları 04-tablo.css içinde. */

.siparis-birlestir-kutu{position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); width:340px; max-width:calc(100vw - 32px); max-height:70vh; background:#fff; border:1px solid rgba(0,0,0,0.08); border-radius:14px; box-shadow:0 12px 36px rgba(0,0,0,0.18),0 4px 12px rgba(0,0,0,0.08); z-index:9500; display:flex; flex-direction:column; overflow:hidden; font-family:'Poppins',Arial;}
.siparis-birlestir-kutu.dragging, .siparis-birlestir-kutu.dragging *{user-select:none;}
.siparis-birlestir-kutu .sbk-baslik{display:flex; align-items:center; justify-content:space-between; padding:12px 14px; background:#1e2d5a; color:#fff; flex-shrink:0; cursor:move; user-select:none; touch-action:none;}
.siparis-birlestir-kutu .sbk-baslik-yazi{font-size:13px; font-weight:600; display:inline-flex; align-items:center; gap:8px;}
.siparis-birlestir-kutu .sbk-baslik-yazi i{color:#a3c4ff;}
.siparis-birlestir-kutu .sbk-kapat{background:transparent; border:none; color:#fff; font-size:14px; cursor:pointer; padding:4px 8px; border-radius:5px; transition:background .15s;}
.siparis-birlestir-kutu .sbk-kapat:hover{background:rgba(255,255,255,0.14);}

.siparis-birlestir-kutu .sbk-cariBilgi{padding:8px 14px; background:#eef2ff; color:#1e2d5a; font-size:11px; border-bottom:1px solid #d7defc; flex-shrink:0; display:none;}
.siparis-birlestir-kutu .sbk-cariBilgi i{margin-right:6px; color:#2f4dbf;}

.siparis-birlestir-kutu .sbk-icerik{flex:1; overflow-y:auto; padding:8px 10px;}
.siparis-birlestir-kutu .sbk-bos{padding:24px 12px; text-align:center; color:#94a3b8; font-size:12px;}
.siparis-birlestir-kutu .sbk-liste{display:flex; flex-direction:column; gap:6px;}
.siparis-birlestir-kutu .sbk-satir{display:flex; align-items:center; justify-content:space-between; padding:8px 10px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; transition:background .15s;}
.siparis-birlestir-kutu .sbk-satir:hover{background:#eef2ff;}
.siparis-birlestir-kutu .sbk-satir-bilgi{display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0;}
.siparis-birlestir-kutu .sbk-satir-id{font-size:12px; font-weight:700; color:#1e293b;}
.siparis-birlestir-kutu .sbk-satir-durum{font-size:9px; font-weight:600; padding:2px 7px; border-radius:4px; background:#e2e8f0; color:#475569; text-transform:uppercase; letter-spacing:0.04em;}
.siparis-birlestir-kutu .sbk-satir-tutar{font-size:11px; color:#475569; font-weight:500;}
.siparis-birlestir-kutu .sbk-satir-sil{font-size:13px; color:#94a3b8; cursor:pointer; padding:4px; transition:color .15s; flex-shrink:0;}
.siparis-birlestir-kutu .sbk-satir-sil:hover{color:var(--renk-tehlike);}

.siparis-birlestir-kutu .sbk-altbutonlar{display:flex; gap:6px; padding:10px 12px; border-top:1px solid #e2e8f0; flex-shrink:0; background:#fafbfc;}
.siparis-birlestir-kutu .sbk-altbutonlar button{flex:1; padding:9px 12px; border:none; border-radius:7px; font-size:12px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:6px; transition:background .15s, color .15s, opacity .15s;}
.siparis-birlestir-kutu .sbk-temizle{background:#f1f5f9; color:#475569;}
.siparis-birlestir-kutu .sbk-temizle:hover{background:#e2e8f0; color:#1e293b;}
.siparis-birlestir-kutu .sbk-birlestir{background:var(--renk-basari); color:#fff;}
.siparis-birlestir-kutu .sbk-birlestir:hover:not(:disabled){background:#3b670e;}
.siparis-birlestir-kutu .sbk-birlestir:disabled{background:#cbd5e1; color:#fff; cursor:not-allowed; opacity:0.7;}
/*#endregion*/

sag-icerik header sayfa-islemmenu .islemmenu .manuel button.siparisbirlestir{padding:8px 8px; color:#fff; background:#6c7593; font-size:14px; border-radius:5px; border:0; cursor:pointer;}
sag-icerik header sayfa-islemmenu .islemmenu .manuel button.siparisbirlestir i{margin-right:0px;}
sag-icerik header sayfa-islemmenu .islemmenu .manuel button.siparisbirlestir:hover{background:#fff; color:var(--renk-birincil);}

iframe-alan .bilgilendirme-alan.b2bliste-filtre button.islemlistesi{display:inline-flex; align-items:center; gap:7px; padding:7px 12px; border-radius:8px; height:32px; min-width:0; background:#eef2ff; color:#1e2d5a; font-size:12px; font-weight:600; border:1px solid #c7d4ff; margin-right:6px; white-space:nowrap; box-shadow:0 1px 3px rgba(47,77,191,0.08); transition:background .15s,border-color .15s,box-shadow .15s;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre button.islemlistesi:hover{background:#e0e8ff; border-color:#2f4dbf; color:#1e2d5a;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre button.islemlistesi i.siparisikon{font-size:13px; color:#2f4dbf; flex-shrink:0; margin:0;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre button.islemlistesi .fa-chevron-down{font-size:10px; color:#2f4dbf; opacity:0.6; margin:0; margin-left:auto;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre .mini-toplamlar{display:flex; flex-wrap:wrap; gap:6px; padding:0;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre .mini-toplamlar .tutar-alan{border:1px solid rgba(0,0,0,0.1); border-radius:5px; padding:5px 10px; transition:.2s; display:flex; flex-direction:column; justify-content:center;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre .mini-toplamlar .tutar-alan .baslik{font-size:8px; font-weight:600; white-space:nowrap; color:#64748b;}
iframe-alan .bilgilendirme-alan.b2bliste-filtre .mini-toplamlar .tutar-alan .tutar{font-size:11px; font-weight:500; min-width:70px;}

/*#region Sipariş Düzenle Paneli — B2BSiparisDetayListe inline alan güncellemesi*/
.siparis-duzenle .bilgilendirme{flex-wrap:nowrap; padding:10px 14px; align-items:flex-end; gap:12px; background:#ecf1fe;}
.mobil-duzenle-btn{display:none; align-items:center; gap:7px; padding:6px 14px; font-size:12px; font-weight:600; border-radius:8px; background:#eef2ff; color:#1e2d5a; border:1px solid #c7d4ff; box-shadow:0 1px 3px rgba(47,77,191,0.08); cursor:pointer; transition:background .15s,border-color .15s; flex-shrink:0;}
.mobil-duzenle-btn:hover{background:#e0e8ff; border-color:#2f4dbf;}
.mobil-duzenle-btn .fa-chevron-down{font-size:10px; opacity:0.6; margin-left:auto;}
.siparis-duzenle .duzenle-alan{display:flex; flex-wrap:wrap; gap:6px 12px; flex:1; align-items:flex-end;}
.siparis-duzenle .duzenle-item{position:relative; display:flex; flex-direction:column; min-width:110px; flex:0 1 auto;}
.siparis-duzenle .duzenle-item-aciklama{flex:0 1 260px;}
.siparis-duzenle .duzenle-item > label{font-size:10px; font-weight:600; color:#7383a3; margin-bottom:3px; text-transform:uppercase; letter-spacing:0.04em; line-height:1;}
.siparis-duzenle .duzenle-kontrol{width:100%; height:30px; padding:0 8px; border:1px solid #dce3ec; border-radius:6px; background:#fff; font-size:12px; color:#1e293b; transition:border-color .15s,box-shadow .15s;}
.siparis-duzenle .duzenle-kontrol:focus{outline:none; border-color:#2f4dbf; background:#fff; box-shadow:0 0 0 2px rgba(47,77,191,0.10);}
.siparis-duzenle .duzenle-item.kilitli .duzenle-kontrol{opacity:.6; pointer-events:none;}

.siparis-duzenle .duzenle-aksiyonlar{display:flex; align-items:center; align-self:center; gap:8px; flex-shrink:0; border-left:1px solid rgba(0,0,0,0.10); padding-left:16px; }
/* Netsis sipariş numarası rozeti — aktarılmış listede numara + siliyle geri alma (Erpv3 deseni) */
.siparis-duzenle .duzenle-aksiyonlar .netsis-sipno,
.siparis-duzenle .duzenle-aksiyonlar .netsis-datno{display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-size:11px; color:#1e293b; background:#f1f5f9; border:1px solid rgba(0,0,0,0.10); border-radius:5px; padding:4px 4px 4px 10px;}
.siparis-duzenle .duzenle-aksiyonlar .netsis-datno{background:#eef6ee; border-color:rgba(22,101,52,0.20); color:#166534;}
.siparis-duzenle .duzenle-aksiyonlar .netsis-sipno .etiket,
.siparis-duzenle .duzenle-aksiyonlar .netsis-datno .etiket{color:#64748b;}
.siparis-duzenle .duzenle-aksiyonlar .netsis-sipsil,
.siparis-duzenle .duzenle-aksiyonlar .netsis-datsil{display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border:0; border-radius:5px; background:var(--renk-tehlike-koyu); color:#fff; font-size:12px; cursor:pointer;}
.siparis-duzenle .duzenle-aksiyonlar .netsis-sipsil:hover,
.siparis-duzenle .duzenle-aksiyonlar .netsis-datsil:hover{background:var(--renk-tehlike-hover);}

.siparis-duzenle .duzenle-aksiyonlar .islemlistesi{background:#1e2d5a; color:#fff; border-color:#1e2d5a; padding:8px 14px; font-size:11px; border-radius:5px; box-shadow:0 2px 6px rgba(30,45,90,0.22);}
.siparis-duzenle .duzenle-aksiyonlar .islemlistesi:hover{background:#2a3f7e; border-color:#2a3f7e; box-shadow:0 4px 10px rgba(30,45,90,0.30); color:#fff;}
.siparis-duzenle .duzenle-aksiyonlar .islemlistesi i{color:rgba(255,255,255,0.7); font-size:11px; margin-left:5px;}
.acilirmenu[veri="siparisdurumdegistir"], .acilirmenu[veri="ithalatsiparisislem"], .acilirmenu[veri="ihracatsiparisislem"], .acilirmenu[veri="ihracatpaletislem"]{min-width:200px; padding:6px;}
.acilirmenu[veri="siparisdurumdegistir"] button, .acilirmenu[veri="ithalatsiparisislem"] button, .acilirmenu[veri="ihracatsiparisislem"] button, .acilirmenu[veri="ihracatpaletislem"] button{display:flex; align-items:center; gap:9px; padding:9px 12px; border-left:3px solid transparent; border-radius:7px; font-size:12px; font-weight:500; color:#1e293b; transition:background .12s,border-color .12s;}
.acilirmenu[veri="siparisdurumdegistir"] button:hover, .acilirmenu[veri="ithalatsiparisislem"] button:hover, .acilirmenu[veri="ihracatsiparisislem"] button:hover, .acilirmenu[veri="ihracatpaletislem"] button:hover{background:#eef2ff; border-left-color:#2f4dbf; color:#1e2d5a;}
.acilirmenu[veri="siparisdurumdegistir"] button i.siparisikon, .acilirmenu[veri="ithalatsiparisislem"] button i.siparisikon, .acilirmenu[veri="ihracatsiparisislem"] button i.siparisikon, .acilirmenu[veri="ihracatpaletislem"] button i.siparisikon{width:18px; font-size:13px; color:#64748b; flex-shrink:0;}
.acilirmenu[veri="siparisdurumdegistir"] button:hover i.siparisikon, .acilirmenu[veri="ithalatsiparisislem"] button:hover i.siparisikon{color:#2f4dbf;}
.acilirmenu[veri="siparisdurumdegistir"] button:has(i.fa-trash-alt), .acilirmenu[veri="ithalatsiparisislem"] button:has(i.fa-trash-alt){color:#b91c1c;}
.acilirmenu[veri="siparisdurumdegistir"] button:has(i.fa-trash-alt) i.siparisikon, .acilirmenu[veri="ithalatsiparisislem"] button:has(i.fa-trash-alt) i.siparisikon{color:#b91c1c;}
.acilirmenu[veri="siparisdurumdegistir"] button:has(i.fa-trash-alt):hover, .acilirmenu[veri="ithalatsiparisislem"] button:has(i.fa-trash-alt):hover{background:#fef2f2; border-left-color:#b91c1c;}
#mobil-duzenle-overlay{display:none; position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:9100;}
#mobil-duzenle-panel{position:fixed; bottom:0; left:0; right:0; max-height:84vh; background:#fff; border-radius:16px 16px 0 0; z-index:9101; display:flex; flex-direction:column; transform:translateY(100%); transition:transform 0.28s cubic-bezier(0.4,0,0.2,1); box-shadow:0 -6px 32px rgba(0,0,0,0.18); visibility:hidden; pointer-events:none;}
#mobil-duzenle-panel.acik{transform:translateY(0); visibility:visible; pointer-events:auto;}
#mobil-duzenle-panel::before{content:''; display:block; width:36px; height:4px; background:rgba(0,0,0,0.13); border-radius:2px; margin:10px auto 2px; flex-shrink:0;}
#mobil-duzenle-panel .mdp-baslik{display:flex; align-items:center; justify-content:space-between; padding:10px 16px 12px; border-bottom:1px solid var(--renk-kenar-acik); flex-shrink:0;}
#mobil-duzenle-panel .mdp-baslik-yazi{font-size:14px; font-weight:700; color:var(--renk-yazi); display:flex; align-items:center; gap:7px;}
#mobil-duzenle-panel .mdp-baslik-yazi i{color:var(--renk-birincil); font-size:14px; margin:0;}
#mobil-duzenle-panel .mdp-kapat{display:flex; align-items:center; justify-content:center; width:28px; height:28px; background:#f1f5f9; border:none; border-radius:50%; font-size:13px; color:#64748b; cursor:pointer; transition:background .15s; flex-shrink:0;}
#mobil-duzenle-panel .mdp-kapat:active{background:#e2e8f0;}
#mobil-duzenle-panel .mdp-icerik{overflow-y:auto; flex:1; padding:16px;}
#mobil-duzenle-panel .mdp-icerik > .duzenle-alan{display:flex; flex-direction:column; gap:12px; width:100%;}
#mobil-duzenle-panel .mdp-icerik .duzenle-item{display:flex; flex-direction:column; gap:5px; width:100%; min-width:0;}
#mobil-duzenle-panel .mdp-icerik .duzenle-item > label{font-size:10px; font-weight:700; text-transform:uppercase; color:var(--renk-yazi-soluk); letter-spacing:0.5px; line-height:1; margin:0;}
#mobil-duzenle-panel .mdp-icerik .duzenle-kontrol{width:100%; height:auto; padding:10px 12px; border:1.5px solid #e2e8f0; border-radius:8px; background:#f8fafc; font-size:13px; color:var(--renk-yazi); transition:border-color .15s; -webkit-appearance:none; box-sizing:border-box; line-height:1.4;}
#mobil-duzenle-panel .mdp-icerik .duzenle-kontrol:focus{border-color:var(--renk-birincil); background:#fff; box-shadow:0 0 0 2px rgba(47,77,191,0.10); outline:none;}
#mobil-duzenle-panel .mdp-icerik select.duzenle-kontrol{padding-right:36px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:13px;}
#mobil-duzenle-panel .mdp-icerik .duzenle-item-aciklama{margin-top:2px;}
/*#endregion Sipariş Düzenle Paneli*/

/*#endregion*/

/*#region B2B Toplama Detay — Sepet Kilidi (toplama-kilit overlay + panel)
   Razor SepetId boşsa veya sipariş başka kullanıcıdaysa <div class="toplama-kilit"> render eder.
   tk-overlay sayfayı blur+karartır, tk-panel üstte SepetId input veya kilit mesajı gösterir.
   Header/menu erişilebilir kalır (overlay z-index 9000, header daha yüksek değil — fakat
   pratikte iframe içinde olduğu için kilit kapsam yeterli). */
.toplama-kilit{position:fixed; inset:0; z-index:9000; display:flex; align-items:center; justify-content:center; pointer-events:none;}
.toplama-kilit .tk-overlay{position:absolute; inset:0; background:rgba(15, 23, 42, 0.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); pointer-events:auto;}
.toplama-kilit .tk-panel{position:relative; z-index:1; width:min(420px, calc(100% - 32px)); background:#fff; border-radius:14px; box-shadow:0 20px 60px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.15); padding:22px 22px 18px; pointer-events:auto; text-align:center;}
.toplama-kilit .tk-baslik{font-size:16px; font-weight:700; color:var(--renk-birincil, #1e2d5a); margin-bottom:8px; display:flex; align-items:center; justify-content:center; gap:8px;}
.toplama-kilit .tk-baslik i{font-size:18px;}
.toplama-kilit .tk-baslik.tk-baslik-kilit{color:var(--renk-tehlike, #dc2626);}
.toplama-kilit .tk-aciklama{font-size:12px; color:#475569; margin-bottom:14px; line-height:1.5;}
.toplama-kilit .tk-aciklama b{color:#1f2937;}

.toplama-kilit .tk-input-grup{display:flex; align-items:stretch; background:#f8fafc; border:2px solid var(--renk-birincil, #1e2d5a); border-radius:10px; overflow:hidden; margin-bottom:8px;}
.toplama-kilit .tk-input-grup i{display:flex; align-items:center; justify-content:center; width:38px; color:var(--renk-birincil, #1e2d5a); font-size:16px; background:rgba(30, 45, 90, 0.06); flex-shrink:0;}
.toplama-kilit .tk-input-grup input{flex:1; border:none !important; background:transparent !important; padding:12px 14px; font-size:12px !important; font-weight:700; color:#111827; outline:none !important; text-transform:uppercase; letter-spacing:0.5px;}
.toplama-kilit .tk-input-grup input:disabled{color:#94a3b8; cursor:wait;}
.toplama-kilit .tk-ipucu{font-size:10px; color:#94a3b8; text-transform:uppercase; letter-spacing:0.6px; font-weight:600;}

.toplamayuzdesi{position:relative; display:inline-flex; align-items:center; justify-content:center; min-width:84px; height:18px; padding:0 8px; margin-top:2px; border-radius:10px; font-size:11px; font-weight:700; line-height:1; letter-spacing:0.3px; border:1px solid transparent; background:#f1f5f9; overflow:hidden; transition:background 0.15s ease, color 0.15s ease, border-color 0.15s ease;}

.toplamayuzdesi .bar{position:absolute; inset:0 auto 0 0; width:0; background:#cbd5e1; transition:width 0.25s ease; z-index:0;}

.toplamayuzdesi b, .toplamayuzdesi i{position:relative; z-index:1; font-weight:700;}
.toplamayuzdesi i{font-size:11px;}

.toplamayuzdesi.yuzde-bos{background:#f1f5f9; color:#64748b; border-color:#e2e8f0;}
.toplamayuzdesi.yuzde-bos .bar{background:transparent;}

.toplamayuzdesi.yuzde-devam{background:#fef9c3; color:#854d0e; border-color:#fde68a;}
.toplamayuzdesi.yuzde-devam .bar{background:#fde68a;}

.toplamayuzdesi.yuzde-tamam{background:#dcfce7; color:#166534; border-color:#bbf7d0;}
.toplamayuzdesi.yuzde-tamam .bar{background:#86efac;}

.toplamayuzdesi.yuzde-asildi{background:#fee2e2; color:#991b1b; border-color:#fca5a5;}
.toplamayuzdesi.yuzde-asildi .bar{background:#fca5a5;}

.toplamayuzdesi.yuzde-hata{background:#fee2e2; color:#991b1b; border-color:#fecaca;}
.toplamayuzdesi.yuzde-hata .bar{background:transparent;}

td[data-name="ToplamaYuzdesi"] .toplayan{font-size:11px; color:#475569; margin-bottom:2px;}
td[data-name="SiparisId"] .sepetId{font-size:9px; color:#fff; background:#1e2d5a; border-radius:5px; padding:3px 5px; line-height:9px; margin-bottom:2px;}

.toplanan-rozet{display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:999px; font-weight:700; border:1px solid transparent; white-space:nowrap; line-height:14px; font-size:14px;}
.toplanan-rozet i{font-size:12px;}
.toplanan-rozet b{font-weight:700; font-size:14px; line-height:14px;}
.toplanan-rozet small{font-size:14px; font-weight:600; opacity:0.65; margin-left:1px; line-height:14px;}

.toplanan-rozet.top-yok{background:#fee2e2; color:#991b1b; border-color:#fecaca;}
.toplanan-rozet.top-kismi{background:#fef3c7; color:#92400e; border-color:#fde68a;}
.toplanan-rozet.top-tam{background:#d1fae5; color:#065f46; border-color:#a7f3d0;}

table[data-tablotipi="kart-sb-yanyana"] tbody tr.top-yok td[data-name="ToplananMiktar"]{background-color:rgba(254, 226, 226, 0.55);}
table[data-tablotipi="kart-sb-yanyana"] tbody tr.top-kismi td[data-name="ToplananMiktar"]{background-color:rgba(254, 243, 199, 0.55);}
table[data-tablotipi="kart-sb-yanyana"] tbody tr.top-tam td[data-name="ToplananMiktar"]{background-color:rgba(209, 250, 229, 0.55);}
/*#endregion*/

/*#region Sevkiyat Detay — Onay Miktar rozeti (B2BSevkiyatDetayListe)
   Yapı: <span class="onay-rozet onay-XXX" data-miktar data-toplanan>
            <input class="onay-input" />
         </span>
   Durumlar:
     onay-yok    → onay = 0          (kırmızı)
     onay-kismi  → onay < toplanan   (turuncu)
     onay-tam    → toplanan ≤ onay ≤ miktar (yeşil)
     onay-fazla  → onay > miktar     (mor)
   Font input içinde toplanan-rozet'ten bir tık daha büyük (15px),
   girdi alanı net ve düzeltilebilir görünsün. */
.onay-rozet{display:inline-flex; align-items:center; justify-content:center; padding:3px 4px; border-radius:8px; border:1.5px solid transparent; transition:background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;}
.onay-rozet .onay-input{width:60px; height:28px; padding:0; border:none; background:transparent; color:inherit; font-size:15px; font-weight:700; text-align:center; outline:none; box-shadow:none;}
.onay-rozet .onay-input:focus{outline:none; box-shadow:none;}

.onay-rozet.onay-yok{background:#fee2e2; color:#991b1b; border-color:#fca5a5;}
.onay-rozet.onay-kismi{background:#fef3c7; color:#92400e; border-color:#fcd34d;}
.onay-rozet.onay-tam{background:#d1fae5; color:#065f46; border-color:#6ee7b7;}
.onay-rozet.onay-fazla{background:#ede9fe; color:#5b21b6; border-color:#c4b5fd;}

.onay-rozet:focus-within{box-shadow:0 0 0 3px rgba(15, 23, 42, 0.06);}
.onay-rozet.onay-yok:focus-within{box-shadow:0 0 0 3px rgba(239, 68, 68, 0.18);}
.onay-rozet.onay-kismi:focus-within{box-shadow:0 0 0 3px rgba(245, 158, 11, 0.18);}
.onay-rozet.onay-tam:focus-within{box-shadow:0 0 0 3px rgba(16, 185, 129, 0.18);}
.onay-rozet.onay-fazla:focus-within{box-shadow:0 0 0 3px rgba(139, 92, 246, 0.20);}

/*#region Sevkiyat Detay — kaydedilmemiş değişiklik mobil varyant
   B2BSevkiyatDetayListe.cshtml.js > rowOnayUygula(): değişen satıra
   .sevkiyat-degisti class eklenir; kaydet sonrası kaldırılır.
   Desktop görünümü 04-tablo.css'te; mobil kart-sb-yanyana varyantı 06-mobil.css'te. */

/*#endregion*/

/*#region Sevkiyat Detay — Sipariş Miktar (kilitli / uyari / düzenlenebilir)
   Yapı: <span class="siparis-miktar-kutu siparis-miktar-XXX" data-orj=N>
            <i class="fal fa-lock"></i>          ← dar kolonda CSS ile gizlenir
            <input class="siparis-miktar-input" /> ← kutuyu doldurur
         </span>
   Üç state:
     siparis-miktar-kilitli       → readonly görünüm
     siparis-miktar-uyari         → 1. tıklama sonrası kısa süreli vurgu (sarı)
     siparis-miktar-duzenlenebilir → input aktif, mavi sınır + odak halkası

   TD genişliği input ile aynı (50px) — kutu TD'yi tamamen doldurur,
   ikon dar yerleşimde gizlenir.
   TD dar kolon rule'u 04-tablo.css'te. */

.siparis-miktar-kutu{display:flex; align-items:center; justify-content:center; width:100%; padding:2px 4px; border-radius:6px; background:none; color:#475569; cursor:pointer; user-select:none; box-sizing:border-box;}

.siparis-miktar-kutu .siparis-miktar-kilit-ikon{display:none;}

.siparis-miktar-kutu .siparis-miktar-input{width:60px!important; min-width:0; height:24px; padding:0; border:none; background:transparent; color:inherit; font-size:14px; font-weight:700; text-align:center; outline:none; cursor:inherit; box-sizing:border-box;}
.siparis-miktar-kutu .siparis-miktar-input:read-only{cursor:pointer;}

.siparis-miktar-kutu.siparis-miktar-kilitli{background:none; color:#475569; border-color:#e2e8f0;}
.siparis-miktar-kutu.siparis-miktar-kilitli:hover{background:none;}

.siparis-miktar-kutu.siparis-miktar-uyari{background:#fef3c7; color:#92400e; border-color:#fcd34d; box-shadow:0 0 0 3px rgba(245, 158, 11, 0.18); animation:siparisMiktarUyariPulse 0.6s ease-in-out infinite alternate;}
.siparis-miktar-kutu.siparis-miktar-uyari .siparis-miktar-kilit-ikon{color:#b45309; opacity:1;}

@keyframes siparisMiktarUyariPulse {
    from{box-shadow:0 0 0 3px rgba(245, 158, 11, 0.18);}
    to{box-shadow:0 0 0 5px rgba(245, 158, 11, 0.30);}
}

.siparis-miktar-kutu.siparis-miktar-duzenlenebilir{background:#eff6ff; color:#1e3a8a; border-color:#60a5fa; box-shadow:0 0 0 3px rgba(59, 130, 246, 0.18); cursor:text;}
.siparis-miktar-kutu.siparis-miktar-duzenlenebilir .siparis-miktar-kilit-ikon{
    color:#2563eb; opacity:1;
}
.siparis-miktar-kutu.siparis-miktar-duzenlenebilir .siparis-miktar-input{cursor:text; color:#1e3a8a;}
/*#endregion*/

/*#region B2BFaturaDetayListe — Sipariş Akış Bilgi Şeridi
   .siparis-akis: yatay flex şerit; her item üstte renkli etiket pill,
   altında bold ad, en altta tarih + opsiyonel toplama süresi.
   Etiketler süreç tipine göre farklı renk varyantı taşır (tip-siparis/onay/sevkiyat/...). */
.siparis-akis{display:flex; flex-wrap:nowrap; align-items:flex-start; gap:14px 22px; flex:1; min-width:0;}

.siparis-akis.sag{flex:0 1 auto; margin-left:auto; max-width:100%;}

.siparis-akis-item{display:flex; flex-direction:column; gap:4px; min-width:0; flex:0 0 auto;}

.siparis-akis-etiket{display:inline-flex; align-self:flex-start; padding:3px 5px; border-radius:6px; background:#cffafe; color:#0e7490; font-size:8px; font-weight:600; line-height:1.3; letter-spacing:0.4px; text-transform:uppercase; white-space:nowrap;}

.siparis-akis-ad{font-size:10px; font-weight:500; color:#0f172a; text-transform:uppercase; line-height:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:280px; padding:0px 5px;}

.siparis-akis-tarih{font-size:9px; color:#64748b; font-weight:500; line-height:1; padding:0px 5px;}

.siparis-akis-sure{color:#92400e; font-weight:600; margin-left:2px;}

.siparis-akis-ad.bos, .siparis-akis-tarih.bos{color:#cbd5e1; font-weight:500; font-style:italic; text-transform:none;}

.siparis-akis-etiket.tip-siparis{background:#cffafe; color:#0e7490;}
.siparis-akis-etiket.tip-onay{background:#dbeafe; color:#1e40af;}
.siparis-akis-etiket.tip-sevkiyat{background:#ede9fe; color:#5b21b6;}
.siparis-akis-etiket.tip-toplama{background:#fef3c7; color:#92400e;}
.siparis-akis-etiket.tip-netsis{background:#d1fae5; color:#065f46;}
.siparis-akis-etiket.tip-kargo{background:#fee2e2; color:#991b1b;}
.siparis-akis-etiket.tip-aciklama{background:#f1f5f9; color:#475569;}

.siparis-akis-aciklama{flex:1 1 240px;}
.siparis-akis-aciklama .siparis-akis-ad{white-space:normal; text-overflow:clip; max-width:none; line-height:1; min-width:200px;}

/*#endregion*/
/*#endregion*/

.acilirmenu[veri="ihracatsiparisislem"] button.yikici:hover{background:#fef2f2; border-left-color:var(--renk-tehlike); color:var(--renk-tehlike);}
.acilirmenu[veri="ihracatsiparisislem"] button.yikici:hover i.siparisikon{color:var(--renk-tehlike);}

