.dashbordmainaccsess .completed {
    background-color: #4caf50; /* Green for Completed */
}
.dashbordmainaccsess .ongoing {
    background-color: #2196f3; /* Light Blue for Ongoing */
}
.dashbordmainaccsess .supplier {
    background-color: #ff9800; /* Orange for Supplier Only */
}
.dashbordmainaccsess .pending {
    background-color: #e35805; /* Yellow for Pending */
}
.dashbordmainaccsess .product {
    background-color: #9c27b0; /* Purple for Product */
}
.dashbordmainaccsess .stock {
    background-color: #009688; /* Teal for Stock */
}

.dashbordmainaccsess .invoicetab {
    background-color: #f05798; /* Yellow for Pending */
}
.dashbordmainaccsess .quotation {
    background-color: #b9ab38; /* Purple for Product */
}
.dashbordmainaccsess .grn {
    background-color: #575151; /* Teal for Stock */
}
.dashbordmainaccsess .payment {
    background-color: #861f1f; /* Teal for Stock */
}
.table-responsive {
    margin-top: 0px;
}

.table th,
.table td {
    vertical-align: middle;
}

/* Styling for the "Add New Product" button */
.add-product-btn {
    margin-bottom: 20px;
}

/* Adjust modal size */
.modal-dialog {
    max-width: 600px;
}

/* Form field styles */
.form-control {
    margin-bottom: 15px;
}

table .form-control {
    margin-bottom: 0px;
}

/* Optional: Make the close button more visible */
.modal-footer .btn-secondary {
    background-color: #eb0028;
    border-color: #eb0028;
    color: #fff;
}

/* Change the background color of the "Submit" button to the user's preferred primary color */
.modal-footer .btn-primary {
    background-color: #00549d;
    border-color: #00549d;
}

/* Style the search input */
#searchInput {
    margin-bottom: 20px;
    max-width: 400px;
}

/* Center pagination */
.pagination {
    justify-content: center;
}
.btn-link {
    text-decoration: none;
    color: #00549d;
    font-weight: bold;
}
.btn-link:hover {
    text-decoration: underline;
}
.modal-footer {
    justify-content: space-between;
}
.primary-menu {
    display: none;
}
input[type="checkbox"] {
    width: 25px;
    height: 25px;
}
.table .file-column {
    width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table .file-column a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.form-check-label {
    font-weight: bold;
}

.product-select {
    display: none;
}

.form-section {
    margin-bottom: 15px;
}

.expenses-table {
    margin-top: 30px;
    border-collapse: collapse;
    width: 100%;
}

.expenses-table th,
.expenses-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.expenses-table th {
    background-color: #f1f3f5; /* Header background color */
    color: #333;
    font-weight: 600;
}

.date-group {
    background-color: #ebf5ff; /* Light blue for date grouping */
    font-weight: bold;
    font-size: 1.1rem;
    color: #00549d; /* Text color */
}
.date-group td {
    background: #faa;
}
.text-right {
    text-align: right !important;
}
#expensesTableBody .bx.bx-edit {
    font-size: 18px;
    color: #0db308;
}
.completed .bx.bx-edit {
    display: none;
}

.quo-content {
    background: #b4e9b8;
    padding: 25px;
    width: 100%;
    max-width: 1150px;
}

.quotation-container {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 30px auto;
    max-width: 900px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.quotation-header,
.quotation-footer {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
    padding-top: 30px;
}
.quotation-footer {
    border-top: 1px solid #ccc;
    border-bottom: none;
    margin-top: 20px;
}
.quotation-header h2,
.quotation-header p {
    margin: 0;
}
.quotation-table th,
.quotation-table td {
    vertical-align: middle;
    padding: 12px;
    text-align: center;
}
.quotation-table th {
    background-color: #f9f9f9;
}
.quotation-table tfoot tr td {
    font-weight: bold;
}
.img-preview {
    width: 80px;
    height: auto;
}
.terms-section {
    padding: 10px;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #f8f9fa;
}
.terms-section {
    border: none;
    background-color: #ffffff;
}
.terms-list {
    padding-left: 20px;
}
.terms-list li {
    margin-bottom: 5px;
}
.q_a {
    color: #519c06;
    font-weight: bold;
}
.s_q {
    color: #e64242;
    font-weight: bold;
}
.loginlogo {
    max-width: 60%;
  border-radius:
5px;
}
.product-table th,
.product-table td {
    vertical-align: middle;
}
.product-table img {
    max-width: 50px;
    height: auto;
}
.productsec .form-section,
.grnsec .form-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #fff;
}
.form-section h5 {
    margin-bottom: 15px;
}
.img-preview {
    max-width: 100px;
    margin-top: 10px;
    margin-right: 10px;
}
.table th,
.table td {
    vertical-align: middle;
}
.add-icon {
    cursor: pointer;
    margin-left: 10px;
}
.img-upload-area {
    border: 2px dashed #ddd;
    padding: 30px 15px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.img-upload-area.dragover {
    background-color: #e9e9e9;
}
.img-preview-container {
    display: flex;
    flex-wrap: wrap;
}
.form-label {
    display: inline-block;
    width: 150px; /* Adjust as needed */
}
/* Container to align the select dropdown and plus icon */
.size-select-container {
    display: flex; /* Use flexbox to align items in a row */
    align-items: center; /* Center items vertically */
    gap: 5px; /* Add space between dropdown and icon */
}

/* Style for the select dropdown */
.size-select {
    width: 150px; /* Fixed width for uniformity */
    padding: 5px 10px; /* Add some padding for better look */
    border-radius: 4px; /* Rounded corners */
    border: 1px solid #ccc; /* Light border */
    background-color: #fff; /* Background color */
    appearance: none; /* Remove default dropdown appearance */
}

/* Style for the plus icon */
.add-icon {
    font-size: 20px;
    color: #f89e12;
    cursor: pointer;
    transition: color 0.3s;
    border: 2px solid #f89e12;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    padding: 0px 0px 0px 4px;
}

/* Change color on hover */
.add-icon:hover {
    color: #0056b3;
}
.align_ico {
    position: absolute;
    margin-top: -5px;
}
#addVariantBtn {
    margin-top: 0px;
    width: 158px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.grn-list-table {
    margin-top: 20px;
}
.grn-list-table th,
.grn-list-table td {
    vertical-align: middle;
    text-align: center;
}
.add-grn-btn {
    float: right;
    margin-bottom: 20px;
}
.view-details {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
} /* Custom Tooltip Styles */
.custom-tooltip {
    position: absolute;
    background-color: #00549d; /* Tooltip background color */
    color: #ffffff; /* Tooltip text color */
    font-weight: bold;
    padding: 8px;
    border-radius: 4px;
    z-index: 1000;
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* Ignore mouse events */
}

.show-tooltip {
    visibility: visible; /* Show tooltip */
    opacity: 1;
}

.table-container {
    position: relative;
    margin-top: 50px;
}

.tooltip-arrow {
    position: absolute;
    bottom: -5px; /* Align arrow at the bottom */
    left: 50%;
    margin-left: -5px; /* Center arrow horizontally */
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #00549d; /* Arrow color matches tooltip background */
}
.noboarder {
    border: 0;
}
.loginlogo {
    max-width: 60%;
    border-radius:
  5px;
    margin-top: 80px;
  }
/* Default mobile styles (applies to all screens) */
.loginlogo {
    margin-top: 0px;
}

/* Desktop styles (applies only to screens wider than 768px) */
@media (min-width: 768px) {
    .loginlogo {
        margin-top: 80px;
    }
}
