 /* *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */
/* body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
} */

select {
    width: 300px;
    /* padding: 5px; */
    font-size: 16px;
}
.searchBox {
    margin-bottom: 10px;
    padding: 5px;
    width: 290px;
    font-size: 16px;
}
.locationDropdown {
    max-width: 160px !important;
    width: 160px !important;
}
.select2-selection__clear {
    display: none !important;
}
[contenteditable="false"] {
    pointer-events: none;  
}
[contenteditable="true"] {
    min-width: 30px;
    border: 1px solid #ccc; /* Optional styling for visibility */
    padding: 5px;          /* Optional padding for better appearance */
}
.header-section {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #343a40;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.header-section h1 {
    font-size: 2em;
    color: #ffc107;
    margin-bottom: 5px;
}
#filePreview img, #filePreview iframe, #filePreview object {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
}
.header-section p {
    font-size: 1em;
    color: #ced4da;
}
/* .container {
    width: 100%;
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1;
} */
.left-tab, .right-tab {
    padding: 20px;
}
.left-tab {
    width: 50%;
    border-right: 1px solid #ddd;
}
.right-tab {
    width: 50%;
    overflow-y: auto;
}
h2 {
    font-size: 1.8em;
    color: #12192C;
    margin-bottom: 15px;
}
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}
.slider-nav {
    display: flex;
    gap: 10px;
    /* margin-top: 15px; */
}
button {
    padding: 10px 20px;
    background: #12192C;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}
button:hover {
    background: #0056b3;
}
#fileInput {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-size: 1em;
}
.loading-message {
    color: #007bff;
    font-style: italic;
    display: none;
    margin-top: 10px;
    text-align: center;
}
.invoice-info div {
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #eee;
}
.invoice-info strong {
    display: inline-block;
    width: 150px;
    color: #555;
}
.line-items {
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
}
.line-items h3 {
    color: #12192C;
    margin-bottom: 10px;
}
table {
    width: 100%;
    /* margin-top: 15px; */
    border-collapse: collapse;
    /* min-width: 1200px; */
}
th, td {
    border: 1px solid #ddd !important;
    color: #000 !important;
    padding: 10px !important;
    text-align: left !important;
    font-weight: bold !important;
}
td {
    padding: 10px;
    /* border: 1px solid #ddd;
    background-color: #f9f9f9; */
} 
.error-message {
    color: #dc3545;
    margin-top: 10px;
    display: none;
    text-align: center;
}
.invoice-info div:first-child {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}
#invoiceType {
    color: #12192C;
    font-weight: bold;
}
.invoice-type-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #12192C;
    color: white;
    font-size: 0.9em;
    margin-left: 10px;
}

.header-content {
    position: relative;
}


.logout-btn {
    position: absolute;
    top: 20px;
    right: 20px;
}

.logout-button {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: #c82333;
}

.edit-input {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #12192C;
    border-radius: 4px;
    display: none;
}

.info-field {
    transition: all 0.3s ease;
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
}

.info-field strong {
    width: 150px;
    flex-shrink: 0;
}

.edit-button, .save-button {
    margin-bottom: 15px;
    padding: 8px 16px;
} 
.info-field.hidden {
    display: none;
}

.non-corporate {
    transition: all 0.3s ease;
}
.info-field.disabled {
    opacity: 0.7;
    pointer-events: none;
}
#lineItemsTable th, 
#lineItemsTable td {
    transition: all 0.3s ease;
}

#lineItemsTable th.hidden,
#lineItemsTable td.hidden {
    display: none;
}
/* MY CUSTOM STYLE */
body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
   
    /* margin-bottom: 30px; */
}

.upload-section {
    border: 2px dashed #12192C;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #e9ecef;
    cursor: pointer;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00C9A7;
    --bs-btn-border-color: #00C9A7;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00C9A7;
    --bs-btn-hover-border-color: #00C9A7;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00C9A7;
    --bs-btn-active-border-color: #00C9A7;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #00C9A7;
    --bs-btn-disabled-border-color: #00C9A7;
}

.upload-section:hover {
    background-color: #d4e6fc;
}

.file-preview {
    /* background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px; */
    min-height: 400px;
    overflow-y: auto;
}

.extracted-info {
    margin-left: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
    overflow-y: auto;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.file-box {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: white;
    text-align: center;
    width: 100%;
    max-width: 150px;
}

.file-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.file-box iframe {
    width: 100%;
    height: 100px;
}

.remove-file {
    /* position: absolute; */
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: white;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    background: #ff0000;
    padding-top: 2px;
}

.process-btn,
.send-btn {
    border-radius: 50px;
    padding: 10px 30px;
}

.section-heading {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #12192C;
    display: inline-block;
}

.column-section {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-label {
    font-weight: bold;
}

footer {
    background-color: #12192C;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

footer img {
    height: 30px;
    margin-right: 10px;
    
    margin-top: 30px;
}
.brand-logo img {
    max-height: 80px; left: 0 !important;
    position: relative !important;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: #fff;
    background-color: #12192C;
    padding: 15px;
}

.header-left {
    flex: 1;
}

.logo img {
    height: 70px;
    cursor: pointer;
}

.header-center {
    flex: 2;
    text-align: center;
}

.app-title {
    font-size: 1.5rem;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    /* background-color: #007bff; */
    /* color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease; */
}

.btn:hover {
    /* background-color: #0056b3; */
}

body {
    font-family: Arial, sans-serif;
    font-size: 12px; /* Smaller font size */
    /* margin: 20px; */
    background-color: #ffffff;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.filter-input,
.filter-dropdown,
.filter-button {
    padding: 5px;
    font-size: 12px; /* Smaller font size for inputs */
}
#clearFilters{
    
    padding: 5px;
    font-size: 12px; /* Smaller font size for inputs */
}

.filter-input {
    width: 150px;
}

.filter-dropdown {
    width: 160px;
}

.filter-button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.filter-button:hover {
    background-color: #0056b3;
}

table {
    font-size: 12px; /* Smaller font size for table */
}

.dataTables_wrapper .dataTables_paginate {
    font-size: 12px;
}

.dataTables_wrapper .dataTables_length select {
    font-size: 12px;
}

.action-buttons button {
    font-size: 11px;
    padding: 3px 6px;
    margin-right: 5px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

.btn-review {
    background-color: #b4b2b2;
    color: #444444;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-review:hover {
    background-color: #ffffff;
}

.btn-delete:hover {
    background-color: #1e293b;
}

.pagination li, .pagination li:active, .pagination li:hover {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: unset !important;
    border: 0 !important;
}
.dataTables_length, .dataTables_length label {
    width: 100% !important;
}
.dataTables_wrapper .dataTables_length select{
    width: 80px !important;
    display: inline-block !important;
    
    margin-bottom: 20px;
}
.filters-container {
    background: #F1F1F1;
    padding: 20px;
}
.filter-input, .filter-dropdown {
    height: 26px !important;
}
.filters-container label {
    display: block;
}
#downloadBtn {
    display: none; /* Hidden by default */
    text-decoration: none;
    margin-top: 10px;
    cursor: pointer;
}

#downloadBtn:hover {
    opacity: 0.9;
}

.corporate-view .part-number,
.corporate-view .additional-fees {
    display: none;
}

.always-show {
    display: table-cell !important;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* max-width: 900px; */
    width: 100%;
    justify-content: center;
    align-self: center;
    padding: 25px 10px;
}

.tile {
    background: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.dashboard h3 {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    font-family: sans-serif;
    text-align: left;
    color: white;
    margin-bottom: 1rem;
}

.dashboard p {
    font-size: 44px;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
}

.pending { background: #3498db; color: white; }
.posted { background: #2ecc71; color: white; }
.corporate { background: #9b59b6; color: white; }
.ro { background: #e67e22; color: white; }

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard {
        grid-template-columns: repeat(1, 1fr);
    }
}


#OneUpCommandBar {
    display: none !important;
}
/* body {
    font-family: Arial, sans-serif;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
} */

.upload-container {
    margin: auto;
    width: 100%;
    max-width: 400px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.upload-container.dragover {
    border-color: #007bff;
    background-color: #f1f7ff;
}

.upload-container h3 {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.upload-list {
    margin: 10px 0 0;
    list-style: none;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
}

.upload-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 5px;
    font-size: 14px;
}

.upload-list li span {
    word-break: break-all;
    max-width: 75%;
}

.upload-list li button {
    background: #e74c3c;
    border: none;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.upload-list li button:hover {
    background: #c0392b;
}

.hidden-input {
    display: none;
}
.process-btn {
    width: auto;
    margin: auto;
    display: block;
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    /* width: 100%; */
}

.process-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}
.modal-content {
    height: 95%;
    max-height: 95%;
    /* overflow: auto; */
}

.pdf-preview {
    border: 1px solid #ddd;
    height: 500px;
}

.data-table {
    border: 1px solid #ddd;
    padding: 15px;
    overflow-y: auto;
    max-height: 500px;
}
@media (min-width: 1200px) {
    .modal-xl {
        --bs-modal-width: 90%;
    }
}
/* #dataModal {
    overflow: hidden !important;
} */
.select2-dropdown {
    z-index: 9999 !important;
}
.select2-container {
    z-index: 1050 !important; /* Adjust based on your modal's z-index */
}

.dataTables_length {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sortDropdownLabel {
    text-align: right;
}
.sortDropdownLabel select{
    width: 150px !important;
}

.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-btn {
    background-color: #fff;
    color: #333;
    padding: 10px 16px;
    font-size: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
  }

  .dropdown-content a, .dropdown-content button {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    background-color: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
  }

  .dropdown-content a:hover, .dropdown-content button:hover {
    background-color: #f0f0f0;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }