/* all oreder page */

.breadcrumb-home {
  font-size: 14px;
  font-weight: 500;
  color: #9e9e9e !important;
  text-transform: capitalize;
}
.breadcrumb-current {
  font-size: 14px;
  font-weight: 500;
  color: #212529 !important;
  text-transform: capitalize;
}

.all-orders-page .all-orders-tiles-section {
  padding: 0px 0px 20px 10px;
}
.all-orders-page .all-orders-tiles {
  width: 190px;
}
.light-blue-bg {
  background: #e3f5ff;
}
.light-gray-bg {
  background: #e5ecf6;
}
.project-tab .nav-link.active.btn-lg {
  width: 250px !important;
}

.all-orders-page .tiles-spacing {
  padding: 15px 0px 0px 15px;
  border-radius: 16px;
}
.demo-content {
  width: 100px;
}

.all-orders-page p.tiles-heading {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 0.15rem;
}
.all-orders-page p.total-count-big {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
p.total-count-sx {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

/* table */
.badge-btn-fulfilled {
  background: #deffca;
  color: #149419;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}
.badge-btn-In-Progress {
  background: #ffa7a7;
  color: #d52f2f;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}

.badge-btn-peniding-request {
  background: #ffeaf8;
  color: #ff44bf;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}

.badge-btn-Delivered {
  background: #ac5bc08c;
  color: #a738c3eb;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}
.badge-btn-Picked {
  background: #eeffd2;
  color: #85ca13;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}
.badge-btn-Shipped {
  background: #ffeed8;
  color: #f79009;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}
.badge-btn-Packed {
  background: #ffeed8;
  color: #f79009;
  font-weight: 500;
  border-radius: 4px;
  padding: 5px 10px;
}
.prev {
  cursor: pointer;
  border-radius: 30px;
  padding: 8px 3px;
  border: 3px solid #56a8b0;
  color: #56a8b0;
  margin-right: 25px;
}
.page-info {
  cursor: pointer;
  border-radius: 30px;
  padding: 8px 3px;
  color: #56a8b0;
  margin-right: 25px;
}
.next {
  background: #56a8b0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  padding: 8px 15px;
  border: 3px solid #56a8b0;
  color: #fff;
}
.ctpage-textbox {
  font-size: 14px;
  font-weight: 500;
  color: #667085;
  width: 60px;
  padding: 10px 10px;
  border-radius: 15px;
  /* border: 1px solid #ccc; */
}

.pagination-section {
  font-family: "Arial", sans-serif;
}

.pagination-section .pt-4 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pagination-section img {
  width: 20px; /* Adjust the width as needed */
  height: 20px; /* Adjust the height as needed */
  margin: 0 8px; /* Adjust the margin as needed for consistent spacing */
  cursor: pointer;
}

.ctpage-textbox {
  width: 55px; /* Adjust the width as needed */
  text-align: center;
  margin: 0 8px; /* Adjust the margin as needed for consistent spacing */
}

.totalRecords {
  cursor: pointer;
  /* border-radius: 30px; */
  padding: 8px 3px;
  /* border: 3px solid #56A8B0; */
  color: #56a8b0;
  margin-right: 25px;
  width: 80px;
}

.use-configuration-add-edit {
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 25px;
}
.user-configuration-info-section {
  box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
  border-radius: 15px;
}
.user-configuration-info-section .column-space {
  padding: 10px 0 25px 15px !important;
}
.border-bottom {
  border-bottom: 1px solid #ccc !important;
}

/* overright */
/* .project-tab .nav-link {
    font-size: 20px !important;
    font-weight: 600;
    color: #7D7D7D;
    border: 1px solid #E1E1E1 !important;

} */

/*table overright */
/* .table.datatable th,.table.datatable td{
    font-size:14px !important;
    font-weight:500 !important;
    color:#48505E !important;    
}
.table.datatable th {
    border: 0px !important;
    color:#667085 !important;  
}
.user-company-section{
    padding: 30px 10px;
} */
.table.datatable th,
.table.datatable td {
  border: 0px !important;
}
/* .modal-body label {

    font-size: 16px !important;
    font-weight: 500 !important;   
} */
/* 
.modal {
    width: 100%;
} */
.text-box-border {
  border: 1px solid #d0d5dd !important;
  border-radius: 30px;
  padding: 8px;
}
.personal-data label,
.company-data label {
  margin-bottom: 0.5rem !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #48505e !important;
  width: 180px;
  padding: 10px 0px !important;
}
.personal-data label,
.company-data label ::placeholder {
  color: #858d9d;
  font-weight: 400;
  font-size: 13px;
}
.reset-pwd {
  font-size: 20px !important;
  font-weight: 500;
  letter-spacing: 1px;
  color: #7d7d7d;
}

.generate-pwd {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #6b6969 !important;
  letter-spacing: 1px !important;
}

.btn-blue-bg {
  background: #00aeef;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 30px;
  border: 1px solid #00aeef;
  color: #fff;
  border-radius: 20px;
  font-size: 15px;
}
.btn-blue-bg:hover {
  border-color: #dfdfdf !important;
  background: #fff !important;
  color: #454545 !important;
}

.btn-generate-password {
  background: #00c0e5;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 30px;
  border: 1px solid #00c0e5;
  color: #fff !important;
}
.next {
  background: #56a8b0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  padding: 8px 15px;
  border: 3px solid #56a8b0;
  color: #fff;
}
.prevSlow {
  cursor: pointer;
  border-radius: 30px;
  padding: 8px 3px;
  border: 3px solid #56a8b0;
  color: #56a8b0;
  margin-right: 25px;
  background: transparent;
}
.nextSlow {
  background: #56a8b0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  padding: 8px 15px;
  border: 3px solid #56a8b0;
  color: #fff;
}
.prev:disabled, .prevSlow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}
.next:disabled, .nextSlow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ccc;
  border-color: #ccc;
}
.btn-black-bg {
  background-image: linear-gradient(to right, #171717, #171717) !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  border-radius: 50px;
  padding: 4px 12px;
  border-radius: 51px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #fff;
  width: 129px;
  border: 1px solid #171717;
}
.btn-white-bg {
  background: #fff !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  border: 1px solid #d0d3d9 !important;
  border-radius: 50px;
  padding: 4px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #7d7d7d;
}

.customer-invoices-table-heading {
  font-size: 16px !important;
  font-weight: 600px;
  color: #48505e;
}

.fa {
  font-size: 16px;
}
.customer-credit-info-section {
  border-radius: 20px !important;
  border: 1px solid #ccc !important;
}

.close {
  float: right;
  position: relative;
  font-size: 20px;
  bottom: 20px;
  font-weight: 700;
  top: 10px;
  right: 10px;
  font-size: 25px;
  font-weight: 800;
  color: #000 !important;
}
.modal-footer {
  border: 0px !important;
}

.custom-modal {
  width: 100% !important;
}

.dot-red {
  height: 10px;
  width: 10px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  top: 0px !important;
  right: 15px !important;
}

.dot-red.dot-red-user-management {
  right: 150px !important;
}

.dot-red.dot-red-refunds {
  right: 195px !important;
}

.item-config-card-section .img-thumb {
  width: 55px !important;
}
.item-config-card-section p {
  font-size: 14px;
  font-weight: 600;
}

.panel {
  margin-bottom: 20px; /* Adjust the value as needed */
}

/* exapnd collapde */

.card-header .title {
  font-size: 17px;
  color: #000;
}
.card-header .accicon {
  float: right;
  font-size: 20px;
  width: 1.2em;
}
.card-header {
  cursor: pointer;
  border-bottom: none;
}
.card {
  border: 1px solid #ddd;
}
.card-body {
  border-top: 0px solid #ddd !important;
}

.card-header:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
}

.accordion > .card:not(:last-of-type) {
  /* border-bottom: 0; */
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 10px;
  border: 0px !important;
}
.accordion > .card {
  overflow: hidden;
}
.card {
  box-shadow: rgb(100 100 111 / 6%) 0px 7px 20px 20px;
  border-radius: 10px !important;
  border: 0px !important;
}

.accordion .card:not(:first-of-type):not(:last-of-type) {
  /* border-bottom: 0; */
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important ;
  border-bottom-right-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}
.item-config-sub-class-page table tr th {
  background: #fff !important;
}
.item-config-sub-class-page table tr td img {
  width: 40px !important;
}
/* exapnd collapde */
.text-box-gray-bg {
  background: #fafafa !important;
}
.border-radius8 {
  border-radius: 10px;
}
/* .userdetail-companydetail-table .userdetail-companydetail-label  {
    display: inline-block !important;
    margin-bottom: 0.5rem !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #48505E !important;
    width:180px;padding:10px 0px !important;

} */

.fw-700 {
  font-weight: 700 !important;
}

.item-config-sub-class-page .fa.fa-angle-down {
  font-size: 25px !important;
}

/* scroll bar */

.scrollbar {
  width: 700px;
  height: 250px;
  overflow-y: scroll;
  overflow-x: hidden;
  direction: rtl;
}
.scrollbar div {
  direction: ltr;
}
.force-overflow {
  min-height: 300px;
}

#style-3::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

#style-3::-webkit-scrollbar {
  width: 6px;
  background-color: #f5f5f5;
}

#style-3::-webkit-scrollbar-thumb {
  background-color: #ccc;
}

/* scroll bar */

.text-color-4C4C4C {
  color: #4c4c4c;
  font-size: 15px;
}
.fw-500 {
  font-weight: 500 !important;
}

.text-color-545454 {
  color: #545454;
  font-size: 16px;
}
.fw-600 {
  font-weight: 600 !important;
}

#upload-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.centered-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.project-tab .user-management-accept-new-request-table thead {
  background: #fff !important;
  border: 0px !important;
}
.project-tab .user-management-accept-new-request-table .td-padding {
  border: 0px !important;
}
table.accept-requests-view-user-management-pop-table th,
table.accept-requests-view-user-management-pop-table td {
  padding: 10px !important;
}
/* .accept-requests-view-user-management-pop-table td {
    border: 0px !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    padding:10px !important;
} */
/* .project-tab #tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-image: linear-gradient(#61B0B7 25%,  #35939B 50%) !important;
} */

/* invoics tabs */

/* Style the buttons inside the tab */
/* Style the tab */
.tab {
  overflow: hidden;
  border-bottom: 1px solid #ccc !important;
  background-color: #fff;
  font-size: 14px !important;
  font-weight: 600;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #fafafa;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #fff;
  border-bottom: 3px solid #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-bottom: 1px solid #ccc;
  border-top: none;
}

/* Override for sale order page - use class-based approach for better control */
/* High specificity rules to override any conflicts */
body #Details.tabcontent,
body #ShippingBillingTab.tabcontent,
body #NotifyTab.tabcontent {
  display: none !important;
}

body #Details.tabcontent.active,
body #ShippingBillingTab.tabcontent.active,
body #NotifyTab.tabcontent.active {
  display: block !important;
}

/* Also handle inline style overrides */
body #Details.tabcontent[style*="display: block"],
body #ShippingBillingTab.tabcontent[style*="display: block"],
body #NotifyTab.tabcontent[style*="display: block"] {
  display: block !important;
}

/****/
.width-adj {
  width: 100% !important;
  max-width: 350px !important;
}

.popupRound .form-control {
  border-radius: 5px !important;
  font-weight: bold;
}

.invalid {
  border-color: red !important;
}
.admin-user-config .tab button {
  font-weight: 700;
  font-size: 14px;
}

.align-right {
  text-align: right;
}

.left-aligned-content {
  text-align: left;
}
/*  exapnd collapse  */

/*  exapnd collapse  */

/* Hover disabled for inactive tabs - kept minimal */
.project-tab .nav-link:hover:not(.active) {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #519ea4;
}

.scrollbar table tr td img {
  width: 35px;
  border-radius: 10px;
}

.accordion .rotate-icon.down {
  transform: rotate(180deg) !important;
  transition: transform 0.3s ease;
}

.accordion .card-header:not(.collapsed) .rotate-icon {
  transform: rotate(0deg);
}

.PayHereBtn {
  position: absolute;
  right: 10px;
  background: linear-gradient(to right, #905094, #421b46);
}
.actionListicon {
  font-size: 22px;
  color: #552859;
  position: relative;
  top: 3px;
  left: 10px;
  cursor: pointer;
}

.all-orders-page .dropdown-item.active,
.all-orders-page .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff00;
}

button.Viewbtn.btn.btn-outline-info {
  border-color: #ccc;
  color: #595757;
  border-radius: 50px;
  padding: 3px 14px;
  font-size: 14px;
}

button.Viewbtn.btn.btn-outline-info:hover {
  color: #f2f2f2;
  background: linear-gradient(to right, #905094, #421b46);
}

span.newItem {
  color: #4eb776;
}

span.webItem {
  color: #cc4d29;
}

span.authorizedItem {
  color: #f79009;
  background-color: #fff4e6;
  padding: 2px 8px;
  border-radius: 4px;
}

.table .badge {
  font-weight: 600;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 13px;
  width: 115px;
}
.table thead th {
  font-size: 14px;
}
.table tbody td {
  font-size: 13px;
  font-weight: 500;
}

td.statusColum .badge {
  width: 95px;
}

.project-tab td.statusColum a,
.project-tab td.fulfillmentColm a {
  margin-bottom: 6px;
}

.dropdown-item:focus,
.dropdown-item:hover {
}
.badge-in-progress {
  color: #d52f2f !important;
  background-color: #ffa7a7;
}

.badge-order-on-hold {
  color: #ff44bf !important;
  background-color: #ffeaf8;
}

.badge-fulfilled {
  color: #149419 !important;
  background-color: #deffca;
}

.badge-packed {
  color: darkorange !important;
  background-color: #ffeed8;
}

.badge-picked {
  color: #85ca13 !important;
  background-color: #eeffd2;
}

.badge-shipped {
  color: #a738c3 !important;
  background-color: rgba(172, 91, 192, 0.56);
}

.badge-delivered {
  color: #12b76a !important;
  background-color: #e2fee5;
}

.dropdown-menu .dropdown-item {
  cursor: pointer;
}
.badge-returned {
  color: #318099 !important;
  background-color: #caf2ff;
}

.dropdown-menu.show {
  display: block;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  padding: 0px;
  border: 1px solid rgb(48 52 115 / 6%);
}

span.dropdown.show .dropdown-item {
  width: max-content;
  border-radius: 10px;
  margin: 5px;
}

button.updateProduct.btn.btn-primary {
  position: absolute;
  left: 10px;
  background: linear-gradient(90deg, #3e8d3f, #192f1b);
  color: white;
  border: none;
  padding: 5px 20px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}

.modal-header h6.modal-title,
.vendorSection h6 span {
  position: relative;
  border-bottom: none; /* Remove default border if any */
}

.modal-header h6.modal-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0px;
  width: 60%;
  border-bottom: 2px solid #2a71dc;
}

.vendorSection h6 span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0px;
  width: 100%;
  border-bottom: 2px solid #2a71dc;
}

/*VIEW PRODUCT FORM*/

#viewProductPopup span.action.btn.btn-outline {
  font-weight: 500;
  font-style: italic;
}
#viewProductPopup .popupRound.edit .form-control {
  pointer-events: none;
  border: none;
  border-bottom: 0px solid #cccccc00;
  border-radius: 0px !important;
  color: #62666d;
}

#viewProductPopup .popupRound.edit .form-group {
  margin-bottom: 0rem;
}

.popupRound.edit select.form-control,
select {
  background: none;
}

.select2-container--bootstrap
  .select2-selection--multiple
  .select2-selection__choice {
  color: #62666d;
  font-weight: bold;
}

#viewProductPopup .dropdown-menu.show {
  border: 1px solid rgb(22 121 201);
}
#viewProductPopup
  .popupRound.edit
  .select2-container--bootstrap
  .select2-selection {
  box-shadow: none;
  background-color: #fff;
  border: 0px solid #ccc;
  border-radius: 4px;
  color: #555;
  font-size: 14px;
  outline: 0;
  pointer-events: none;
}
#viewProductPopup
  .popupRound.edit
  .select2-container--bootstrap
  .select2-selection--multiple
  .select2-selection__choice {
  border: 0px solid #ccc;
  color: #62666d;
  font-weight: bold;
}

#viewProductPopup .popupRound.edit span.select2-selection__choice__remove {
  display: none;
}

button.updateCustomerDetails,
.saveCustomerDetails,
.addAdressDetails {
  background: linear-gradient(90deg, #3e8d3f, #192f1b);
  color: white;
  border: none;
  padding: 5px 20px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  margin-bottom: 30px;
}

.normalModeForm .text-box-gray-bg {
  border: 0px solid #d0d5dd !important;
  border-radius: 30px;
  pointer-events: none;
}
/* Add these styles to your custom.css file */

/* View button dropdown styles */
.btn-group .Viewbtn.dropdown-toggle {
  background-color: transparent;
  border: 1px solid #17a2b8;
  color: #17a2b8;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
}

.btn-group .Viewbtn.dropdown-toggle:hover,
.btn-group .Viewbtn.dropdown-toggle:focus {
  background-color: #17a2b8;
  color: white;
  border-color: #17a2b8;
}

.btn-group .Viewbtn.dropdown-toggle::after {
  margin-left: 0.5rem;
}

/* Dropdown menu styles for view button */
.btn-group .dropdown-menu {
  min-width: 140px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  z-index: 1000;
}

.btn-group .dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #495057;
  transition: all 0.2s ease-in-out;
}

.btn-group .dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #16181b;
}

.btn-group .dropdown-menu .dropdown-item i {
  margin-right: 0.5rem;
  width: 14px;
  text-align: center;
}

/* Badge styles for order types */
.webItem {
  /* background-color: #28a745; */
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  margin-left: 5px;
}

.newItem {
  /* background-color: #007bff; */
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  margin-left: 5px;
}

/* Ensure proper dropdown positioning */
.btn-group {
  position: relative;
}

/* Fix for Bootstrap dropdown toggle */
.btn-group .dropdown-toggle:focus {
  box-shadow: none;
}

.btn-group .dropdown-menu.show {
  display: block;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .btn-group .dropdown-menu {
    min-width: 120px;
  }

  .btn-group .dropdown-menu .dropdown-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .webItem,
  .newItem {
    font-size: 0.7rem;
    padding: 1px 4px;
  }
}

/* ===== DRAFT SPECIFIC STYLING ===== */
.draft-indicator {
  position: relative;
  z-index: 100;
}

.draft-indicator .alert {
  border-left: 4px solid #17a2b8;
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.draft-indicator .alert i {
  margin-right: 8px;
}

/* Draft badge styling */
.badge-draft {
  background-color: #ffc107;
  color: #212529;
}

.badge-warning {
  background-color: #ffc107;
  color: #212529;
}

/* Draft order row styling */
.draft-order-row {
  background-color: #fff3cd !important;
  border-left: 4px solid #ffc107;
}

.draft-order-row td {
  background-color: #fff3cd !important;
}

/* Edit Draft button styling */
.btn-outline-warning {
  color: #856404;
  border-color: #ffc107;
  background-color: transparent;
}

.btn-outline-warning:hover {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

/* Auto-save indicator */
.auto-save-indicator {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(40, 167, 69, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auto-save-indicator.show {
  opacity: 1;
}

/* Draft form modifications */
.draft-mode .form-control {
  border-color: #ffc107;
}

.draft-mode .form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Unsaved changes indicator */
.unsaved-changes::before {
  content: "● ";
  color: #dc3545;
  font-weight: bold;
}

/* Draft actions styling */
.draft-actions {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 15px;
  margin: 20px 0;
}

.draft-actions .btn {
  margin-right: 10px;
}

/* Loading states for draft operations */
.draft-saving {
  position: relative;
  color: transparent;
}

.draft-saving::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Draft list styling in all-orders.html */
.draft-filter-tab {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.draft-filter-tab.active {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
}

/* Responsive draft indicators */
@media (max-width: 768px) {
  .draft-indicator .alert {
    font-size: 12px;
    padding: 8px;
  }

  .auto-save-indicator {
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 6px 8px;
  }
}

/* Draft confirmation modal styling */
.draft-modal .modal-header {
  background-color: #fff3cd;
  border-bottom: 1px solid #ffc107;
}

.draft-modal .modal-title {
  color: #856404;
}

/* Progress indicator for draft completion */
.draft-progress {
  margin: 15px 0;
}

.draft-progress .progress {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.draft-progress .progress-bar {
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.draft-completion-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

/* Validation states for draft form */
.draft-mode .is-invalid {
  border-color: #dc3545;
}

.draft-mode .is-valid {
  border-color: #28a745;
}

/* Tab styling for draft management */
.nav-tabs .nav-link.draft-tab {
  color: #856404;
  border-color: transparent;
}

.nav-tabs .nav-link.draft-tab:hover {
  border-color: #ffc107 #ffc107 #ffc107;
  color: #856404;
}

.nav-tabs .nav-link.draft-tab.active {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffc107 #ffc107 #fff3cd;
}

/* Searchable Vendor Dropdown Styles */
.searchable-dropdown-wrapper {
    position: relative;
    width: 280px !important;
    max-width: 280px !important;
}

/* Arrow for vendor dropdown (matches location field) */
.searchable-dropdown-wrapper::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #6E6E6E;
    pointer-events: none;
}

/* When clear (×) is visible, hide dropdown arrow to prevent overlap */
.searchable-dropdown-wrapper.clear-visible::after {
    display: none !important;
}

/* Rotate arrow when dropdown is open */
.searchable-dropdown-wrapper.open::after {
    border-top: none;
    border-bottom: 6px solid #6E6E6E;
}

.vendor-search-input {
    border: 1px solid #D0D5DD !important;
    border-radius: 25px !important;
    padding: 8px 14px !important;
    padding-right: 14px !important;
    font-family: Inter !important;
    font-size: 16px !important;
    color: #858D9D !important;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
    height: 35px !important;
    background: white !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.vendor-search-input:focus {
    border-color: #D0D5DD !important;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
    outline: none !important;
}

/* Hide original vendor <select> before JS replaces it to avoid flicker */
.vendor-select {
    display: none !important;
}

/* Ensure vendor wrapper shows the same arrow as other searchable wrappers */
.vendor-dropdown-wrapper::after {
    display: block !important;
}

/* Remove dropdown arrow since we're using CSS background arrows like location field */

.vendor-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #D0D5DD;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    border-radius: 0;
    width: 100%;
}

.vendor-dropdown-item {
    padding: 8px 14px;
    cursor: pointer;
    font-family: Inter;
    font-size: 16px;
    color: #48505E;
    transition: background-color 0.2s ease;
}

.vendor-dropdown-item:hover,
.vendor-dropdown-item.highlighted {
    background-color: #f8f9fa !important;
    color: #1C1C1C;
}

/* Removed border-bottom rule as we no longer use borders between items */

.vendor-dropdown-item.no-results {
    color: #858D9D;
    font-style: italic;
    cursor: default;
}

.vendor-dropdown-item.no-results:hover {
    background-color: white !important;
    color: #858D9D !important;
}

/* Custom scrollbar for dropdown */
.vendor-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.vendor-dropdown-list::-webkit-scrollbar-track {
    background: white;
    border-radius: 4px;
}

.vendor-dropdown-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #61B0B7 0%, #1366D9 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.vendor-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4fa8b0 0%, #0d5bc7 100%);
    transform: scale(1.1);
}

/* Ensure the wrapper doesn't interfere with form layout */
.vendor-dropdown-wrapper .form-control {
    margin-bottom: 0;
}

/* Animation for dropdown */
.vendor-dropdown-list {
    animation: dropdownFadeIn 0.15s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .vendor-dropdown-list {
        max-height: 150px;
        width: 100%;
    }
    
    .vendor-dropdown-item {
        padding: 10px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .searchable-dropdown-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .vendor-search-input {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Ensure proper z-index stacking */
.vendor-dropdown-wrapper {
    z-index: 100;
}

.vendor-dropdown-list {
    z-index: 1000;
}

/* Loading state styles */
.vendor-search-input.loading {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="25" r="20" fill="none" stroke="%23ddd" stroke-width="2"/><circle cx="25" cy="25" r="20" fill="none" stroke="%23007bff" stroke-width="2" stroke-dasharray="31.416" stroke-dashoffset="31.416"><animate attributeName="stroke-dasharray" dur="2s" values="0 31.416;15.708 15.708;0 31.416" repeatCount="indefinite"/><animate attributeName="stroke-dashoffset" dur="2s" values="0;-15.708;-31.416" repeatCount="indefinite"/></circle></svg>');
    background-repeat: no-repeat;
    background-position: right 30px center;
    background-size: 16px 16px;
}

/* Disabled state */
.vendor-search-input:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Removed dropdown arrow disabled state as we now use CSS background arrows */

/* Error state */
.vendor-search-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Success state */
.vendor-search-input.success {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Arrow is now handled by CSS background gradients like location field */

/* Hide native selects that are enhanced to searchable dropdowns */
.location-select,
#shipToSelect,
#currencySelect,
#shippingCarrierSelect,
#termsSelect {
    display: none !important;
}

/* Narrow currency field */
.currency-wrapper {
    width: 80px !important;
    max-width: 80px !important;
}

.currency-wrapper .vendor-search-input {
    width: 100% !important;
    max-width: 100% !important;
}
<style>
/* Receive PO Vendor Dropdown Styling */
.receive-vendor-column {
    min-width: 360px;
}

.receive-vendor-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    min-width: 360px;
}

.receive-vendor-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    color: #1a1a1a;
    width: 100%;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

.receive-vendor-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.receive-vendor-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
}

.receive-vendor-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.receive-vendor-dropdown.show {
    display: block;
}

.receive-vendor-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
}

.receive-vendor-item:hover {
    background: #f8f9fa;
}

.receive-vendor-item.selected {
    background: #007bff;
    color: #fff;
}

/* Form group styling */
.receive-vendor-column .form-group {
    margin-bottom: 0;
}

.receive-vendor-column .form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Footer positioning styles - AdminLTE compatible */
.wrapper {
    min-height: 100vh;
}

.content-wrapper {
    min-height: calc(100vh - 120px); /* Adjust for navbar and footer */
}

.main-footer {
    position: relative;
    clear: both;
}
