body {
    font-family: Arial, sans-serif;
}
#loadingIndicator {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Ensure it appears above other content */
}
.choices__inner{
    border-color: #ccc !important;
}

#product-rows .choices{
    width: 220px !important;
}

.invoice-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    background-color: #f9f9f9 !important;
}
.invoice-header {
    /* text-align: center !important; */
    margin-bottom: 20px !important;
}
.invoice-header img {
    max-width: 150px !important;
    margin-bottom: 10px !important;
}
.invoice-table th, .invoice-table td {
    padding: 14px !important;
    vertical-align: middle !important;
    margin: 0 auto !important;
}
.invoice-table thead {
    background-color: #f2f2f2 !important;
}
.invoice-footer {
    margin-top: 30px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #555 !important;
}
.terms {
    font-size: 12px !important;
    margin-top: 20px !important;
}
.authorized-signatory {
    text-align: right !important;
    margin-top: 50px !important;
    font-style: italic !important;
}
.btn-download {
    margin-top: 40px !important;
}

.invoice-table tfoot th{
    font-size: 13px !important;
    font-weight: bold !important;
}

.manual_design{
    padding: 5px 0px !important;
    width: 80px;
    height: 32px;
}

.upload-container {
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 400px;
    text-align: center;
}

.upload-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f8f8f8;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
}

.image-preview.empty {
    font-size: 16px;
    color: #aaa;
}

/* .btn {
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
} */

.btn-upload {
    background-color: #4CAF50;
    color: white;
    margin: 5px;
}

.btn-remove {
    background-color: #f44336;
    color: white;
    margin: 5px;
}

.btn:hover {
    opacity: 0.9;
}


/* .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: #f1f1f1;
}

.dropdown-menu.show {
    display: block;
} */

#searchResults {
    list-style-type: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;}

#searchResults li {
    display: flex !important;
    align-items: center !important;
    padding: 10px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #ddd !important;
}
#searchResults li:hover,
#searchResults li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}
.customer_dropdown {
    width: 300px;
  }
  .customer_dropdown input {
    width: 60%;
    padding: 7px;
    box-sizing: border-box;
  }
  .customer_dropdown ul {
    position: absolute;
    width:16%;
    max-height: 150px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    display: none;
  }
  .customer_dropdown ul li {
    padding: 10px;
    cursor: pointer;
  }
  .customer_dropdown ul li:hover,
  .customer_dropdown ul li.active {
    background: #f0f0f0;
  }

  .cust_dropdown {
    position: relative;
    width:300px;
    margin:20px auto;
}
.cust_dropdownn {
    position: relative;
    width:105%;
    margin:-2px auto;
}
.cust_dropdown-btn {
    width:100%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cust_dropdown-btn span {
    font-size: 12px;
    color: #999;
}

.cust_dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cust_dropdown-content.show {
    display: block;
}

.cust_dropdown-content input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.cust_dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cust_dropdown-content ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.cust_dropdown-content ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.cust_dropdown-content ul li:last-child {
    border-bottom: none;
}

.cust_dropdown-content ul li:hover,
.cust_dropdown-content ul li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}

.cust_no-results {
    text-align: center;
    color: #999;
    padding: 10px;
}
.bank_dropdown {
    position: relative;
    width: 300px;
    margin: 20px auto;
}

.bank_dropdown-btn {
    width: 80%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bank_dropdown-btn span {
    font-size: 12px;
    color: #999;
}

.bank_dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 80%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bank_dropdown-content.show {
    display: block;
}

.bank_dropdown-content input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.bank_dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bank_dropdown-content ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.bank_dropdown-content ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.bank_dropdown-content ul li:last-child {
    border-bottom: none;
}

.bank_dropdown-content ul li:hover,
.bank_dropdown-content ul li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}

.bank_no-results {
    text-align: center;
    color: #999;
    padding: 10px;
}
.state_dropdown {
    position: relative;
    width: 300px;
    margin: 20px auto;
}

.state_dropdown-btn {
    width: 80%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.state_dropdown-btn span {
    font-size: 12px;
    color: #999;
}

.state_dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 80%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.state_dropdown-content.show {
    display: block;
}

.state_dropdown-content input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.state_dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.state_dropdown-content ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.state_dropdown-content ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.state_dropdown-content ul li:last-child {
    border-bottom: none;
}

.state_dropdown-content ul li:hover,
.state_dropdown-content ul li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}

.state_no-results {
    text-align: center;
    color: #999;
    padding: 10px;
}

.item_dropdown {
    position: relative;
    width: 100%;
    margin: 0 0 0 0;
}

.item_dropdown-btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item_dropdown-btn span {
    font-size: 12px;
    color: #999;
}

.item_dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.item_dropdown-content.show {
    display: block;
}

.item_dropdown-content input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.item_dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.item_dropdown-content ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.item_dropdown-content ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.item_dropdown-content ul li:last-child {
    border-bottom: none;
}

.item_dropdown-content ul li:hover,
.item_dropdown-content ul li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}

.item_no-results {
    text-align: center;
    color: #999;
    padding: 10px;
}

/* tax design */

.tax_dropdown {
    position: relative;
    width: 100%;
    margin: 0 0 0 0;
}

.tax_dropdown-btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tax_dropdown-btn span {
    font-size: 12px;
    color: #999;
}

.tax_dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tax_dropdown-content.show {
    display: block;
}

.tax_dropdown-content input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.tax_dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tax_dropdown-content ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.tax_dropdown-content ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.tax_dropdown-content ul li:last-child {
    border-bottom: none;
}

.tax_dropdown-content ul li:hover,
.tax_dropdown-content ul li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}

.tax_no-results {
    text-align: center;
    color: #999;
    padding: 10px;
}




.cust_item_dropdown {
    position: relative;
    width: 300px;
    margin: 20px auto;
}

.cust_item_dropdown-btn {
    width: 80%;
    padding: 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cust_item_dropdown-btn span {
    font-size: 12px;
    color: #999;
}

.cust_item_dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 80%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cust_item_dropdown-content.show {
    display: block;
}

.cust_item_dropdown-content input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.cust_item_dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cust_item_dropdown-content ul li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.cust_item_dropdown-content ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.cust_item_dropdown-content ul li:last-child {
    border-bottom: none;
}

.cust_item_dropdown-content ul li:hover,
.cust_item_dropdown-content ul li.active {
    background-color: rgb(132, 90, 223);
    color: white;
}

.cust_item_no-results {
    text-align: center;
    color: #999;
    padding: 10px;
}

.cust_item_dropdown-options li.active {
    background-color: #861111;
    cursor: pointer;
}

/* invoice items design */

/* Dropdown container */
.dropdown-results {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 180px;
    z-index: 1000;
    background: #ffffff;
    margin-top: 5px;
    padding: 5px 0;
    list-style: none;
}

/* Dropdown item */
.dropdown-results li {
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Item with an icon or image (optional) */
.dropdown-results li img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Hover effect for items */
.dropdown-results li:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

/* Active/focused item (e.g., for keyboard navigation) */
.dropdown-results li.active {
    background-color: #007bff;
    color: white;
}

/* No results message */
.dropdown-results .no-results {
    padding: 10px 15px;
    font-style: italic;
    color: #888;
    text-align: center;
}

/* Scrollbar styling */
.dropdown-results::-webkit-scrollbar {
    width: 6px;
}

.dropdown-results::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 8px;
}

.dropdown-results::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}


/* Highlighting item */
.highlight {
    background-color: rgb(132, 90, 223);
    color: white; /* For better contrast */
    outline: none; /* Remove outline for more refined look */
}

.modal-content {
    max-height: 200%; /* or adjust this as per your design */
    overflow-y: auto;
}

.page-header-breadcrumb .breadcrumb-item+.breadcrumb-item:before{
    display: none !important;
}

#consignee_details {
    opacity: 1;
 }