/* ============================================================
   PACKING DEPARTMENT - PREMIUM ERP THEME
   Teal primary (#108082), consistent with QC / Dispatch pages
============================================================ */

:root {
  --primary: #108082;
  --primary-dark: #0d6668;
  --primary-light: #e6f4f4;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-lt: #dcfce7;
  --amber: #d97706;
  --amber-lt: #fffbeb;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-lt: #fef2f2;
  --red-mid: #fca5a5;
  --blue: #2563eb;
  --blue-lt: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #f4f7fb;
  color: var(--gray-900);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 100vh;
}

.main-content { padding: 25px; }

/* ============================================================
   TOPBAR
============================================================ */

.topbar, .premium-topbar {
  background: #fff;
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.topbar-left { display: flex; align-items: center; gap: 16px; }

.page-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}

.topbar-left h1 {
  font-size: 22px; font-weight: 800;
  color: var(--primary); letter-spacing: .3px;
}

.topbar-left p { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ============================================================
   SECTION CARD
============================================================ */

.section-card, .premium-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 12px;
}

.section-head h2 {
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 8px; color: var(--gray-900);
}
.section-head h2 i { color: var(--primary); }
.section-head p { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ============================================================
   FILTER BAR
============================================================ */

.filter-bar, .premium-filter {
  display: flex; gap: 12px; margin-bottom: 20px;
  flex-wrap: wrap; align-items: center;
}

.search-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 9px 14px; flex: 1; min-width: 220px;
  transition: border-color .15s, box-shadow .15s;
}
.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,128,130,.12);
}
.search-box i { color: var(--gray-400); flex-shrink: 0; }
.search-box input {
  border: none; background: transparent; outline: none;
  font-size: 14px; width: 100%; color: var(--gray-900); font-family: inherit;
}
.search-box input::placeholder { color: var(--gray-400); }

/* ============================================================
   TABLE
============================================================ */

.table-wrap, .premium-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

table, .premium-table {
  width: 100%; border-collapse: collapse;
  min-width: 1000px; font-size: 13.5px;
}

thead th {
  background: var(--gray-50);
  color: var(--gray-500);
  font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 13px 12px; text-align: left;
  border-bottom: 1.5px solid var(--gray-200);
  white-space: nowrap;
}

tbody td {
  padding: 12px; border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700); vertical-align: middle;
}

tbody tr:hover { background: var(--primary-light); }
tbody tr:last-child td { border-bottom: none; }

.empty-table {
  text-align: center; padding: 36px;
  color: var(--gray-400); font-size: 14px;
}

/* ============================================================
   BADGES
============================================================ */

.badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}

.badge-success  { background: var(--green-lt); color: var(--green-dark); }
.badge-info     { background: var(--blue-lt);  color: var(--blue); }
.badge-pending  { background: var(--gray-100); color: var(--gray-600); }
.badge-warning  { background: var(--amber-lt); color: var(--amber); }

/* Payment badges */
.payment-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.payment-badge.received { background: var(--green-lt); color: var(--green-dark); border: 1px solid #86efac; }
.payment-badge.partial  { background: var(--red-lt);   color: var(--red);        border: 1px solid var(--red-mid); }

/* Request type badges */
.special-request-wrap { position: relative; display: inline-block; }

.special-request-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 20px;
  background: #fff7ed; color: #c2410c;
  border: 1px solid #fdba74;
  font-size: 12px; font-weight: 700; cursor: help; white-space: nowrap;
}

.normal-order-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 20px;
  background: #e0f2fe; color: #075985;
  border: 1px solid #7dd3fc;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}

.special-request-tooltip {
  position: absolute; bottom: 130%; left: 50%;
  transform: translateX(-50%);
  min-width: 240px; background: #fff;
  border: 1px solid #fdba74; border-radius: var(--radius-sm);
  padding: 12px; box-shadow: 0 10px 25px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 9999; text-align: left; pointer-events: none;
}
.special-request-wrap:hover .special-request-tooltip { opacity: 1; visibility: visible; }
.special-request-tooltip-title {
  font-size: 11px; font-weight: 700; color: #c2410c;
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 5px;
}
.special-request-tooltip-text { font-size: 13px; font-weight: 600; color: var(--gray-700); line-height: 1.5; }

/* ============================================================
   BUTTONS
============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13px;
  transition: background .15s, transform .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn.primary   { background: var(--primary); color: #fff; }
.btn.primary:hover   { background: var(--primary-dark); }
.btn.success   { background: var(--green);   color: #fff; }
.btn.success:hover   { background: var(--green-dark); }
.btn.secondary { background: var(--gray-100); color: var(--gray-700); }
.btn.secondary:hover { background: var(--gray-200); }
.btn.danger    { background: var(--red);     color: #fff; }
.btn.danger:hover    { background: var(--red-dark); }

.action-buttons { display: flex; gap: 8px; flex-wrap: nowrap; }

/* ============================================================
   PACKING MODAL
============================================================ */

.order-modal {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.52);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 16px;
}
.order-modal.show { display: flex; }

.order-modal-box, .packing-modal-box {
  width: 100%; max-width: 560px;
  background: #fff; border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from { opacity:0; transform: translateY(16px) scale(.98); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

.modal-head, .packing-modal-head {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
}
.modal-head h2, .packing-modal-head h2 {
  font-size: 19px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
}
.modal-head p, .packing-modal-head p { font-size: 13px; opacity: .85; margin-top: 4px; }

.modal-close {
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.modal-close:hover { background: rgba(255,255,255,.32); }

/* Modal grid */
.modal-grid, .packing-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px; padding: 22px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12.5px; font-weight: 700;
  color: var(--gray-600); text-transform: uppercase;
  letter-spacing: .4px; display: flex; align-items: center; gap: 7px;
}
.field label i { color: var(--primary); }

.field input {
  padding: 10px 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  background: var(--gray-50); outline: none; color: var(--gray-900);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(16,128,130,.12);
}
.field input:disabled { background: var(--gray-100); color: var(--gray-500); cursor: not-allowed; }

/* Packing status badge */
.status-badge {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 13.5px; min-height: 40px;
  background: var(--primary-light); border: 1.5px solid var(--primary); color: var(--primary);
}
.status-badge.status-success { background: var(--green-lt); border-color: #86efac; color: var(--green-dark); }
.status-badge.status-info    { background: var(--blue-lt);  border-color: #93c5fd; color: var(--blue); }
.status-badge.status-pending { background: var(--gray-100); border-color: var(--gray-300); color: var(--gray-600); }

/* Modal sticky footer */
.modal-footer, .packing-footer {
  padding: 16px 22px; border-top: 1.5px solid var(--gray-100);
  display: flex; justify-content: flex-end; gap: 10px;
  background: #fff;
}

/* ============================================================
   PASSWORD + STATUS POPUPS
============================================================ */

.custom-popup {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.52);
  backdrop-filter: blur(5px);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; padding: 16px;
}
.custom-popup.show { display: flex; }

.popup-box {
  width: 100%; max-width: 400px;
  background: #fff; border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
  animation: modalIn .22s ease;
}

.popup-title {
  display: flex; align-items: center; gap: 10px;
}
.popup-title h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin: 0; }
.popup-title i  { color: var(--primary); font-size: 18px; }

.popup-box input {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; outline: none;
  background: var(--gray-50); transition: .15s;
}
.popup-box input:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(16,128,130,.12);
}

.popup-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* Status popup */
.status-popup {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.48);
  backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
  z-index: 100000; padding: 16px;
}
.status-popup.show { display: flex; }

.status-box {
  width: 100%; max-width: 340px;
  background: #fff; border-radius: 18px;
  padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg); animation: modalIn .22s ease;
}

.status-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-lt); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}

.status-text { font-size: 15px; font-weight: 700; color: var(--gray-900); line-height: 1.4; }

/* ============================================================
   FOOTER
============================================================ */

.footer { text-align: center; padding: 22px 0; color: var(--gray-500); font-size: 13px; }

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

@media (max-width: 768px) {
  .main-content { padding: 14px; }
  .topbar, .premium-topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .filter-bar, .premium-filter { flex-direction: column; }
  .search-box { min-width: 100%; }
  .modal-grid, .packing-modal-grid { grid-template-columns: 1fr; }
  .action-buttons { flex-direction: column; }
  .popup-actions { flex-direction: column; }
  .popup-actions .btn { width: 100%; }
}
/* =========================
   PACKING FILTER BAR FINAL
========================= */

.pack-filter-bar {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.8fr)
        minmax(140px, 0.8fr)
        minmax(140px, 0.8fr)
        minmax(150px, 0.9fr)
        minmax(170px, 1fr)
        minmax(170px, 1fr)
        minmax(145px, 0.8fr)
        minmax(145px, 0.8fr)
        minmax(120px, 0.6fr)
        minmax(120px, 0.6fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.pack-filter-bar .search-box {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
}

.pack-filter-bar .search-box i {
    color: #64748b;
    font-size: 14px;
}

.pack-filter-bar .search-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 650;
    color: #0f172a;
}

.pack-filter-bar select,
.pack-filter-bar > input[type="date"] {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 650;
    outline: none;
}

.pack-filter-bar select:focus,
.pack-filter-bar > input[type="date"]:focus,
.pack-filter-bar .search-box:focus-within {
    border-color: #108082;
    box-shadow: 0 0 0 3px rgba(16, 128, 130, 0.12);
}

.pack-filter-bar .btn {
    width: 100%;
    height: 42px;
    border-radius: 11px;
}

/* =========================
   PACKING TABLE CLEAN WIDTH
========================= */

.premium-table {
    min-width: 1550px;
    table-layout: fixed;
}

.premium-table th:nth-child(1),
.premium-table td:nth-child(1) {
    width: 145px;
}

.premium-table th:nth-child(2),
.premium-table td:nth-child(2) {
    width: 125px;
}

.premium-table th:nth-child(3),
.premium-table td:nth-child(3) {
    width: 220px;
    white-space: normal;
    line-height: 1.35;
}

.premium-table th:nth-child(4),
.premium-table td:nth-child(4) {
    width: 120px;
}

.premium-table th:nth-child(5),
.premium-table td:nth-child(5) {
    width: 120px;
}

.premium-table th:nth-child(6),
.premium-table td:nth-child(6) {
    width: 145px;
}

.premium-table th:nth-child(7),
.premium-table td:nth-child(7) {
    width: 145px;
}

.premium-table th:nth-child(8),
.premium-table td:nth-child(8) {
    width: 165px;
}

.premium-table th:nth-child(9),
.premium-table td:nth-child(9) {
    width: 140px;
}

.premium-table th:nth-child(10),
.premium-table td:nth-child(10) {
    width: 170px;
}

.premium-table th:nth-child(11),
.premium-table td:nth-child(11) {
    width: 190px;
}

/* =========================
   BADGES
========================= */

.payment-badge,
.normal-order-badge,
.special-request-badge,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    min-width: 110px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.payment-badge.received {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.payment-badge.partial {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.normal-order-badge {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #7dd3fc;
}

.special-request-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.badge-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.badge-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.badge-pending,
.badge.pending {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.payment-pending-row td {
    background: #fffafa;
}

.payment-pending-row:hover td {
    background: #fff5f5;
}

/* =========================
   SPECIAL REQUEST TOOLTIP
========================= */

.special-request-wrap {
    position: relative;
    display: inline-block;
}

.special-request-tooltip {
    position: absolute;
    left: 50%;
    bottom: 130%;
    transform: translateX(-50%);
    width: 260px;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #fdba74;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    pointer-events: none;
}

.special-request-wrap:hover .special-request-tooltip {
    opacity: 1;
    visibility: visible;
}

.special-request-tooltip-title {
    color: #c2410c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.special-request-tooltip-text {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

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

@media (max-width: 1500px) {
    .pack-filter-bar {
        grid-template-columns: repeat(5, 1fr);
    }

    .pack-filter-bar .search-box {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .pack-filter-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .pack-filter-bar .search-box {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .pack-filter-bar {
        grid-template-columns: 1fr;
    }

    .pack-filter-bar .search-box {
        grid-column: span 1;
    }

    .pack-filter-bar .btn {
        width: 100%;
    }
}
/* ============================================================
   PACKING PAGE - CLEAN FONT + SOFT DESIGN OVERRIDE
   Paste this at the END of pack.css
============================================================ */

/* Global font smoothing */
body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 400 !important;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Topbar softer */
.topbar-left h1,
.topbar h1 {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
}

.topbar-left p,
.topbar p {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
}

.page-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
}

/* Section heading softer */
.section-head h2 {
    font-size: 17px !important;
    font-weight: 650 !important;
    letter-spacing: -0.1px !important;
}

.section-head p {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
}

/* Filter inputs normal weight */
.search-box input,
.pack-filter-bar select,
.pack-filter-bar > input[type="date"] {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
}

.search-box input::placeholder {
    font-weight: 500 !important;
    color: #94a3b8 !important;
}

.pack-filter-bar {
    gap: 11px !important;
}

.pack-filter-bar .search-box,
.pack-filter-bar select,
.pack-filter-bar > input[type="date"] {
    height: 41px !important;
    border-radius: 10px !important;
    border-color: #cbd5e1 !important;
}

/* Buttons less bold */
.btn {
    font-size: 13px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.pack-filter-bar .btn {
    height: 41px !important;
    border-radius: 10px !important;
}

.action-buttons .btn {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
    padding: 0 13px !important;
}

/* Table header less bold and cleaner */
thead th,
.premium-table thead th {
    font-size: 11px !important;
    font-weight: 650 !important;
    letter-spacing: 0.03em !important;
    color: #475569 !important;
    background: #f8fafc !important;
    padding: 13px 12px !important;
}

/* Table body softer */
tbody td,
.premium-table tbody td {
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #1e293b !important;
    padding: 13px 12px !important;
}

/* Order ID only medium bold */
tbody td:first-child,
.premium-table tbody td:first-child {
    font-weight: 650 !important;
    color: #0f172a !important;
}

/* Customer name readable, not heavy */
.premium-table td:nth-child(3) {
    font-weight: 450 !important;
    line-height: 1.35 !important;
}

/* Sales order no normal */
.premium-table td:nth-child(6) {
    font-weight: 450 !important;
}

/* Badges softer */
.payment-badge,
.normal-order-badge,
.special-request-badge,
.badge {
    font-size: 12px !important;
    font-weight: 650 !important;
    min-width: auto !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
}

/* Make payment badges fixed but not bulky */
.payment-badge {
    min-width: 108px !important;
}

.normal-order-badge,
.special-request-badge {
    min-width: 118px !important;
}

.badge {
    min-width: 116px !important;
}

/* Row background softer for partial payment */
.payment-pending-row td {
    background: #fffafa !important;
}

.payment-pending-row:hover td {
    background: #fff5f5 !important;
}

/* Normal hover soft */
tbody tr:hover td,
.premium-table tbody tr:hover td {
    background: #f8fbfb !important;
}

/* Table width balance */
.premium-table {
    min-width: 1500px !important;
}

.premium-table th:nth-child(1),
.premium-table td:nth-child(1) {
    width: 145px !important;
}

.premium-table th:nth-child(2),
.premium-table td:nth-child(2) {
    width: 125px !important;
}

.premium-table th:nth-child(3),
.premium-table td:nth-child(3) {
    width: 230px !important;
}

.premium-table th:nth-child(4),
.premium-table td:nth-child(4) {
    width: 120px !important;
}

.premium-table th:nth-child(5),
.premium-table td:nth-child(5) {
    width: 115px !important;
}

.premium-table th:nth-child(6),
.premium-table td:nth-child(6) {
    width: 145px !important;
}

.premium-table th:nth-child(7),
.premium-table td:nth-child(7) {
    width: 145px !important;
}

.premium-table th:nth-child(8),
.premium-table td:nth-child(8) {
    width: 165px !important;
}

.premium-table th:nth-child(9),
.premium-table td:nth-child(9) {
    width: 140px !important;
}

.premium-table th:nth-child(10),
.premium-table td:nth-child(10) {
    width: 165px !important;
}

.premium-table th:nth-child(11),
.premium-table td:nth-child(11) {
    width: 180px !important;
}

/* Modal font clean */
.modal-head h2,
.packing-modal-head h2 {
    font-size: 19px !important;
    font-weight: 700 !important;
}

.modal-head p,
.packing-modal-head p {
    font-size: 13px !important;
    font-weight: 400 !important;
}

.field label {
    font-size: 12px !important;
    font-weight: 650 !important;
}

.field input {
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

.status-badge {
    font-size: 13px !important;
    font-weight: 650 !important;
}

/* Popup text clean */
.popup-title h3 {
    font-size: 17px !important;
    font-weight: 650 !important;
}

.popup-box input {
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

.status-text {
    font-size: 15px !important;
    font-weight: 650 !important;
}

/* Footer softer */
.footer {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
}
.status-badge.status-warning,
.badge-warning {
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fcd34d !important;
}
.premium-table th:nth-child(10),
.premium-table td:nth-child(10) {
    width: 140px !important;
}

.badge-warning {
    max-width: 110px !important;
    min-width: 105px !important;
    padding: 6px 10px !important;
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fcd34d !important;
    overflow: hidden;
    white-space: nowrap;
}