/* ── LAYOUT ─────────────────────────── */
.app{display:flex;min-height:100vh;background:var(--bg)}

/* ── SIDEBAR ────────────────────────── */
.sidebar{
  width:var(--sidebar-w);
  background-color:var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:40px 40px;
  position:fixed;top:0;left:0;bottom:0;
  display:flex;flex-direction:column;overflow-y:auto;
  z-index:200;transition:transform .3s;
}
.sidebar-logo{
  display:flex;align-items:center;gap:10px;
  padding:20px 20px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:8px;
}
.sidebar-logo-icon{
  width:38px;height:38px;border-radius:9px;
  background:linear-gradient(135deg,var(--green2),var(--green));
  display:flex;align-items:center;justify-content:center;
  font-family:'Fraunces',serif;font-weight:700;font-size:20px;color:#fff;
  box-shadow:0 4px 12px rgba(45,106,79,.4);flex-shrink:0;
}
.sidebar-logo-text{font-family:'Fraunces',serif;font-size:17px;font-weight:700;color:#fff}
.sidebar-section-label{
  font-size:10px;font-weight:600;color:rgba(255,255,255,.3);
  letter-spacing:1.5px;text-transform:uppercase;padding:14px 20px 6px;
}
.nav-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 20px;font-size:13px;font-weight:500;
  color:rgba(255,255,255,.55);border-radius:8px;
  margin:1px 8px;transition:all .15s;
}
.nav-item:hover{background:rgba(255,255,255,.07);color:rgba(255,255,255,.9)}
.nav-item.active{
  background:linear-gradient(135deg,rgba(64,145,108,.4),rgba(45,106,79,.3));
  color:var(--green-light);border:1px solid rgba(116,198,157,.15);
}
.nav-icon{font-size:16px;width:20px;text-align:center;flex-shrink:0;opacity:.7}
.nav-item.active .nav-icon{opacity:1}
.nav-badge{
  margin-left:auto;background:rgba(116,198,157,.2);color:var(--green-light);
  font-size:10px;font-weight:600;padding:2px 7px;border-radius:99px;
}
.sidebar-footer{margin-top:auto;padding:16px;border-top:1px solid rgba(255,255,255,.06)}
.sidebar-user{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:10px;cursor:pointer;transition:background .15s;
}
.sidebar-user:hover{background:rgba(255,255,255,.06)}
.user-avatar{
  width:34px;height:34px;border-radius:50%;
  background:linear-gradient(135deg,var(--green-light),var(--green));
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:#fff;flex-shrink:0;
}
.user-name{font-size:13px;font-weight:600;color:#fff}
.user-role{font-size:11px;color:rgba(255,255,255,.4);margin-top:1px}

/* ── MAIN ───────────────────────────── */
.main{margin-left:var(--sidebar-w);flex:1;display:flex;flex-direction:column;min-height:100vh}

/* ── TOPBAR ─────────────────────────── */
.topbar{
  height:var(--header-h);background:#fff;border-bottom:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 32px;position:sticky;top:0;z-index:100;gap:16px;
}
.topbar-left{display:flex;align-items:center;gap:12px}
.page-title{font-family:'Plus Jakarta Sans',sans-serif;font-size:16px;font-weight:700;color:var(--text)}
.page-breadcrumb{font-size:12px;color:var(--muted);margin-top:1px}
.topbar-right{display:flex;align-items:center;gap:10px}
.topbar-search{
  display:flex;align-items:center;gap:8px;
  background:var(--bg);border:1.5px solid var(--border);border-radius:8px;
  padding:8px 12px;width:220px;transition:border-color .2s;
}
.topbar-search:focus-within{border-color:var(--green)}
.topbar-search input{background:none;border:none;outline:none;font-size:13px;color:var(--text);width:100%}
.topbar-search input::placeholder{color:var(--muted)}
.icon-btn{
  width:38px;height:38px;border:1.5px solid var(--border);border-radius:8px;
  background:#fff;display:flex;align-items:center;justify-content:center;
  font-size:16px;transition:all .15s;position:relative;cursor:pointer;
}
.icon-btn:hover{border-color:var(--green);background:var(--green-muted)}
.notif-dot{
  position:absolute;top:6px;right:6px;width:7px;height:7px;
  background:var(--green2);border-radius:50%;border:1.5px solid #fff;
}
.topbar-avatar{
  width:36px;height:36px;border-radius:50%;
  background:linear-gradient(135deg,var(--green-light),var(--green));
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:#fff;cursor:pointer;
}

/* ── CONTENT ────────────────────────── */
.content{padding:28px 32px;flex:1}

/* ── STAT CARDS ─────────────────────── */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.stat-card{
  background:#fff;border-radius:14px;padding:20px 24px;
  border:1px solid var(--border);box-shadow:0 1px 3px rgba(0,0,0,.04);
  display:flex;align-items:center;gap:16px;
  transition:transform .2s,box-shadow .2s;
}
.stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.08)}
.stat-icon{
  width:50px;height:50px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;flex-shrink:0;
}
.stat-icon.green{background:var(--green-muted)}
.stat-icon.blue{background:#ddeeff}
.stat-icon.orange{background:#fef0e0}
.stat-icon.purple{background:#f0ebfc}
.stat-icon.red{background:#fde8e8}
.stat-value{
  font-family:'Fraunces',serif;font-size:30px;font-weight:700;
  color:var(--text);line-height:1;
}
.stat-label{font-size:12px;color:var(--muted);margin-top:3px;font-weight:500}
.stat-change{font-size:11px;font-weight:600;margin-top:4px}
.stat-change.up{color:var(--green2)}
.stat-change.down{color:#dc2626}

/* ── TABLE CARD ─────────────────────── */
.table-card{
  background:#fff;border-radius:14px;border:1px solid var(--border);
  overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.table-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 24px;border-bottom:1px solid var(--border);gap:12px;flex-wrap:wrap;
}
.table-title{font-family:'Fraunces',serif;font-size:18px;font-weight:700;color:var(--text)}
.table-subtitle{font-size:12px;color:var(--muted);margin-top:2px}
.table-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.filter-input,.filter-select{
  padding:8px 12px;border:1.5px solid var(--border);border-radius:8px;
  font-size:13px;color:var(--text);background:var(--bg);
  outline:none;transition:border-color .2s;
}
.filter-input:focus,.filter-select:focus{border-color:var(--green)}
.filter-select{cursor:pointer}

.btn-primary{
  padding:9px 18px;background:linear-gradient(135deg,var(--green2),var(--green));
  color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;
  display:flex;align-items:center;gap:6px;transition:all .2s;
  box-shadow:0 4px 12px rgba(45,106,79,.3);cursor:pointer;
}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(45,106,79,.4)}
.btn-secondary{
  padding:9px 16px;background:#fff;color:var(--text);
  border:1.5px solid var(--border);border-radius:8px;font-size:13px;font-weight:500;
  display:flex;align-items:center;gap:6px;transition:all .2s;cursor:pointer;
}
.btn-secondary:hover{border-color:var(--green);color:var(--green)}

table{width:100%;border-collapse:collapse}
th{
  padding:11px 16px;text-align:left;font-size:11px;font-weight:600;
  color:var(--muted);letter-spacing:.5px;text-transform:uppercase;
  background:#fafafa;border-bottom:1px solid var(--border);white-space:nowrap;
}
td{
  padding:13px 16px;font-size:13px;color:var(--text);
  border-bottom:1px solid #f3f4f6;vertical-align:middle;
}
tr:last-child td{border-bottom:none}
tbody tr{transition:background .1s}
tbody tr:hover{background:#f8fffc}
.td-mono{font-family:'Courier New',monospace;font-size:12px;font-weight:600;color:var(--muted)}

/* ── BADGES ─────────────────────────── */
.badge{
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 10px;border-radius:99px;font-size:11px;font-weight:600;
  letter-spacing:.2px;white-space:nowrap;
}
.badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.badge-green{background:rgba(45,106,79,.1);color:var(--green)}
.badge-blue{background:rgba(26,79,122,.1);color:#1a4f7a}
.badge-orange{background:rgba(234,124,26,.12);color:#c45d00}
.badge-red{background:rgba(220,38,38,.1);color:#dc2626}
.badge-gray{background:rgba(107,114,128,.1);color:var(--muted)}
.badge-gold{background:rgba(196,154,45,.1);color:#a07020}
.badge-purple{background:rgba(107,79,160,.1);color:#6b4fa0}

/* ── PAGINATION ─────────────────────── */
.pagination{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 24px;border-top:1px solid var(--border);font-size:12px;color:var(--muted);
}
.pag-btns{display:flex;gap:4px}
.pag-btn{
  width:32px;height:32px;border:1.5px solid var(--border);border-radius:7px;
  background:#fff;font-size:12px;font-weight:500;color:var(--muted);
  display:flex;align-items:center;justify-content:center;transition:all .15s;cursor:pointer;
}
.pag-btn:hover{border-color:var(--green);color:var(--green)}
.pag-btn.active{background:var(--green);border-color:var(--green);color:#fff}

/* ── ACTION BUTTONS ─────────────────── */
.action-row{display:flex;gap:4px}
.act-btn{
  width:28px;height:28px;border-radius:6px;border:1.5px solid var(--border);
  background:#fff;display:flex;align-items:center;justify-content:center;
  font-size:13px;transition:all .15s;cursor:pointer;
}
.act-btn:hover{border-color:var(--green);background:var(--green-muted)}

/* ── INFO CARDS (dashboard) ─────────── */
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.info-card{background:#fff;border-radius:14px;border:1px solid var(--border);padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.info-card-title{font-family:'Fraunces',serif;font-size:17px;font-weight:700;margin-bottom:16px;color:var(--text)}

/* ── PROGRESS BARS ──────────────────── */
.progress-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.progress-label{font-size:13px;color:var(--text);min-width:140px}
.progress-bar-bg{flex:1;height:6px;background:#f0f0f0;border-radius:99px;overflow:hidden}
.progress-bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--green2),var(--green-light))}
.progress-pct{font-size:12px;font-weight:600;color:var(--green);min-width:36px;text-align:right}

/* ── ACTIVITY LIST ──────────────────── */
.activity-list{display:flex;flex-direction:column;gap:12px}
.activity-item{display:flex;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}
.activity-item:last-child{border-bottom:none;padding-bottom:0}
.activity-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex-shrink:0}
.activity-dot.green{background:var(--green2)}
.activity-dot.orange{background:#ea7c1a}
.activity-dot.blue{background:#1a4f7a}
.activity-dot.red{background:#dc2626}
.activity-text{font-size:13px;color:var(--text);line-height:1.5}
.activity-time{font-size:11px;color:var(--muted);margin-top:2px}

/* ── RAPORLAR ───────────────────────── */
.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}
.report-card{background:#fff;border-radius:14px;border:1px solid var(--border);padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.report-card-label{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:1px;text-transform:uppercase;margin-bottom:8px}
.report-card-value{font-family:'Fraunces',serif;font-size:36px;font-weight:700;color:var(--text)}
.report-card-sub{font-size:12px;color:var(--muted);margin-top:4px}
.bar-chart{margin-top:20px}
.bar-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.bar-month{font-size:12px;color:var(--muted);min-width:36px}
.bar-track{flex:1;height:24px;background:#f3f4f6;border-radius:6px;overflow:hidden;position:relative}
.bar-fill{height:100%;border-radius:6px;background:linear-gradient(90deg,var(--green2),var(--green-light));display:flex;align-items:center;padding:0 8px;font-size:11px;font-weight:600;color:#fff;transition:width .8s ease}

/* ── HIZLI ERİŞİM KARTLARI ──────────── */
.quick-link{
  display:flex;align-items:center;gap:10px;padding:14px;
  border:1.5px solid var(--border);border-radius:10px;
  font-size:13px;font-weight:500;transition:all .2s;
  text-decoration:none;color:var(--text);
}
.quick-link:hover{border-color:var(--green);background:var(--green-muted)}
.quick-link-icon{font-size:20px}

/* ── MOBİL TOGGLE ───────────────────── */
.sidebar-toggle-btn{
  display:none;background:none;border:none;
  font-size:22px;cursor:pointer;color:var(--text);
  padding:6px 10px;border-radius:6px;line-height:1;flex-shrink:0;
}
.sidebar-toggle-btn:hover{background:var(--green-muted)}

/* Mobil sidebar backdrop */
.sidebar-backdrop{
  display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);
  z-index:199;
}
.sidebar-backdrop.open{display:block}

/* ── RESPONSIVE ─────────────────────── */
@media(max-width:1100px){
  .stats-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .sidebar-toggle-btn{display:flex;align-items:center;justify-content:center}
  .sidebar{transform:translateX(-100%);box-shadow:none;transition:transform .3s,box-shadow .3s}
  .sidebar.open{transform:translateX(0);box-shadow:4px 0 24px rgba(0,0,0,.25)}
  .main{margin-left:0!important;min-width:0;overflow-x:hidden}
  .info-grid{grid-template-columns:1fr}
  .report-grid{grid-template-columns:1fr 1fr}
  .topbar{padding:0 16px;gap:8px}
  .topbar-search{display:none!important}
  .table-header{flex-direction:column;align-items:flex-start;gap:10px}
  .table-actions{flex-wrap:wrap;width:100%}
  .content{padding:16px 12px}
  .page{padding:16px!important}
}
@media(max-width:600px){
  .stats-row{grid-template-columns:1fr 1fr!important}
  .report-grid{grid-template-columns:1fr}
  .info-grid{grid-template-columns:1fr!important}
  .content{padding:12px 10px}
  .topbar{padding:0 12px}
  .topbar-right .btn-secondary{display:none!important}
  .table-card{border-radius:8px}
  .modal-row{grid-template-columns:1fr!important}
  .form-row{grid-template-columns:1fr!important}
  .modal-box{border-radius:12px}
  .stat-card{padding:14px 16px}
  .stat-value{font-size:24px!important}
  /* Tablo hücreleri telefonda küçülsün */
  th,td{padding:9px 10px!important;font-size:12px!important}
}
@media(max-width:380px){
  .stats-row{grid-template-columns:1fr!important}
  .topbar-avatar{display:none}
}

/* ── MODAL ─────────────────────────── */
.modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1000;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .2s;
}
.modal-overlay.open{opacity:1;pointer-events:all}
.modal-box{
  background:#fff;border-radius:16px;width:520px;max-width:94vw;
  box-shadow:0 24px 64px rgba(0,0,0,.2);
  transform:translateY(16px);transition:transform .2s;
  max-height:90vh;overflow-y:auto;
}
.modal-overlay.open .modal-box{transform:translateY(0)}
.modal-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px 16px;border-bottom:1px solid #f3f4f6;position:sticky;top:0;background:#fff;z-index:1;
}
.modal-title{font-size:16px;font-weight:700;color:#111;font-family:'Plus Jakarta Sans',sans-serif}
.modal-close{
  width:32px;height:32px;border-radius:8px;border:none;background:#f3f4f6;
  font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  color:#6b7280;transition:background .15s;line-height:1;
}
.modal-close:hover{background:#e5e7eb;color:#111}
.modal-body{padding:20px 24px}
.modal-field{margin-bottom:14px}
.modal-field label{display:block;font-size:11px;font-weight:700;color:#6b7280;margin-bottom:5px;letter-spacing:.5px;text-transform:uppercase}
.modal-field input,.modal-field select,.modal-field textarea{
  width:100%;padding:9px 12px;border:1.5px solid #e5e7eb;border-radius:8px;
  font-size:13px;color:#111;outline:none;font-family:'Plus Jakarta Sans',sans-serif;
  transition:border-color .2s;background:#fff;
}
.modal-field input:focus,.modal-field select:focus,.modal-field textarea:focus{
  border-color:#2d6a4f;box-shadow:0 0 0 3px rgba(45,106,79,.1);
}
.modal-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.modal-foot{
  display:flex;gap:10px;justify-content:flex-end;
  padding:16px 24px;border-top:1px solid #f3f4f6;
  position:sticky;bottom:0;background:#fff;
}
.modal-err{font-size:12px;color:#dc2626;margin-top:-8px;margin-bottom:8px;display:none}
.modal-err.show{display:block}

/* ── PRINT ──────────────────────────── */
@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .sidebar,.topbar{display:none!important}
  .app{display:block}
  .main{margin-left:0!important;width:100%!important}
  .content{padding:16px!important}
  .bar-fill{transition:none!important}
  .modal-overlay,.share-menu{display:none!important}
}

/* (duplicate mobile block removed — see above) */

/* ── SHARE DROPDOWN ─────────────────── */
.share-menu{
  position:fixed;background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:9999;min-width:160px;padding:4px;
}
.share-item{
  display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:7px;
  cursor:pointer;font-size:13px;color:#374151;font-family:'Plus Jakarta Sans',sans-serif;font-weight:500;
  transition:background .1s;
}
.share-item:hover{background:#f3f4f6}

/* ── TASK CARD (Üretim & Depo görevleri) ── */
.task-card{
  background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:16px 20px;border-left:4px solid transparent;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
  transition:transform .2s,box-shadow .2s;
}
.task-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.task-card.priority-red   {border-left-color:#dc2626}
.task-card.priority-orange{border-left-color:#d97706}
.task-card.priority-blue  {border-left-color:#1a6baa}
.task-card.priority-green {border-left-color:#40916c}
.task-card.priority-gray  {border-left-color:#9ca3af}
.task-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.task-card-no{font-size:12px;font-weight:700;color:var(--muted)}
.task-card-body{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.task-card-field{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;margin-bottom:2px}
.task-card-value{font-size:13px;font-weight:600;color:var(--text)}
.task-card-actions{display:flex;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.tasks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.tasks-section{margin-bottom:28px}
.tasks-section-title{
  font-size:12px;font-weight:700;color:var(--muted);
  text-transform:uppercase;letter-spacing:.6px;
  margin-bottom:12px;padding-bottom:8px;
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;gap:8px;
}
.tasks-section-count{
  background:var(--green-muted);color:var(--green);
  font-size:11px;font-weight:700;
  padding:2px 8px;border-radius:99px;
}

/* ── SECTION TABS ── */
.section-tabs{
  display:flex;gap:4px;
  border-bottom:2px solid var(--border);
  margin-bottom:20px;
}
.section-tab{
  padding:10px 18px;font-size:13px;font-weight:600;
  color:var(--muted);cursor:pointer;
  border-bottom:2px solid transparent;margin-bottom:-2px;
  transition:color .15s,border-color .15s;
  font-family:'Plus Jakarta Sans',sans-serif;background:none;border-top:none;border-left:none;border-right:none;
}
.section-tab.active{color:var(--green);border-bottom-color:var(--green)}
.section-tab:hover:not(.active){color:var(--text)}
.section-tab-panel{display:none}
.section-tab-panel.active{display:block}

/* ── BADGE YENİ VARYANTLAR ── */
.badge-teslim   {background:rgba(64,145,108,.1);color:#40916c}
.badge-beklemede{background:rgba(217,119,6,.1);color:#d97706}
.badge-onaylandi{background:rgba(26,107,170,.1);color:#1a6baa}
.badge-iptal    {background:rgba(220,38,38,.1);color:#dc2626}
.badge-taslak   {background:rgba(107,114,128,.1);color:#6b7280}
.badge-siparis-edildi{background:rgba(124,92,191,.1);color:#7c5cbf}

/* ── MAL KABUL KART (Depo) ── */
.kabul-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.kabul-section-head{
  font-size:12px;font-weight:700;color:var(--muted);
  text-transform:uppercase;letter-spacing:.6px;
  padding:12px 16px;background:#fafafa;
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;
}
.kabul-section-count{
  font-size:11px;font-weight:700;
  padding:2px 8px;border-radius:99px;
}
.kabul-section-count.orange{background:rgba(217,119,6,.12);color:#d97706}
.kabul-section-count.blue  {background:rgba(26,107,170,.12);color:#1a6baa}
.kabul-section-count.green {background:rgba(64,145,108,.12);color:#40916c}
.kabul-card{
  background:#fff;border:1px solid var(--border);border-radius:12px;
  padding:14px 16px;margin:12px;
  box-shadow:0 1px 3px rgba(0,0,0,.03);
  transition:box-shadow .2s;
}
.kabul-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.07)}
.kabul-card-no{font-size:11px;font-family:monospace;color:var(--muted);margin-bottom:4px}
.kabul-card-supplier{font-size:13px;font-weight:700;color:var(--text);margin-bottom:8px}
.kabul-card-material{font-size:12px;color:#374151;margin-bottom:8px}
.kabul-card-qty{
  display:flex;align-items:center;gap:6px;
  font-size:12px;color:var(--muted);margin-bottom:12px;
}
.kabul-card-qty strong{font-weight:700;color:var(--text)}
.kabul-qty-bar{flex:1;height:4px;background:#e9ecef;border-radius:99px;overflow:hidden}
.kabul-qty-fill{height:100%;background:linear-gradient(90deg,#40916c,#74c69d);border-radius:99px}
@media(max-width:1100px){.kabul-sections{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.kabul-sections{grid-template-columns:1fr}}

/* ── Phase Tracker (siparis-detay) ──────────────────────────────────────── */
.phase-tracker{display:flex;align-items:flex-start;padding:24px 32px;gap:0}
.phase-step{display:flex;flex-direction:column;align-items:center;flex:1;position:relative}
.phase-step:not(:last-child)::after{content:'';position:absolute;top:17px;left:50%;width:100%;height:3px;background:var(--border);z-index:0}
.phase-step.done::after{background:var(--green)}
.phase-step.active::after{background:linear-gradient(to right,var(--green),var(--border))}
.phase-dot{width:36px;height:36px;border-radius:50%;background:#fff;border:3px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:15px;position:relative;z-index:1;transition:all .25s}
.phase-step.done .phase-dot{background:var(--green);border-color:var(--green);color:#fff}
.phase-step.active .phase-dot{background:var(--green2);border-color:var(--green2);color:#fff;box-shadow:0 0 0 5px rgba(64,145,108,.15)}
.phase-label{font-size:11px;font-weight:600;color:var(--muted);margin-top:8px;text-align:center;line-height:1.3}
.phase-step.done .phase-label,.phase-step.active .phase-label{color:var(--green)}

/* ── Sipariş Detay Özet Kartı ──────────────────────────────────────────── */
.det-ozet{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:0;padding:20px 28px}
.det-ozet-item{padding:12px 16px;border-right:1px solid var(--border)}
.det-ozet-item:last-child{border-right:none}
.det-ozet-label{font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}
.det-ozet-val{font-size:18px;font-family:'Fraunces',serif;font-weight:700;color:var(--text)}
@media(max-width:900px){.det-ozet{grid-template-columns:1fr 1fr}}

/* ── Sipariş Notları Chat ──────────────────────────────────────────────── */
.not-list{display:flex;flex-direction:column;gap:12px;padding:16px;max-height:360px;overflow-y:auto}
.not-item{background:#f4f6f5;border-radius:10px;padding:10px 14px}
.not-item-header{display:flex;justify-content:space-between;margin-bottom:4px}
.not-item-yazan{font-size:12px;font-weight:700;color:var(--green)}
.not-item-tarih{font-size:11px;color:var(--muted)}
.not-item-icerik{font-size:13px;color:var(--text);line-height:1.5}
.not-input-row{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--border)}
.not-input-row textarea{flex:1;resize:none;border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:13px;font-family:'Plus Jakarta Sans',sans-serif;outline:none}
.not-input-row textarea:focus{border-color:var(--green)}
