
.navbar {
  padding:  0px;  
}  

.nav-item {
  padding-right: 20px; 
}

.navicon{
  font-size: 30px; 
  color: #5d5d5d;
}
.navicon:hover {
  color: #3079e7;
}
.navbrand{
  font-size: 20px; 
  color: #5d5d5d;
  margin-left: 20px;
} 

.nav-active{ 
  color: #3079e7;  
  background-color: #e0e0e0;
} 

.btn-po-message { 
    float: right;
    margin: 5px;
} 
 
.animated-text {
  display: flex;
  white-space: nowrap;
  transform: translateX(-100%); 
  animation: slide-in 1s forwards;  
  justify-content: center;
  color: #56B2CB;
}

@keyframes slide-in {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(0);
  }
}

.title-container {
  overflow: hidden;  
}

.close-title{
  margin: 20px;
  color: #56B2CB;
}

.close-title{
  margin: 20px;
  color: #56B2CB;
}

/*Status colors*/
.wait_applicable_judge{
  color: #ffffff !important;
  background-color: #ff7b2e !important;  
  border: 2px solid #ff7b2e;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.wait_approval{
  color: #ffffff !important;
  background-color: #ff1c1c !important;  
  border: 2px solid #ff1c1c;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.delivery_possible{
  color: #ffffff !important;
  background-color: #af0009 !important;  
  border: 2px solid #af0009;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.wait_invoice{
  color: #ffffff !important;
  background-color: #02b2d1 !important;  
  border: 2px solid #02b2d1;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.wait_invoice_issuances{
  color: #ffffff !important;
  background-color: #4e65ce !important;  
  border: 2px solid #4e65ce;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.wait_invoice_confirm{
  color: #ffffff !important;
  background-color: #0e448a !important;  
  border: 2px solid #0e448a;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.wait_invoice_sending{
  color: #ffffff !important;
  background-color: #152852 !important;  
  border: 2px solid #152852;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.completed{ 
  color: #ffffff !important;
  background-color: #2ba359 !important; 
  border: 2px solid #2ba359;
  font-size: medium;
  border-radius: 25px;
  font-weight: bold;

}

.cancelled {
  color: #ffffff !important;
  background-color: #6b8e23 !important;
  border: 2px solid #6b8e23;
  font-size: medium;
  border-radius: 25px;
}

.wait_pickup{
  color: #ffffff !important;
  background-color: #ff5100 !important;  
  border: 2px solid #ff5100;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.wait_inspection{
  color: #ffffff !important;
  background-color: #a42dd6 !important; 
  border: 2px solid #a42dd6;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.unpacked{
  color: #ffffff !important;
  background-color: #1354c5 !important;  
  border: 2px solid #1354c5;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}


.packing_completed{
  color: #ffffff !important;
  background-color: #512DA8 !important; 
  border: 2px solid #512DA8;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.wait_delivery{
  color: #ffffff !important;
  background-color: #642c2c !important;  
  border: 2px solid #642c2c;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;

}

.shipped{
  color: #ffffff !important;
  background-color: #2ba359 !important;  
  border: 2px solid #2ba359;
  font-size: medium;
  border-radius: 25px;
  font-weight: bold;
}

.round-corner-top-left{ 
  border-top-left-radius:10px; 
} 

.round-corner-top-right{  
  border-top-right-radius:10px;
} 

.purple{
  background-color: #5767dd !important;  
  color: #ffffff !important;
}

.ash-color{
  background-color: #424242 !important;  
  color: #ffffff !important;
}

th {
  cursor: pointer;
}

th.th-sort-asc::after {
  content: "\25b4";
}
th.th-sort-desc::after {
  content: "\25be";
}
th.th-sort-asc::after,
th.th-sort-desc::after {
  margin-left: 5px;
}
th.th-sort-asc,
th.th-sort-desc {
  background-color: #3242b8 !important;  
  color: #ffffff !important;
}

.unsaved-changes {
    border: 3px solid #ff9898 !important;
    background-color: #fff4f4 !important;
} 

.notification {
  position: fixed;
  bottom: 0px;
  left: 0px; 
  color: #ffffff;
  background-color:#ff4d4d;
  padding: 0px 5px 0px 5px; 
  z-index: 1000;
  font-size: 12px;
  opacity: 80%;
}

.bluewhite{
  background-color: #1384a0 !important;  
  color: #ffffff !important;
}

/* New sales status classes */
.wait_invoice_exw{
  color: #ffffff !important;
  background-color: #4e65ce !important;  
  border: 2px solid #4e65ce;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.wait_invoice_ddu{
  color: #ffffff !important;
  background-color: #3a4db3 !important;  
  border: 2px solid #3a4db3;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}


/* New delivery status classes */
.not_started{
  color: #ffffff !important;
  background-color: #808080 !important;  
  border: 2px solid #808080;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.pickup_in_progress{
  color: #ffffff !important;
  background-color: #ff7700 !important;  
  border: 2px solid #ff7700;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.inspection_done{
  color: #ffffff !important;
  background-color: #7b40d9 !important;  
  border: 2px solid #7b40d9;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.wait_prepack_confirmation{
  color: #ffffff !important;
  background-color: #1976d2 !important;  
  border: 2px solid #1976d2;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.packaged{
  color: #ffffff !important;
  background-color: #673ab7 !important;  
  border: 2px solid #673ab7;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

.wait_preshipment_confirmation{
  color: #ffffff !important;
  background-color: #795548 !important;
  border: 2px solid #795548;
  font-size: medium;
  border-radius: 25px;
  font-weight: normal;
}

/* ============================================================
   Modern OMS navbar
   ============================================================ */
.oms-navbar {
  --oms-bg: #ffffff;
  --oms-border: #e6e8ec;
  --oms-text: #2a2f3a;
  --oms-muted: #6b7280;
  --oms-primary: #3079e7;
  --oms-primary-soft: #e8f0fe;
  --oms-hover: #f3f5f9;
  background: var(--oms-bg);
  border-bottom: 1px solid var(--oms-border);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  z-index: 1030;
}
.oms-navbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}
.oms-navbar__collapse {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
}

/* Brand */
.oms-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.oms-brand__umbrella {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--oms-muted);
}
.oms-brand__umbrella:hover { color: var(--oms-text); }
.oms-brand__umbrella img { height: 26px; width: auto; }
.oms-brand__umbrella-text {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.oms-brand__divider {
  width: 1px;
  height: 22px;
  background: var(--oms-border);
}
.oms-brand__app {
  font-size: 18px;
  font-weight: 600;
  color: var(--oms-text);
  text-decoration: none;
  white-space: nowrap;
}
.oms-brand__app:hover { color: var(--oms-primary); }

/* Toggler */
.oms-navbar__toggler {
  margin-left: auto;
  border: 1px solid var(--oms-border);
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: var(--oms-text);
  display: none;
  align-items: center;
  justify-content: center;
}

/* Primary nav */
.oms-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}
.oms-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--oms-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.oms-nav__link i { font-size: 16px; }
.oms-nav__link:hover { background: var(--oms-hover); color: var(--oms-text); }
.oms-nav__link.is-active {
  background: var(--oms-primary-soft);
  color: var(--oms-primary);
}

/* Search */
.oms-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 420px;
  margin: 0 8px;
}
.oms-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--oms-muted);
  font-size: 14px;
  pointer-events: none;
}
.oms-search__input {
  width: 100%;
  height: 38px;
  padding: 6px 12px 6px 34px;
  background: #f5f7fa;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  color: var(--oms-text);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.oms-search__input::placeholder { color: #9aa0aa; }
.oms-search__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--oms-primary);
  box-shadow: 0 0 0 3px rgba(48, 121, 231, 0.15);
}

/* Actions cluster */
.oms-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Primary button */
.oms-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.oms-btn--primary {
  background: var(--oms-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(48, 121, 231, 0.25);
}
.oms-btn--primary:hover { background: #2563eb; color: #fff; }
.oms-btn--primary:active { transform: translateY(1px); }

/* Icon buttons */
.oms-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--oms-muted);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 18px;
  transition: background-color .15s ease, color .15s ease;
}
.oms-icon-btn:hover { background: var(--oms-hover); color: var(--oms-text); }
.oms-icon-btn.is-active { background: var(--oms-primary-soft); color: var(--oms-primary); }
.oms-icon-btn__label { display: none; }

/* Profile */
.oms-profile__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--oms-border);
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.oms-profile__toggle:hover { background: var(--oms-hover); border-color: #d3d7de; }
.oms-profile__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--oms-primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
}
.oms-profile__caret { font-size: 12px; color: var(--oms-muted); }
.oms-profile__menu {
  min-width: 240px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--oms-border);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}
.oms-profile__header {
  padding: 8px 12px 10px;
}
.oms-profile__name {
  font-weight: 600;
  color: var(--oms-text);
  font-size: 14px;
  line-height: 1.2;
}
.oms-profile__email {
  font-size: 12px;
  color: var(--oms-muted);
  margin-top: 2px;
  word-break: break-all;
}
.oms-profile__menu .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
}
.oms-profile__menu .dropdown-item:hover { background: var(--oms-hover); }

/* Responsive */
@media (max-width: 991.98px) {
  .oms-navbar__toggler { display: inline-flex; }
  .oms-navbar__collapse {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    padding: 12px 0 4px;
  }
  .oms-navbar__collapse:not(.show) { display: none; }
  .oms-nav {
    flex-direction: column;
    gap: 2px;
  }
  .oms-nav__link { padding: 10px 12px; border-radius: 8px; }
  .oms-search { max-width: none; margin: 0; }
  .oms-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .oms-btn--primary { flex: 1 1 auto; justify-content: center; }
  .oms-icon-btn {
    width: auto;
    padding: 8px 12px;
    border: 1px solid var(--oms-border);
  }
  .oms-icon-btn__label { display: inline; font-size: 14px; }
  .oms-profile { margin-left: auto; }
}