/* ============================================================
   WarehouseIQ — Paketleme / Sevkiyat / Sayım
   Enterprise WMS visual layer
   ============================================================ */

#paketleme,
#sevkiyat-panel,
#sayim{
  color:#172033 !important;
  background:#f8fafc !important;
  border:0 !important;
  box-shadow:none !important;
}

#paketleme > .heading,
#sevkiyat-panel > .heading,
#sayim > .heading{
  display:none !important;
}


/* ============================================================
   COMMON FIELDS / BUTTONS
   ============================================================ */

#paketleme label,
#sevkiyat-panel label,
#sayim label{
  color:#475467 !important;
  font-size:11px !important;
  font-weight:800 !important;
}

#paketleme input,
#paketleme select,
#paketleme textarea,
#sevkiyat-panel input,
#sevkiyat-panel select,
#sevkiyat-panel textarea,
#sayim input,
#sayim select,
#sayim textarea{
  min-height:46px !important;
  padding:10px 13px !important;

  border:1px solid #d7dee8 !important;
  border-radius:11px !important;

  background:#fff !important;
  color:#172033 !important;

  font-size:13px !important;
  box-shadow:none !important;
}

#paketleme input:focus,
#paketleme select:focus,
#paketleme textarea:focus,
#sevkiyat-panel input:focus,
#sevkiyat-panel select:focus,
#sevkiyat-panel textarea:focus,
#sayim input:focus,
#sayim select:focus,
#sayim textarea:focus{
  border-color:#18a997 !important;
  outline:none !important;
  box-shadow:0 0 0 3px rgba(24,169,151,.10) !important;
}

#paketleme button,
#sevkiyat-panel button,
#sayim button{
  min-height:43px !important;
  padding:10px 15px !important;

  border:1px solid #d6dee8 !important;
  border-radius:10px !important;

  background:#fff !important;
  color:#344054 !important;

  font-size:12px !important;
  font-weight:800 !important;
}

#paketleme button:hover,
#sevkiyat-panel button:hover,
#sayim button:hover{
  background:#f8fafc !important;
  border-color:#b9c5d4 !important;
}


/* ============================================================
   PAKETLEME
   ============================================================ */

.warehouse-packing-help,
.warehouse-packing-safety{
  margin:0 0 18px !important;
  padding:13px 16px !important;

  border:1px solid #dfe7ef !important;
  border-radius:12px !important;

  background:#f8fbfd !important;
  color:#667085 !important;

  font-size:13px !important;
  line-height:1.55 !important;
}

.warehouse-packing-create,
.warehouse-packing-workspace{
  display:grid !important;
  gap:18px !important;

  margin:0 0 18px !important;
  padding:22px !important;

  border:1px solid #e2e8f0 !important;
  border-radius:18px !important;

  background:#fff !important;

  box-shadow:
    0 10px 28px rgba(15,23,42,.05) !important;
}

.warehouse-packing-create::before{
  content:"PAKET OLUŞTURMA";
  display:block;

  color:#159a8c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
}

.warehouse-packing-workspace::before{
  content:"PAKETLEME ÇALIŞMA ALANI";
  display:block;

  color:#159a8c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
}

.warehouse-packing-grid,
.warehouse-packing-quantity-grid,
.warehouse-packing-tracking-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}

.warehouse-packing-field{
  display:grid !important;
  gap:7px !important;
  min-width:0 !important;
}

.warehouse-packing-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}

.warehouse-packing-actions button{
  min-width:150px !important;
}

.warehouse-packing-create-message,
.warehouse-packing-message,
.warehouse-packing-match{
  margin:0 !important;
  padding:11px 13px !important;

  border:1px solid #e1e7ee !important;
  border-radius:10px !important;

  background:#f8fafc !important;
  color:#667085 !important;

  font-size:12px !important;
  line-height:1.5 !important;
}

.warehouse-packing-lifecycle{
  display:grid !important;
  gap:14px !important;

  margin-top:2px !important;
  padding:18px !important;

  border:1px solid #dfe6ee !important;
  border-radius:15px !important;

  background:#f8fafc !important;
}

.warehouse-packing-lifecycle > strong{
  color:#172033 !important;
  font-size:16px !important;
  font-weight:800 !important;
}

.warehouse-packing-lifecycle-actions{
  align-items:stretch !important;
}

#paketleme button[id*="olustur"],
#paketleme button[id*="baslat"]{
  border-color:transparent !important;

  background:
    linear-gradient(135deg,#18b6a4,#109589) !important;

  color:#fff !important;

  box-shadow:
    0 7px 16px rgba(24,182,164,.17) !important;
}

#paketleme button[id*="tamamla"]{
  border-color:transparent !important;
  background:#172033 !important;
  color:#fff !important;
}


/* ============================================================
   SEVKİYAT
   ============================================================ */

#sevkiyat-panel{
  width:100% !important;
}

#sevkiyat-panel::before{
  content:"SEVKİYAT OPERASYONU";
  display:block;

  margin:0 0 7px;

  color:#159a8c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
}

#sevkiyat-panel::after{
  content:"Yükleme, sevkiyat ve teslimat adımlarını tek çalışma alanından yönetin.";
  display:block;

  margin:0 0 20px;

  color:#667085;
  font-size:13px;
  line-height:1.55;
}

#sevkiyat-panel > section,
#sevkiyat-panel > .warehouse-shipping-section,
#sevkiyat-panel > .panel-section,
#sevkiyat-panel > div{
  margin-bottom:16px;
}

#sevkiyat-panel section{
  padding:20px !important;

  border:1px solid #e2e8f0 !important;
  border-radius:16px !important;

  background:#fff !important;

  box-shadow:
    0 8px 22px rgba(15,23,42,.04) !important;
}

#sevkiyat-panel section h3{
  margin:0 0 14px !important;

  color:#172033 !important;
  font-size:17px !important;
  font-weight:800 !important;
}

#sevkiyat-panel section p{
  color:#667085 !important;
  line-height:1.55 !important;
}

#sevkiyat-panel table{
  border:1px solid #e4e9ef !important;
  border-radius:12px !important;
  overflow:hidden !important;
}

#sevkiyat-panel thead th{
  background:#f7f9fc !important;
  color:#667085 !important;

  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.05em !important;
}

#sevkiyat-panel tbody td{
  border-bottom:1px solid #edf1f5 !important;
  color:#344054 !important;
}

#sevkiyat-panel button[id*="create"],
#sevkiyat-panel button[id*="create"],
#sevkiyat-panel button[id*="start"],
#sevkiyat-panel button[id*="approve"],
#sevkiyat-panel button[id*="submit"]{
  border-color:transparent !important;
  background:#3157d5 !important;
  color:#fff !important;

  box-shadow:
    0 7px 16px rgba(49,87,213,.17) !important;
}


/* ============================================================
   SAYIM
   ============================================================ */

.warehouse-cycle-count-help,
.warehouse-cycle-count-safety{
  margin:0 0 18px !important;

  padding:13px 16px !important;

  border:1px solid #dfe7ef !important;
  border-radius:12px !important;

  background:#f8fbfd !important;
  color:#667085 !important;

  font-size:13px !important;
  line-height:1.55 !important;
}

.warehouse-cycle-count-grid{
  display:grid !important;

  grid-template-columns:repeat(2,minmax(0,1fr)) !important;

  gap:16px !important;
}

.warehouse-cycle-count-field{
  display:grid !important;
  gap:7px !important;
}

.warehouse-cycle-count-task-detail{
  margin-top:16px !important;

  padding:18px !important;

  border:1px solid #e1e7ee !important;
  border-radius:15px !important;

  background:#fff !important;

  box-shadow:
    0 7px 20px rgba(15,23,42,.035) !important;
}

.warehouse-cycle-count-task-detail dl{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
}

.warehouse-cycle-count-task-detail dt{
  color:#7a8799 !important;
  font-size:10px !important;
  font-weight:800 !important;
}

.warehouse-cycle-count-task-detail dd{
  color:#172033 !important;
  font-size:13px !important;
}

.warehouse-cycle-count-scan-grid{
  display:grid !important;

  grid-template-columns:repeat(2,minmax(0,1fr)) !important;

  gap:16px !important;
  margin-top:18px !important;
}

.warehouse-cycle-count-scan-step{
  display:grid !important;
  gap:9px !important;

  padding:18px !important;

  border:1px solid #e1e7ee !important;
  border-radius:15px !important;

  background:#fff !important;

  box-shadow:
    0 7px 20px rgba(15,23,42,.035) !important;
}

.warehouse-cycle-count-scan-step > small{
  color:#159a8c !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.12em !important;
}

.warehouse-cycle-count-scan-step strong{
  color:#172033 !important;
  font-size:15px !important;
  font-weight:800 !important;
}

.warehouse-cycle-count-match{
  margin-top:4px !important;

  padding:12px 13px !important;

  border:1px solid #e3e8ef !important;
  border-radius:10px !important;

  background:#f8fafc !important;
  color:#344054 !important;
}

.warehouse-cycle-count-verified{
  margin-top:18px !important;
  padding:17px !important;

  border:1px dashed #cfd8e3 !important;
  border-radius:14px !important;

  background:#fbfcfd !important;
  color:#475467 !important;
}

.warehouse-cycle-count-quantity,
.warehouse-cycle-count-recount,
.warehouse-cycle-count-recount-quantity,
.warehouse-cycle-count-management,
.warehouse-cycle-count-management-detail{
  margin-top:18px !important;
  padding:20px !important;

  border:1px solid #e2e8f0 !important;
  border-radius:16px !important;

  background:#fff !important;

  box-shadow:
    0 8px 22px rgba(15,23,42,.04) !important;
}

.warehouse-cycle-count-quantity{
  background:#f8fbfd !important;
}

.warehouse-cycle-count-quantity-heading,
.warehouse-cycle-count-recount-heading,
.warehouse-cycle-count-management-heading{
  display:flex !important;

  align-items:center !important;
  justify-content:space-between !important;

  gap:14px !important;
}

.warehouse-cycle-count-quantity-heading strong,
.warehouse-cycle-count-recount-heading strong,
.warehouse-cycle-count-management-heading strong{
  color:#172033 !important;
  font-size:17px !important;
  font-weight:800 !important;
}

.warehouse-cycle-count-quantity-grid{
  display:grid !important;

  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) !important;

  gap:16px !important;
}

.warehouse-cycle-count-summary{
  display:grid !important;

  grid-template-columns:repeat(3,minmax(0,1fr)) !important;

  gap:12px !important;
}

.warehouse-cycle-count-summary > div{
  padding:14px !important;

  border:1px solid #e3e8ef !important;
  border-radius:11px !important;

  background:#f8fafc !important;
}

.warehouse-cycle-count-summary small{
  color:#7a8799 !important;
  font-size:10px !important;
  font-weight:800 !important;
}

.warehouse-cycle-count-summary strong{
  color:#172033 !important;
  font-size:20px !important;
}

.warehouse-cycle-count-management-table-wrap{
  border:1px solid #e4e9ef !important;
  border-radius:12px !important;
  overflow:auto !important;
}

.warehouse-cycle-count-management-table{
  width:100% !important;
  border-collapse:collapse !important;
}

.warehouse-cycle-count-management-table th{
  padding:11px !important;
  background:#f7f9fc !important;
  color:#667085 !important;
  font-size:10px !important;
  font-weight:800 !important;
  text-align:left !important;
}

.warehouse-cycle-count-management-table td{
  padding:12px !important;
  border-top:1px solid #edf1f5 !important;
  color:#344054 !important;
}

.warehouse-cycle-count-management-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width:800px){

  .warehouse-packing-grid,
  .warehouse-packing-quantity-grid,
  .warehouse-packing-tracking-grid,
  .warehouse-cycle-count-grid,
  .warehouse-cycle-count-scan-grid,
  .warehouse-cycle-count-task-detail dl,
  .warehouse-cycle-count-summary,
  .warehouse-cycle-count-quantity-grid{
    grid-template-columns:1fr !important;
  }

  .warehouse-packing-actions,
  .warehouse-cycle-count-management-actions{
    flex-direction:column !important;
  }

  #paketleme button,
  #sevkiyat-panel button,
  #sayim button{
    width:100% !important;
  }

  #sevkiyat-panel section{
    padding:16px !important;
  }

  .warehouse-packing-create,
  .warehouse-packing-workspace,
  .warehouse-cycle-count-management{
    padding:17px !important;
  }
}
