/* ===== MSBİŞÇİLERİ.COM | 16 MART TEDİYE (Jannah uyumlu) ===== */ #msb-tediye{ max-width: 760px; margin: 26px auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif; } #msb-tediye .msb-card{ background:#fff; border:1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 10px 24px rgba(15,23,42,.06); overflow:hidden; } #msb-tediye .msb-head{ padding:16px 18px; border-bottom:1px solid #eef2f7; background: linear-gradient(135deg, rgba(30,58,138,.06), rgba(220,38,38,.05)); } #msb-tediye .msb-badge{ display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; color:#0b1220; background: rgba(30,58,138,.08); border: 1px solid rgba(30,58,138,.15); } #msb-tediye .msb-dot{width:8px;height:8px;border-radius:50%;background:#dc2626;} #msb-tediye h2{ margin:10px 0 0; font-size: 20px; line-height: 1.25; font-weight: 950; color:#0b1220; } #msb-tediye .msb-body{padding: 16px 18px;} #msb-tediye label{ display:block; margin:0 0 6px; font-size: 13px; font-weight: 900; color:#111827; } #msb-tediye select{ width:100%; padding: 12px 12px; border-radius: 12px; border: 1px solid #cbd5e1; background:#fff; color:#0b1220; font-size: 15px; outline:none; } #msb-tediye .msb-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; } #msb-tediye .msb-btn{ flex: 1 1 200px; padding: 13px 14px; border-radius: 12px; border:1px solid #cbd5e1; cursor:pointer; font-weight: 950; font-size: 15px; } #msb-tediye .msb-btn.primary{ background: #dc2626; color:#fff; border-color:#dc2626; } #msb-tediye .msb-btn.primary:hover{background:#b91c1c;border-color:#b91c1c;} #msb-tediye .msb-btn.ghost{ background:#fff; color:#0b1220; } #msb-tediye .msb-btn.ghost:hover{background:#f8fafc;} #msb-tediye .msb-result{ display:none; margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px solid rgba(34,197,94,.35); background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(34,197,94,.04)); } #msb-tediye .msb-kpi{ display:flex; align-items:flex-end; justify-content:space-between; gap:10px; flex-wrap:wrap; } #msb-tediye .msb-kpi .klabel{ font-weight: 950; color:#065f46; letter-spacing:.2px; } #msb-tediye .msb-kpi .kvalue{ font-size: 34px; font-weight: 950; color:#0f5132; } #msb-tediye .msb-table{ width:100%; border-collapse: collapse; margin-top: 12px; border-radius: 12px; overflow:hidden; border:1px solid #e5e7eb; background:#fff; } #msb-tediye .msb-table th, #msb-tediye .msb-table td{ padding: 10px 12px; border-bottom:1px solid #eef2f7; font-size: 13px; color:#111827; } #msb-tediye .msb-table th{ text-align:left; background:#f1f5f9; font-weight: 950; } #msb-tediye .msb-table td:last-child{ text-align:right; font-weight: 950; } #msb-tediye .msb-note{ margin-top:10px; font-size:12px; line-height:1.55; color:#4b5563; } MSB İŞÇİLERİ • 16 Mart 16 Mart Tediye Hesaplaması Dereceniz Seçiniz... HESAPLA SONUCU KOPYALA Ele Geçen Tediye 0,00 TL BilgiDeğer Hesaplama: 97,5 saat üzerinden yapılır. Kesinti oranı: %20. (Bilgilendirme amaçlıdır.) /* ===== 16 MART TEDİYE FORMÜLÜ ===== TediyeBrüt = 97,5 saat x zamlı saatlik ücret Kesinti = TediyeBrüt x %20 Tediye (Ele Geçen) = TediyeBrüt - Kesinti */ const msbTediyeSaatlik = { 1:325.77,2:327.93,3:328.09,4:329.45,5:334.72, 6:338.28,7:341.48,8:347.74,9:351.99,10:356.45, 11:362.06,12:367.93,13:372.05,14:378.58,15:384.65, 16:389.59,17:396.15,18:401.96,19:407.67,20:415.60, 21:421.28,22:429.72,23:436.39,24:445.04,25:450.91, 26:461.32,27:468.99,28:476.50,29:484.62,30:494.21, 31:503.00,32:512.61,33:520.82,34:530.87,35:539.94, 36:551.39,37:560.38,38:571.65,39:583.52 }; const MSB_TEDIYE_SAAT = 97.5; const MSB_TEDIYE_KESINTI = 0.20; (function(){ const sel = document.getElementById("msbDereceTediye"); for(let i=1;i`${r[0]}${r[1]}`).join(""); document.getElementById("msbTediyeResult").style.display="block"; } function msbTediyeKopyala(){ const val = document.getElementById("msbTediyeEleGecen").textContent; if(!val || val==="0,00 TL"){ alert("Önce hesapla."); return; } const derece = document.getElementById("msbDereceTediye").value; const saatlik = msbTediyeSaatlik[parseInt(derece,10)]; const text = `16 Mart Tediye Hesabı (MSB İşçileri) Derece: ${derece}. Derece Zamlı Saatlik Ücret: ${msbMoney(saatlik)} Ele Geçen Tediye: ${val}`; if(navigator.clipboard && navigator.clipboard.writeText){ navigator.clipboard.writeText(text).then(()=>alert("Sonuç kopyalandı ✅")); }else{ const ta=document.createElement("textarea"); ta.value=text; document.body.appendChild(ta); ta.select(); document.execCommand("copy"); document.body.removeChild(ta); alert("Sonuç kopyalandı ✅"); } }