/* SAFSAN — Siparişlerim (sg- önekli) */
body.sg-lock{overflow:hidden}
.sg-modal{position:fixed;inset:0;z-index:2147482000;display:flex;align-items:flex-start;justify-content:center;padding:28px 16px;overflow:auto;font-family:Arial,Helvetica,sans-serif}
.sg-modal[hidden]{display:none}
.sg-back{position:fixed;inset:0;background:rgba(6,26,48,.55)}
.sg-panel{position:relative;background:#f4f7f9;border-radius:18px;width:min(820px,100%);box-shadow:0 24px 70px rgba(0,0,0,.3);color:#0b3768;overflow:hidden}
.sg-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:10px;background:#eef3f6;color:#5f7789;font-size:24px;line-height:1;cursor:pointer;z-index:1}
.sg-head{background:#fff;padding:22px 24px 0;border-bottom:1px solid #e3ebf0}
.sg-head h2{margin:0;font:700 22px Poppins,Arial,sans-serif;color:#0b3768}
.sg-head p{margin:4px 0 14px;color:#5f7789;font-size:14px}
.sg-tabs{display:flex;gap:4px}
.sg-tabs button{border:0;background:none;padding:10px 14px;font:700 13.5px Arial,Helvetica,sans-serif;color:#5f7789;border-bottom:3px solid transparent;cursor:pointer}
.sg-tabs button.on{color:#0b3768;border-bottom-color:#3aa63a}
.sg-body{padding:18px 20px 24px;display:flex;flex-direction:column;gap:14px}
.sg-load,.sg-empty{text-align:center;padding:40px 16px;color:#5f7789}
.sg-empty p{margin:0 0 6px;font-weight:700;color:#0b3768;font-size:15px}
.sg-empty-btns{display:flex;gap:10px;justify-content:center;margin-top:16px;flex-wrap:wrap}
.sg-card{background:#fff;border:1px solid #e3ebf0;border-radius:16px;padding:18px 20px}
.sg-card-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sg-card-h h3{margin:0;font:700 17px Poppins,Arial,sans-serif;color:#0b3768}
.sg-card-h small{color:#5f7789;font-size:12.5px}
.sg-pill{flex:none;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.sg-pill.wait{background:#fff3dc;color:#6b4300}.sg-pill.act{background:#3aa63a;color:#fff}
.sg-pill.go{background:#e6f0fa;color:#0b3768}.sg-pill.ok{background:#e4f5dc;color:#2f6b12}.sg-pill.bad{background:#fde8e6;color:#a32016}
.sg-steps{list-style:none;display:grid;grid-template-columns:repeat(7,1fr);margin:18px 0 6px;padding:0}
.sg-steps li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;font-size:11.5px;color:#8a9aa5}
.sg-steps li::before{content:"";position:absolute;top:8px;left:-50%;right:50%;height:3px;background:#dfe7ec}
.sg-steps li:first-child::before{display:none}
.sg-steps li.done::before,.sg-steps li.now::before{background:#3aa63a}
.sg-steps i{position:relative;z-index:1;width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid #dfe7ec}
.sg-steps li.done i{background:#3aa63a;border-color:#3aa63a}
.sg-steps li.now i{border-color:#3aa63a;box-shadow:0 0 0 4px rgba(58,166,58,.18)}
.sg-steps li.done span,.sg-steps li.now span{color:#0b3768;font-weight:700}
.sg-steps small{color:#5f7789;font-size:10.5px}
.sg-msg{margin:10px 0 8px;font-size:14px;line-height:1.5;color:#1d2f3f;background:#f6f9fb;border-radius:10px;padding:10px 12px}
.sg-kargo{display:flex;gap:10px;font-size:13.5px;margin:6px 0;color:#1d2f3f}.sg-kargo>b{color:#5f7789;min-width:44px}
.sg-items{list-style:none;margin:10px 0 0;padding:0;border-top:1px solid #edf2f5}
.sg-items li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf2f5;font-size:14px;color:#1d2f3f}
.sg-items small{color:#5f7789}.sg-items b{white-space:nowrap;color:#0b3768}
.sg-total{display:flex;justify-content:space-between;align-items:center;margin-top:10px;background:#f1f8ee;border:1px solid #d7ecca;border-radius:10px;padding:10px 12px;font-size:13.5px}
.sg-total b{font:700 17px Poppins,Arial,sans-serif;color:#0b3768}.sg-total small{color:#5f7789}
.sg-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.sg-btn{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 18px;border:0;border-radius:10px;background:#3aa63a;color:#fff;font:700 14px Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer}
.sg-btn:hover{background:#2f9230}
.sg-btn-l{background:#fff;color:#0b3768;border:1.5px solid #0b3768}.sg-btn-l:hover{background:#eef4f9}
.sg-panel button:focus-visible,.sg-panel a:focus-visible{outline:3px solid rgba(7,83,127,.35);outline-offset:2px}
.sg-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;background:#0b3768;color:#fff;padding:12px 18px;border-radius:10px;font:600 14px Arial,Helvetica,sans-serif;z-index:2147483001;transition:all .25s;box-shadow:0 10px 30px rgba(0,0,0,.2);max-width:calc(100vw - 32px);text-align:center;pointer-events:none}
.sg-toast.in{opacity:1;transform:translate(-50%,0)}
@media(max-width:620px){
  .sg-modal{padding:0}.sg-panel{border-radius:0;min-height:100%}
  .sg-head{padding:18px 16px 0}.sg-body{padding:14px 12px 24px}
  .sg-card{padding:16px 14px}
  .sg-steps{grid-template-columns:1fr;gap:0;margin:14px 0 4px}
  .sg-steps li{flex-direction:row;align-items:center;text-align:left;gap:10px;padding:5px 0}
  .sg-steps li::before{top:-50%;bottom:50%;left:7.5px;right:auto;width:3px;height:auto}
  .sg-steps small{margin-left:auto}
  .sg-acts .sg-btn{flex:1}
}
