* {
    font-family: 'Poppins';
}

.dataTables_length, .dataTables_info {
    margin-left: 20px;
}

.dataTables_filter, .dataTables_paginate {
    margin-right: 20px !important;
}

    .dataTables_paginate ul li a {
        font-size: 13px !important;
    }

table.dataTable tbody tr > .dtfc-fixed-left, table.dataTable tbody tr > .dtfc-fixed-right {
    z-index: 1;
    background-color: transparent !important;
}

/*.dataTables_scrollBody {
    height: 200px !important;
}*/


.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.sortable-table tbody tr {
    cursor: grab;
}

.sortable-table .sortable-chosen {
    background-color: transparent !important;
}

.sortable-table .sortable-ghost {
    background-color: transparent !important;
}

.handle {
}

    .handle::before {
    }

.btn-group-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start; /* Adjusts vertical alignment of buttons */
}

    .btn-group-flex .btn {
        flex: 0 0 auto; /* Prevents the buttons from stretching */
        margin-right: 5px;
        margin-bottom: 5px;
    }

.e-grid * {
    font-family: 'Poppins', sans-serif;
}

.e-grid .e-headertext {
    font-size: 12px !important; /* Adjust as per your preference */
}


/*select2*/
/*.select2-container,
.select2-dropdown,
.select2-search__field,
.select2-selection {
    font-family: 'Poppins', sans-serif;
}

.select2-container--bootstrap-5 .select2-selection--single {
    height: 30px !important;
}

.select2-container--bootstrap-5 .select2-selection {
    font-size: 14px !important;
    font-weight: normal !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    font-weight: normal !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: 14px;
}

    .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted) {
        color: #fff;
        background-color: gray;
    }

        .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected:hover, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted):hover {
            background-color: #0d6efd;
        }

    .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role="group"] .select2-results__group {
        color: #222425;
        font-size: 14px;
    }

.select2-container--disabled .select2-selection,
.select2-container--disabled .select2-selection__rendered,
.select2-container--disabled .select2-dropdown,
.select2-container--disabled .select2-search__field {
    background-color: #f1f1f1 !important;
}

.select2-results__option[aria-disabled="true"] {
    background-color: #f2f2f2;
}*/

.table {
    font-family: 'Poppins', sans-serif;
}

.form-control[readonly] {
    cursor: not-allowed; /* Indicate it's non-editable */
    opacity: 0.7;
}

.details-control::before {
    content: "+";
    display: block;
    cursor: pointer;
    vertical-align: middle !important;
    margin-top: 12px;
}

tr.shown .details-control::before {
    content: "-";
    vertical-align: middle !important;
}

/*#grid table.display thead {
    display: table-header-group;*/ /* Important for webkit */
/*}*/


/*#grid table.display thead {
    z-index: 1;
    position: relative;
}

#grid table.display thead,
#grid table.display th {
    display: table-header-group !important;
    display: table-cell !important;
    visibility: visible !important;
}
*/



#grid-body table {
    display: block;
}

    #grid-body table thead {
        /* display: block !important;*/
        height: 35px !important;
        background-color: red !important;
        color: black !important;
        padding: 10px 0 !important;
    }


    #grid-body table tbody {
        /* display: block !important;*/
    }

        #grid-body table tbody tr {
            width: 100% !important;
        }
/*#grid-body table thead tr {
            color: red !important;
        }

        #grid-body table thead th {*/
/* display: table-cell !important;*/
/*visibility: visible !important;
            color: white !important;
            font-weight: bold;
            vertical-align: middle;
        }


        #grid-body table tbody tr {
            display: block !important;
            width: 100% !important;
        }*/




/*table th:nth-child(1), table td:nth-child(1) {
    width: 100px;  Adjust as necessary 
}

table th:nth-child(2), table td:nth-child(2) {
    width: 150px;  Adjust as necessary 
}*/
/*table tbody {
    max-height: 300px;
    Adjust as necessary overflow-y: auto;
}*/

/* Define these styles in a CSS file */
.padding-level-1 {
    padding-left: 40px !important;
}

.padding-level-2 {
    padding-left: 60px !important;
}

.padding-level-3 {
    padding-left: 80px !important;
}

.padding-level-4 {
    padding-left: 100px !important;
}

.js-voucher {
    cursor: pointer;
}

.voucher-container .active {
    cursor: pointer;
}

.btn-outline-primary.active {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.swal2-container {
    font-family: 'Poppins';
}

.modal-header button.btn-circle {
    width: 2.0rem !important;
    height: 2.0rem !important;
}

.btn-transparent {
    background-color: transparent !important;
    border-color: transparent !important;
    text-align: left !important;
}

.card .card-header .toggle-icon {
    float: right;
}

/*#dropzone {
    border: 2px dashed gray;
    border-radius: 5px;
    background: white;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}*/

.position-abs {
    position: absolute !important;
}

.form-select:disabled {
    background-color: #f0e68c; /* Change this to your desired color */
    color: #6c757d; /* Change this to your desired text color */
}

/*.select2-container--bootstrap-5 .select2-selection--single.select2-selection--disabled {
    background-color: #f0e68c !important;*/ /* Change this to your desired color */
/*color: #6c757d !important;*/ /* Change this to your desired text color */
/*}*/

/*.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #6c757d !important;
}*/

/*.select2-container--bootstrap-5 .select2-selection--single {
    background-color: #f0e68c !important;
}*/

/*    .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b {
        border-color: #6c757d transparent transparent transparent !important;
    }*/

/* General option styling */
/*.select2-container--bootstrap-5 .select2-results__option {
    background-color: #fff;*/ /* Default background */
/*color: #212529;*/ /* Default text color */
/*}*/

/* Hover background for dropdown options */
/*.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #e9ecef;*/ /* Light gray hover background */
/*color: #212529;*/ /* Dark text on hover */
/*}*/

/* Selected option background */
/*.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"] {
    background-color: #007bff;*/ /* Bootstrap primary color for selected option */
/*color: #fff;*/ /* White text for selected option */
/*}

.select2-results__option--highlighted {
    background-color: #e9ecef !important;*/ /* Hover background */
/*color: #212529;*/ /* Hover text color */
/*}*/



/*.form-select {
    display: none !important;
}*/

.e-grid .e-content {
    min-height: 400px !important;
}

.details .e-content {
    min-height: auto !important;
}

.units .e-content {
    min-height: auto !important;
}

.addresses .e-content {
    min-height: auto !important;
}

.contactPersons .e-content {
    min-height: auto !important;
}

.ledger .e-content {
    min-height: auto !important;
}

.payments .e-content {
    min-height: auto !important;
}

.accordion-body .e-content {
    min-height: auto !important;
}

.duplicate-highlight {
    /*background-color: #f8d7da !important;*/ /* Light red */
    color: #721c24 !important; /* Dark red text */
    border: 2px solid #f5c6cb !important; /* Red border */
}

.tab-min-height {
    min-height: 500px !important;
}

@media (min-width: 768px) {
    .navbar-card-components {
        min-width: 28.8125rem;
    }
}

.no-border-tr {
    border: none !important;
    border-color: transparent !important;
}

.no-last-col-padding tr > *:last-child,
.no-last-col-padding td:last-child,
.no-last-col-padding th:last-child {
    padding-right: 5px !important;
}

.form-control:read-only {
    background-color: var(--falcon-gray-200);
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
}

    .form-control:read-only:hover {
        cursor: not-allowed;
    }

.cpe-0 {
    padding-right: 0 !important;
}

.l-h {
    display: none !important;
}

[data-bs-theme="dark"] .e-input-group {
    border-color: #344050 !important;
    background-color: #0b1727 !important;
    font-size: 0.875rem !important;
}


[data-bs-theme="dark"] .e-toolbar {
    /* Styles for nested elements in dark theme */
    border-color: #344050 !important;
    background-color: #232e3c !important;
}


/*[data-bs-theme="dark"] .e-gridheader {*/
/* Styles for nested elements in dark theme */
/*border-color: #344050 !important;
    background-color: #232e3c !important;
}*/


[data-bs-theme="dark"] .e-grid .e-headercell {
    background-color: #232e3c;
}

[data-bs-theme="dark"] .e-grid .e-detailheadercell {
    background-color: #232e3c;
}

[data-bs-theme="dark"] .e-table {
    /* Styles for nested elements in dark theme */
    border-color: #344050 !important;
    background-color: #121e2d !important;
}


.modal-medium {
    width: 50vw;
    max-width: none;
    height: 100%;
    margin: 0 auto;
}

.form-check-custom {
    margin-bottom: 0 !important;
}

    .form-check-custom .form-check-input {
        margin-top: .40em !important;
    }

    .form-check-custom .form-check-label {
        margin-bottom: 0 !important;
    }

#item-units-grid {
    max-width: 1000px !important;
    min-width: 1000px !important;
}

#item-variants-grid {
    max-width: 1000px !important;
    min-width: 1000px !important;
}

#item-variant-barcode-grid {
    max-width: 800px !important;
    min-width: 800px !important;
}

.select2-container {
   /* z-index: 1055 !important;*/
}

.select2-dropdown {
    z-index: 1060 !important;
}

.select2-results__option {
    font-size: 14px !important;
}

.select2-search__field {
    padding: .1875rem .75rem !important;
    font-size: 0.875rem !important;
}

/* Prevent content truncation and keep columns readable */
.soft-table th, .soft-table td {
    white-space: nowrap;
}

.e-table th, .e-table td {
    white-space: nowrap;
}

/*#items-grid {
    min-width: 1400px !important;
}*/

textarea.form-control-sm {
    min-height: 28px;
    resize: vertical !important;
}

.virtual-select {
    display: block !important;
}

.vscomp-ele {
    max-width: none !important;
}

.vscomp-dropbox-container {
    z-index: 9999999 !important;
}

.vscomp-wrapper {
    height: 30px !important;
}

.vscomp-toggle-button {
    height: 30px;
    border-radius: 3px;
}

.navbar-vertical .toggle-icon-wrapper {
    margin-right: 0.20rem !important;
}

.navbar-brand span {
    z-index: 9999999 !important;
    font-size: 18px;
    font-weight: normal !important;
}


.sidebar-content-relative {
    position: relative;
    min-height: 100vh;
}

.sidebar-bottom-sticky {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    width: 100%;
}

.sidebar-content-relative {
    position: relative;
    min-height: 100vh;
}

.sidebar-bcentra-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

    .sidebar-bcentra-link:hover {
        color: #0d6efd;
    }

.sidebar-bcentra-icon {
    font-size: 1.3rem;
}

.sidebar-bcentra-text {
    letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
    .sidebar-bottom-sticky {
        display: none !important;
    }
}

.text-b {
    color: #fd993b !important;
}

.text-centra {
    color: #0095e5 !important;
}

/* Borders */
.primary-border {
    border-left: 5px solid #0d6efd !important;
}

.secondary-border {
    border-left: 5px solid #6c757d !important;
}

.success-border {
    border-left: 5px solid #198754 !important;
}

.info-border {
    border-left: 5px solid #0dcaf0 !important;
}

.warning-border {
    border-left: 5px solid #ffc107 !important;
}

.danger-border {
    border-left: 5px solid #dc3545 !important;
}


.digital-watch {
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    border-radius: 25px;
    padding: 0.32rem 1.1rem 0.32rem 0.9rem;
    margin-right: 0.7rem;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.13), 0 1.5px 4px rgba(13, 110, 253, 0.08);
    font-family: 'Roboto Mono', monospace;
    font-size: 1.13rem;
    color: #f8f9fa;
    gap: 0.8rem;
    min-width: 320px;
    border: 1.5px solid #0d6efd33;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

    .digital-watch:hover {
        box-shadow: 0 6px 24px rgba(13, 110, 253, 0.18), 0 2px 8px rgba(44, 62, 80, 0.13);
        border-color: #0d6efd;
        background: linear-gradient(90deg, #283e51 0%, #485563 100%);
    }

    .digital-watch .fa-clock {
        font-size: 1.35rem;
        margin-right: 0.6rem;
        filter: drop-shadow(0 1px 2px #0d6efd33);
    }

#digital-watch-time {
    font-weight: bold;
    letter-spacing: 0.06em;
    font-size: 1.22rem;
    color: #fff;
    text-shadow: 0 1.5px 3px #00000033;
    margin-right: 0.5rem;
}

#digital-watch-date {
    font-size: 1.01rem;
    color: #b0b8c1;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px #00000022;
}

/*.digital-watch-icon {
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 60%, #6ea8fe 100%);
    border-radius: 50%;
    padding: 0.32rem;
    margin-right: 0.7rem;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.13);
    border: 2px solid #fff2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
}*/

/*.digital-watch:hover .digital-watch-icon {
    background: linear-gradient(135deg, #0a58ca 60%, #0d6efd 100%);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.18);
}*/


/* Analog Watch */
:root {
    --watch-size: 200px;
    --watch-bg: #ffffff;
    --watch-border: #e5e5e5;
    --tick-color: #333;
    --minute-tick: #bbb;
    --text-color: #111;
    --second-color: #ff3b30;
}

[data-bs-theme="dark"] {
    --watch-bg: #121212;
    --watch-border: #2c2c2c;
    --tick-color: #ddd;
    --minute-tick: #555;
    --text-color: #fff;
}



.modern-analog-watch {
    position: relative;
    width: var(--watch-size);
    height: var(--watch-size);
    border-radius: 50%;
    background: var(--watch-bg);
    border: 6px solid var(--watch-border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Hour ticks */
.modern-analog-tick {
    position: absolute;
    width: 3px;
    height: 12px;
    background: var(--tick-color);
    top: 8px;
    left: 50%;
    transform-origin: center calc(var(--watch-size) / 2 - 14px);
}

    /* Minute ticks */
    .modern-analog-tick.minute {
        width: 1.5px;
        height: 6px;
        background: var(--minute-tick);
    }

/* Numbers */
.modern-analog-number {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.n12 {
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.n3 {
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
}

.n6 {
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.n9 {
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
}

/* Hands */
.modern-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    border-radius: 6px;
}

    .modern-hand.hour {
        width: 4px;
        height: 45px;
        background: var(--text-color);
    }

    .modern-hand.minute {
        width: 3px;
        height: 65px;
        background: var(--text-color);
    }

    .modern-hand.second {
        width: 2px;
        height: 75px;
        background: var(--second-color);
    }

.modern-center-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--text-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Digital overlay */
.digital-overlay {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    font-size: 13px;
}

.weather-icon {
    height: 100px !important;
}

#weather-city {
    font-size: 20px !important;
    font-weight: 600;
    color: var(--text-color);
}

#DateRange_popup {
    z-index: 9999999 !important;
    left: 265px !important;
}

/* Charts */
.echart-highest-stock-sku, .echart-sales-trend, .echart-category-wise-sales, .echart-top-selling-item, .echart-purchase {
    min-height: 21.875rem;
}

.powerapp-dropdown-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    color: #6c757d;
    border: none;
    background: none !important;
}

    .powerapp-dropdown-btn:hover, .powerapp-dropdown-btn:focus {
        color: #6c757d;
        text-decoration: none;
    }


.powerapp-dropdown {
    position: relative;
}

.powerapp-dropdown-menu {
    min-width: 260px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    overflow: hidden;
    right: 0;
    left: auto;
}

    .powerapp-dropdown-menu .dropdown-item {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        transition: background 0.2s;
        border-bottom: 1px solid #f0f0f0;
    }

        .powerapp-dropdown-menu .dropdown-item:last-child,
        .powerapp-dropdown-menu .dropdown-divider {
            border-bottom: none;
        }

    .powerapp-dropdown-menu .dropdown-divider {
        margin: 0;
        border-top: 2px solid #e0e0e0;
    }

.powerapp-dropdown-btn {
    min-width: 312px !important;
    text-align: left !important;
}
.e-grid .e-detailcell .e-headertext {
    white-space:normal !important;
}