/**
 * FOUC Prevention for Select2 dropdowns
 * Hide native select elements in filter containers until Select2 initializes
 * This prevents the "flash of unstyled content" where all options are visible
 *
 * Using display: none for maximum effectiveness - completely removes elements from rendering
 * Once Select2 initializes, it creates its own .select2-container element
 * which becomes visible, providing a seamless transition.
 */
/* Hide all selects in filter containers until Select2 initializes */
.filter_value_container select:not(.select2-hidden-accessible) {
    display: none !important;
}

/* Ensure the container maintains proper layout while select is hidden */
.filter_value_container {
    min-height: 38px;
    position: relative;
}

/* Additional rule for multiple selects - higher specificity */
div.filter_value_container > select.form-control[multiple]:not(.select2-hidden-accessible),
.filter_value_container select[multiple]:not(.select2-hidden-accessible) {
    display: none !important;
}

/* Loading placeholder shown before Select2 initializes (modern browsers with :has() support) */
@supports selector(:has(*)) {
    .filter_value_container:has(select):not(:has(.select2-container))::before {
        content: "";
        display: block;
        height: 36px;
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading-shimmer 1.5s infinite;
        border-radius: 0.25rem;
    }

    @keyframes loading-shimmer {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
}

body{
	color:#000000;
    background-color: rgb(245, 247, 248);
}

.form-container {
    max-width: 1472px;
    margin: auto;
    width: 100%;
}

.krajee-default.file-preview-frame .kv-file-content,
.krajee-default.file-preview-frame .kv-file-content iframe {
    width: 150px !important;
    height: 100px !important;
}

.card {
    /*box-shadow: 0 0 30px 0 rgb(200 200 200 / 20%);*/
    box-shadow: 0 0 30px 0 #CECECE;
}

.xp-leftbar {
    box-shadow: 0 0 30px 0 rgba(200, 200, 200, 0.4);
}

.card-body-save {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0px;
    font-size: 17px;
}

.card-header {
    padding-bottom: 0.6rem;
}

.card-header-no-border {
    border-top: 0px;
    border-bottom: 0px;
}

.card-header-top-border {
    border-top: 1px solid #D4DDE3;
    border-bottom: 0px;
}

.card-header-top-border:first-child {
    border-radius: unset;
}

.card-header-bottom-border {
    border-bottom: 1px solid #D4DDE3;
    border-top: 0;
}

.card-header-bottom-border:first-child {
    border-radius: unset;
}

.table-no-up-border thead th {
    border-top: 0px;
}

.table-up-border thead th {
    border-top: 2px solid #dee2e6 !important;
}

.dataTables_filter LABEL {
    float: right;
}

table.dataTable thead>tr>th.sorting {
    padding-right: 26px !important;
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after {
    content: '';
    display: none;
}

table.dataTable thead>tr>th.sorting.sorting_desc:after {
    display: block;
    opacity: .6;
    content: "▼";
    content: "▼" /""
}

table.dataTable thead>tr>th.sorting.sorting_desc:before {
    display: block;
    content: "▲";
    content: "▲" /""
}

table.dataTable thead>tr>th.sorting.sorting_asc:before {
    display: block;
    opacity: .6;
    content: "▲";
    content: "▲" /""
}

table.dataTable thead>tr>th.sorting.sorting_asc:after {
    display: block;
    content: "▼";
    content: "▼" /""
}

.dataTables_length LABEL {
    width: 75px;
}

.form-control {
    border: 1px solid #ced4da;
}

@supports (-webkit-backdrop-filter: blur(1px)) {
    INPUT[type=text].form-control {
        line-height: 2 !important;
    }
}

INPUT[type=text].form-control {
    line-height: 3;
}

.dataTables_info {
    display: inline-block;
    padding-right: 15px;
}

.dataTables_paginate {
    display: inline-block;
}

.page_bold {
    font-weight: bold;
}

.dataTable,
.table-striped {
    color: #000000;
}

.dataTable tbody tr:hover,
.table-striped tbody tr:hover {
    background-color: #e6f1ff !important;
}

.table-striped tbody tr {
    background-color: #fff !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
}

.add_new_input input.form-control,
.add_new_input select.form-control {
    width: 100%;
    display: inline;
}

.dropzone {
    min-height: 60px;
}

.dropzone .dz-message {
    margin: 0;
}

.warninglist {
    color: #CC5600;
    background-color: #FFF1E8;
    position: relative;
    padding: .5rem .5rem;
    margin-bottom: 1rem;
    list-style-type: none;
    margin-top: 5px;
}

.errorlist {
    position: relative;
    padding: .5rem .5rem;
    margin-bottom: 1rem;
    list-style-type: none;
    margin-top: 5px;
}

.errorlist LI {
    color: #C6272C;
}

.table thead th {
    vertical-align: top;
}

.add-row {
    width: 200px;
}

.dynamic-form-add td {
    text-align: left;
}

.dynamic-form-add td .add-row {
    display: inline;
}

.add-row-container .add-row {
    display: inline;
}

.table thead th {
    color: #000;
    font-weight: 700;
}

.text_black_bold,
.text_black_bold INPUT.form-control {
    color: #000;
    font-weight: bold;
}

.select2-container .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000;
}

.form-control {
    color: #000;
}

.custom-form-set .delete-button,
#tbl_order_items .delete-button,
#tbl_order_items .delete-button-equipment,
#tbl_fiscal_bill_items .delete-button,
#tbl_items .delete-button,
#tbl_offer_items .delete-button,
#tbl_offer_items .delete-button-equipment,
#tbl_child_products .delete-button,
#tbl_delivery_note_items .delete-button,
#tbl_provider_order_items .delete-button,
#tbl_order_ticket_items .delete-button,
#tbl_receipt_note_items .delete-button,
#tbl_opportunity_items .delete-button,
#tbl_opportunity_items .delete-button-equipment,
#tbl_provider_orders .delete-button,
#total_vat_container .delete-button,
.inventory-table .delete-button,
.formset-table-delete-icon .delete-button {
    background-color: #ff4b5b;
    border: none !important;
    border-radius: 50% !important;
    width: 35px;
    height: 35px;
    display: block;
    text-align: center;
    line-height: 35px;
    color: #fff;
}

#id_order_details {
    height: 100px;
}

.invoice-details,
.delivery-details {
    height: 100px !important;
}

.checkbox-margin-top {
    margin-top: 10px;
}

.display-inline-block {
    display: inline-block;
}

.display-inline-flex {
    display: inline-flex;
}

.select2-selection__clear {
    width: 15px;
}

.hidden {
    display: none;
}

.show_hide_icon {
    font-size: 16px;
}

#tbl_order_items .btn-info {
    cursor: default !important;
}

#tbl_order_items .treeviewbutton {
    width: 30px;
    padding: 0px;
}

#tbl_order_items tr.row1:hover,
#tbl_order_items tr.row2:hover,
#tbl_offer_items tr.row1:hover,
#tbl_offer_items tr.row2:hover,
#tbl_opportunity_items tr.row1:hover,
#tbl_opportunity_items tr.row2:hover {
    background-color: #e6f1ff;
}

.btn-preluare {
    color: #ffffff;
    background-color: #5D1A76;
    border-color: #5D1A76;
    box-shadow: 0 2px 6px 0 rgba(93, 26, 118, 0.5);
}

.btn-preluare:active {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-preluare:hover {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-preluare:focus {
    background-color: #5D1A76;
    border-color: #5D1A76;
    box-shadow: 0 0 0 0.2rem rgba(93, 26, 118, 0.5);
}

.btn-preluare:visited {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-preluare:not(:disabled):not(.disabled).active {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-preluare:not(:disabled):not(.disabled):active {
    background-color: #5D1A76;
    border-color: #5D1A76;
}


.btn-preluat {
    color: #ffffff;
    background-color: #D77B29;
    border-color: #D77B29;
    box-shadow: 0 2px 6px 0 rgba(215, 123, 41, 0.5);
}

.btn-preluat:active {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-preluat:hover {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-preluat:focus {
    background-color: #D77B29;
    border-color: #D77B29;
    box-shadow: 0 0 0 0.2rem rgba(215, 123, 41, 0.5);
}

.btn-preluat:visited {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-preluat:not(:disabled):not(.disabled).active {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-preluat:not(:disabled):not(.disabled):active {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-noaction {
    padding-top: 9px;
    color: #ffffff;
    background-color: #898A8A;
    border-color: #898A8A;
    box-shadow: 0 2px 6px 0 rgba(137, 138, 138, 0.5);
}

.btn-noaction:active {
    background-color: #898A8A;
    border-color: #898A8A;
}

.btn-noaction:hover {
    background-color: #898A8A;
    border-color: #898A8A;
}

.btn-noaction:focus {
    background-color: #898A8A;
    border-color: #898A8A;
    box-shadow: 0 0 0 0.2rem rgba(137, 138, 138, 0.5);
}

.btn-noaction:visited {
    background-color: #898A8A;
    border-color: #898A8A;
}

.btn-noaction:not(:disabled):not(.disabled).active {
    background-color: #898A8A;
    border-color: #898A8A;
}

.btn-noaction:not(:disabled):not(.disabled):active {
    background-color: #898A8A;
    border-color: #898A8A;
}


.btn-intarziere {
    color: #ffffff;
    background-color: #C6272C;
    border-color: #C6272C;
    box-shadow: 0 2px 6px 0 rgba(198, 39, 44, 0.5);
}

.btn-intarziere:active {
    background-color: #C6272C;
    border-color: #C6272C;
}

.btn-intarziere:hover {
    background-color: #C6272C;
    border-color: #C6272C;
}

.btn-intarziere:focus {
    background-color: #C6272C;
    border-color: #C6272C;
    box-shadow: 0 0 0 0.2rem rgba(198, 39, 44, 0.5);
}

.btn-intarziere:visited {
    background-color: #C6272C;
    border-color: #C6272C;
}

.btn-intarziere:not(:disabled):not(.disabled).active {
    background-color: #C6272C;
    border-color: #C6272C;
}

.btn-intarziere:not(:disabled):not(.disabled):active {
    background-color: #C6272C;
    border-color: #C6272C;
}

.btn-faraintarziere {
    color: #ffffff;
    background-color: #5D1A76;
    border-color: #5D1A76;
    box-shadow: 0 2px 6px 0 rgba(93, 26, 118, 0.5);
}

.btn-faraintarziere:active {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-faraintarziere:hover {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-faraintarziere:focus {
    background-color: #5D1A76;
    border-color: #5D1A76;
    box-shadow: 0 0 0 0.2rem rgba(93, 26, 118, 0.5);
}

.btn-faraintarziere:visited {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-faraintarziere:not(:disabled):not(.disabled).active {
    background-color: #5D1A76;
    border-color: #5D1A76;
}

.btn-faraintarziere:not(:disabled):not(.disabled):active {
    background-color: #5D1A76;
    border-color: #5D1A76;
}


.btn-faraintarziere-inlucru {
    color: #ffffff;
    background-color: #D77B29;
    border-color: #D77B29;
    box-shadow: 0 2px 6px 0 rgb(215 123 41 / 50%);
}

.btn-faraintarziere-inlucru:active {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-faraintarziere-inlucru:hover {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-faraintarziere-inlucru:focus {
    background-color: #D77B29;
    border-color: #D77B29;
    box-shadow: 0 0 0 0.2rem rgb(215 123 41 / 50%);
}

.btn-faraintarziere-inlucru:visited {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-faraintarziere-inlucru:not(:disabled):not(.disabled).active {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-faraintarziere-inlucru:not(:disabled):not(.disabled):active {
    background-color: #D77B29;
    border-color: #D77B29;
}

.btn-finalizat {
    color: #ffffff;
    background-color: #00A1E2;
    border-color: #00A1E2;
    box-shadow: 0 2px 6px 0 rgba(0, 161, 226, 0.5);
}

.btn-finalizat:active {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-finalizat:hover {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-finalizat:focus {
    background-color: #00A1E2;
    border-color: #00A1E2;
    box-shadow: 0 0 0 0.2rem rgba(0, 161, 226, 0.5);
}

.btn-finalizat:visited {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-finalizat:not(:disabled):not(.disabled).active {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-finalizat:not(:disabled):not(.disabled):active {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-pause {
    color: #ffffff;
    background-color: #F7CE45;
    border-color: #F7CE45;
    box-shadow: 0 2px 6px 0 rgba(247, 206, 69, 0.5);
}

.btn-pause:active {
    background-color: #F7CE45;
    border-color: #F7CE45;
}

.btn-pause:hover {
    background-color: #F7CE45;
    border-color: #F7CE45;
}

.btn-pause:focus {
    background-color: #F7CE45;
    border-color: #F7CE45;
    box-shadow: 0 0 0 0.2rem rgba(247, 206, 69, 0.5);
}

.btn-pause:visited {
    background-color: #F7CE45;
    border-color: #F7CE45;
}

.btn-pause:not(:disabled):not(.disabled).active {
    background-color: #F7CE45;
    border-color: #F7CE45;
}

.btn-pause:not(:disabled):not(.disabled):active {
    background-color: #F7CE45;
    border-color: #F7CE45;
}


.btn-expandorder {
    color: #ffffff;
    background-color: #00A1E2;
    border-color: #00A1E2;
    box-shadow: 0 2px 6px 0 rgba(76, 124, 243, 0.5);
}

.btn-expandorder:active {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-expandorder:hover {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-expandorder:focus {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-expandorder:visited {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-expandorder:not(:disabled):not(.disabled).active {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.btn-expandorder:not(:disabled):not(.disabled):active {
    background-color: #00A1E2;
    border-color: #00A1E2;
}

.text-red {
    color: #C6272C;
}

.btn-download {
    border-radius: 50% !important;
    width: 35px;
    height: 35px;
}

.dt-body-nowrap {
    white-space: nowrap;
}

.django-ckeditor-widget {
    width: 100%;
}

.calendar .month-container {
    width: 25% !important;
    display: inline-block;
}

.calendar .months-container {
    height: 800px;
}

.fc-button {
    color: #4c7cf3;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.fc-button-primary:hover {
    color: #313131;
    background-color: #e1e4e9;
    border-color: #e1e4e9;
}

.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
    color: #313131;
    background-color: #e1e4e9;
    border-color: #e1e4e9;
}

.fc-button-primary:disabled {
    color: #313131;
    background-color: #e1e4e9;
    border-color: #e1e4e9;
}

.calendar-header .next,
.calendar-header .prev {
    color: #4c7cf3;
}

.calendar table.month td.day .day-content:hover {
    background: #e6f1ff !important;
}

.current_month {
    color: #346bf1;
    font-weight: bold;
    font-size: 20px !important;
}

.table tr.noborder td {
    border-top: 0px;
}

.table tr.border-bottom td {
    border-top: 0px;
    border-bottom: 1px solid #dee2e6;
}

.table-hover tbody:hover {
    background-color: #f0f1f4;
}

.production_time_positive {
    color: #ff0000;
}

.production_time_negative {
    color: #00bb00;
}

.drag_disabled {
    pointer-events: none;
}

.drag_enabled {
    pointer-events: all;
}

.dd-expand {
    pointer-events: auto;
}

.dd-collapse {
    pointer-events: auto;
}

.dd-list .dd-item .dd-handle {
    color: #313131;
    background-color: transparent;
    background: transparent;
    border: 0px;
}

.dd-empty {
    background-color: transparent;
    background: transparent;
    border: 0px;
}

.client_percent {
    font-size: 14px;
}

.text-bar {
    height: 30px;
    width: 100%;
    color: #000000;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    z-index: 2;
    font-size: 15px;
}

.progress-bar-style {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.progress-container {
    position: relative;
}

.client_type {
    color: #ff4b5b;
}

.c3 text {
    fill: #666 !important;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
}

.version {
    position: absolute;
    color: #8A98AC;
    font-size: 12px;
}

.copywrite {
    color: #8A98AC;
    font-size: 12px;
}

.has-error .select2-selection {
    border-color: rgb(185, 74, 72) !important;
}

.has-warning .select2-selection {
    border-color: #CC5600 !important;
}

.has-warning .form-control {
    border-color: #CC5600 !important;
}

.warning-message {
    color: #CC5600 !important;
}

.form-group.required .control-label:after,
.form-group.required .col-form-label:before {
    content: "*";
    color: #C22929;
    position: relative;
    vertical-align: middle;
    margin-right: 2px;
    font-size: 1.25em;
}

/*
.show_hide_icon:after,
td.details-control a:after {
    font-family:"Font Awesome 5 Pro";
    font-weight: 300;
    content: "\f0fe";
    cursor: pointer;
    font-size: 20px;
    color:#00A1E2 !important;
}
.show_hide_icon.shown:after,
tr.shown td.details-control a:after {
  font-family:"Font Awesome 5 Pro";
  font-weight: 300;
  content: "\f146";
}*/

.details_row,
.details_row .dataTable tbody tr,
.details_row .dataTable thead tr {
    background-color: #e6f1ff !important;
}

.offer-status .active {
    color: #fff !important;
    font-weight: bold;
}

.table.noborder td {
    border: 0px !important;
}

TR[data-formset-form-deleted] {
    display: none;
}

DIV[data-formset-form-deleted] {
    display: none;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible+.select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible+.select2-container .select2-selection__clear {
    display: none;
}

/*Select2 ReadOnly End*/

.assigned_items {
    background: #c7ecee;
}

.tooltip .tooltip-inner {
    background-color: #333333 !important;
    text-align: left;
}

.tooltip .arrow:before {
    border-top-color: #333333 !important;
}

.tooltip .tooltip-inner div {
    display: block;
}

.text-warning2 {
    color: #D77B29 !important;
    ;
}

.switchery {
    margin-top: 5px;
}

.fc-toolbar .fc-center {
    text-transform: capitalize;
}

.fc th.fc-widget-header {
    text-transform: none;
}

.dataTables_wrapper .dataTables_processing {
    position: fixed !important;
}

.move-up-checkbox .switchery {
    margin-top: 0px;
}

.cursor-initial {
    cursor: initial !important;
}

.btn-light-red {
    color: #ffffff;
    background-color: #C6272C;
    border-color: #C6272C;
    box-shadow: 0 2px 6px 0 rgb(198 39 44 / 50%);
}

.btn-light-red:focus {
    box-shadow: 0 0 0 0.2rem rgb(198 39 44 / 50%);
}

.text-light-red {
    color: #ED6666 !important;
}

.btn-light-green {
    color: #ffffff;
    background-color: #6AC94F;
    border-color: #6AC94F;
    box-shadow: 0 2px 6px 0 rgb(06 201 79 / 50%);
}

.text-light-green {
    color: #6AC94F !important;
}

.btn-light-brown {
    color: #ffffff;
    background-color: #F5A622;
    border-color: #F5A622;
    box-shadow: 0 2px 6px 0 rgb(245 166 34 / 50%);
}

.text-light-brown {
    color: #F5A622 !important;
}

.text-light-yellow {
    color: #E9B524 !important;
}

.btn-light-blue {
    color: #ffffff;
    background-color: #73A0D4;
    border-color: #73A0D4;
    box-shadow: 0 2px 6px 0 rgb(115 160 212 / 50%);
}

.btn-light-blue-custom {
    color: #ffffff;
    background-color: #00A1E2;
    border-color: #00A1E2;
    box-shadow: 0 2px 6px 0 rgb(0 161 226 / 50%);
}

.btn-light-yellow-custom {
    color: #ffffff;
    background-color: #E9B524;
    border-color: #E9B524;
    box-shadow: 0 2px 6px 0 rgb(245 166 34 / 50%);
}

.text-light-blue {
    color: #73A0D4 !important;
}

.select2-search__field {
    line-height: 1.6;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-image: url(../assets/plugins/select2/img/select2x2.png);
    background-repeat: no-repeat;
    background-size: 60px 40px;
    background-position: -35px -21px;
    padding-left: 25px;
}

.search-input-container {
    position: relative;
}

.search-input-container input {
    padding-left: 30px;
}

.search-input-container i {
    position: absolute;
    left: 12px;
    top: 12px;
    color: gray;
}

.p-r-0 {
    padding-right: 0px !important;
}

.p-l-0 {
    padding-left: 0px !important;
}

.flow-error {
    color: #ff4b5b;
    background-color: #ffe4e6;
}

a.btn-success:focus {
    color: #fff;
}

.tabledit-view-mode .select2-container--disabled {
    display: none;
}

.card-no-shadow {
    box-shadow: none;
}

.stage-item-container {
    cursor: pointer;
    min-width: 320px;
    max-width: 420px;
}

.default-stages {
    color: #ffffff;
    background-color: #6558B3;
    border-color: #6558B3;
    box-shadow: 0 2px 6px 0 rgba(101, 88, 179, 0.5);
}

.card-header-flow-color,
.placeholder-flow-color {
    color: #AAAAAA;
    opacity: 1;
}

.color-preluare {
    color: #5D1A76;
    font-weight: bold;
}

.border-color-preluare {
    border: 1px solid #5D1A76;
    /*box-shadow: 0 2px 6px 0 rgba(93, 26, 118, 0.5);*/
}

.header-border-color-preluare {
    border-bottom: 1px solid #5D1A76;
}

.color-finalizat {
    color: #00A1E2;
    font-weight: bold;
}

.border-color-finalizat {
    border: 1px solid #00A1E2;
    /*box-shadow: 0 2px 6px 0 rgba(0, 161, 226, 0.5);*/
}

.header-border-color-finalizat {
    border-bottom: 1px solid #00A1E2;
}

.color-pause {
    color: #E9B524;
    font-weight: bold;
}

.border-color-pause {
    border: 1px solid #E9B524;
    /*box-shadow: 0 2px 6px 0 rgba(254, 237, 18, 0.5);*/
}

.header-border-color-pause {
    border-bottom: 1px solid #E9B524;
}

.color-preluat {
    color: #D77B29;
    font-weight: bold;
}

.border-color-preluat {
    border: 1px solid #D77B29;
    /*box-shadow: 0 2px 6px 0 rgba(215, 123, 41, 0.5);*/
}

.header-border-color-preluat {
    border-bottom: 1px solid #D77B29;
}

.color-noaction {
    color: #898A8A;
    font-weight: bold;
}

.border-color-noaction {
    border: 1px solid #898A8A;
    /*box-shadow: 0 2px 6px 0 rgba(137, 138, 138, 0.5);*/
}

.header-border-color-noaction {
    border-bottom: 1px solid #898A8A;
}

.upper-case {
    text-transform: uppercase;
}

.drop-container-zone-ok {
    background-color: #2ACD72;
}

.drop-container-zone-red {
    background-color: rgb(198, 39, 44);
}

.close-button-position {
    position: absolute;
    top: 3px;
    right: 10px;
    color: rgb(198, 39, 44);
}

.close-button-position-disabled {
    position: absolute;
    top: 3px;
    right: 10px;
    color: #8A98AC;
}

.flow-action-bk-color {
    background-color: transparent;
}

.action-container.drop-container-zone-ok .card-header-top-border,
.action-container.drop-container-zone-red .card-header-top-border {
    border-top: 0px;
}

.flow-action-border-top {
    /*border-top: 1px solid #D4DDE3;*/
}

.action-container.drop-container-zone-red .flow-action-bk-color {
    color: rgb(198, 39, 44);
}

.action-container.drop-container-zone-ok .flow-action-bk-color {
    color: #2ACD72;
}

.btn-pause-flow-action {
    color: #000000;
    background-color: #E9B524;
    border-color: #E9B524;
    box-shadow: 0 2px 6px 0 rgba(233, 181, 36, 0.5);
}

.btn-pause-flow-action:active {
    background-color: #E9B524;
    border-color: #E9B524;
}

.btn-pause-flow-action:hover {
    background-color: #E9B524;
    border-color: #E9B524;
}

.btn-pause-flow-action:focus {
    background-color: #E9B524;
    border-color: #E9B524;
}

.btn-pause-flow-action:visited {
    background-color: #E9B524;
    border-color: #E9B524;
}

.btn-pause-flow-action:not(:disabled):not(.disabled).active {
    background-color: #E9B524;
    border-color: #E9B524;
}

.btn-pause-flow-action:not(:disabled):not(.disabled):active {
    background-color: #E9B524;
    border-color: #E9B524;
}

#repeat_flow_components BUTTON.close,
.stage-item-container SPAN.help-information,
#action_flow_components BUTTON.close,
#action_flow_custom_components BUTTON.close,
#action_flow_components .component_settings_button,
#action_flow_custom_components .component_settings_button {
    display: none;
}

#action_flow_components .action-text,
#action_flow_custom_components .action-text {
    width: auto;
}

.action-components BUTTON.close,
.default-stages BUTTON.close {
    color: #fff;
    box-shadow: none;
    opacity: 1;
}

.close-action {
    position: absolute;
    top: 0px;
    right: 5px;
}

.inner-wrapper-sticky {
    z-index: 1;
}

.flow-warning {
    color: #CC5600;
    background-color: #FFF1E8;
}

.flow-warning-color {
    color: #CC5600;
}

.help-icon-text {
    margin-left: 5px;
    font-size: 14px;
}

.help-icon-text-no-margin {
    font-size: 14px;
}

.stage-item-flow-column-header {
    width: 20px;
    white-space: pre-line;
}

.flow-available-action-container {
    min-width: 270px;
}

.flow-available-action-components {
    max-width: 320px;
    overflow: auto;
}

#containerRightActions {
    justify-content: flex-end;
    overflow: auto;
}

.flow-stages-container {}

.stage-definition-container {
    min-width: 1200px;
    overflow: auto;
}

#add_select_value,
#add-field-value,
#add-service-template {
    display: inline;
    cursor: pointer;
}

li:has(span#add_select_value),
li:has(span#add-field-value),
li:has(span#add-service-template) {
    padding-bottom: 10px;
}

.error-text-color {
    color: #ff4b5b;
}

.spin {
    z-index: 99999;
}

.flux_table_position {
    position: relative;
}

.scroll-hidden::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.flux_thead {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.flux_tfoot {
    position: sticky;
    bottom: 0;
    background-color: white;
}

input[type=checkbox] {
    transform: scale(1.3);
    margin-left: 2px;
}

.icon-rotate {
    color: #4c7cf3 !important;
    -moz-transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

.icon-rotate.down {
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.help-icon-text i {
    display: inline;
}

.table th {
    border-top: none !important;
}

#document_entry_list tfoot th,
.table.add-border th {
    border-top: 1px solid #dee2e6 !important;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

.total-row {
    background-color: #F0F4F9;
}

.tooltip {
    z-index: 100000000 !important;
}

.helper-addon {
    position: relative;
}

.helper-addon .helper {
    position: absolute;
    padding: 10px;
}

.left-addon .helper {
    left: 7px;
}

.right-addon .helper {
    right: 7px;
}

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.btn-link,
.btn-link:visited,
.btn-link:active {
    color: #FFFFFF !important;
    background-color: #4c7cf3 !important;
    border-color: #4c7cf3 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.btn-link:hover,
.btn-link:focus {
    color: #FFFFFF !important;
    background-color: #346bf1 !important;
    border-color: #346bf1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.product-description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.display-table-cell {
    display: table-cell;
}

.display-table-row {
    display: table-row;
}

#bills-popup,
#entry-popup,
#products-popup,
#clients-popup,
#documents-popup,
#providerorder-popup,
#orders-popup,
#deliveries-popup,
#e-factura-popup,
#notes-popup {
    position: fixed;
    width: 700px;
    height: 60px;
    bottom: 15%;
    left: 50%;
    margin-left: -300px;
    margin-bottom: -30px;
    background: #FFF;
    color: #000;
    box-shadow: 0 0 50px 0 #cecece;
    border-radius: 15px;
}

.flow_product_popup {
    position: sticky;
    width: 250px;
    height: 45px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: #FFF;
    color: #000;
    box-shadow: 0 0 50px 0 #cecece;
    border-radius: 15px;
    z-index: 9;
}

input[type="checkbox" i]:disabled {
    background-color: initial;
}

input[type="checkbox"][readonly] {
    opacity: 0.6;
}

#products-popup button,
#clients-popup button,
#documents-popup button,
#providerorder-popup button,
#orders-popup button,
#deliveries-popup button,
#e-factura-popup button,
#notes-popup button {
    margin-top: -7px;
}

.display-table {
    display: table;
}

.display-inline-grid {
    display: inline-grid;
}

.signature-pad {
    border: 1px solid #ced4da;
    ;
    width: 100%;
    border-radius: 5px;
}

.signature-clear-btn {
    z-index: 2;
    position: absolute;
    margin-left: -12px;
    margin-top: -4px;
}

.zoom {
    transition: transform .2s;
    width: 10%;
}

.zoom:hover {
    background: white;
    transform: scale(6);
    position: relative;
    z-index: 9999;
}

.view-files-td {
    width: 200px;
}

/* flickering problem */
.canvasWrapper {
    width: 90%;
    height: 25vh;
}

.table-responsive2 .dataTables_length {
    white-space: nowrap !important;
}

.canvasWrapper2 {
    width: 90%;
    height: 22vh;
}

#tbl_order_items tbody+tbody {
    border-top: 1px solid #dee2e6;
}

.hr_horizontal {
    border-top: 5px solid #F5F7F9;
}

.hr_vertical {
    border-right: 5px solid #F5F7F9;
}

.employee_txtdata {
    background-color: white !important;
}

.last_tr_monthly {
    border-bottom: 0px !important;
}

.custom_loader_chart {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    background-color: #fff;
}

.clients-chart-container {
    height: 22vh;
}

.custom_loader {
    z-index: 100000000 !important;
    position: fixed !important;
    display: block;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
    box-shadow: 0 0 30px 0 #cecece;
    border-radius: 15px;
    padding: 20px;
    background-color: #fff;
}

.custom_loader_hidden {
    display: none;
}

.reports-warning {
    color: #CC5600;
    padding: 0px;
    margin-left: 5px !important;
}

.overlap-warning {
    color: #CC5600;
}

.modal-body-equipments {
    height: 400px;
    overflow-y: auto;
}

.document-entry-currency {
    right: 12px;
    top: 8px
}

#calendar-delivery .fc-day-grid-event .fc-content {
    white-space: normal !important;
}

.calendar .months-container .month-container {
    height: 250px;
}

#filterMenuButton.dropdown-toggle:after {
    content: none !important;
}

#filterMenuButton.dropdown-toggle {
    padding: 7px 8px !important;
}

.dropdown-custom .options {
    height: 175px;
    overflow-y: scroll;
    padding: 10px 20px;
}

.dropdown-custom .apply {
    border-top: solid 1px #ddd;
    padding: 10px 20px;
    text-align: right;
}

.dropdown-custom .form-check {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1.50rem;
}

.dropdown-custom input {
    transform: scale(1.5);
    margin-left: -1.25rem;
    margin-right: 0.375rem;
}

.dropdown-custom label {
    margin-bottom: 0.125rem;
}

.chart-title {
    color: #666666;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 16px;
}

.canvasWrapper3 {
    width: 99%;
    height: 18vh;
}

#clients_list .column-padding-right {
    padding-right: 12px;
}

.column-padding-right {
    padding-right: 12px !important;
}

.modal-body-permissions {
    height: 500px;
    overflow: auto;
    position: relative;
}

#tutorialModal .modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

#tutorialModal .modal-body {
    position: relative;
    padding: 0px;
}

#tutorialModal .close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}

#tutorialModal .status {
    top: 35px;
    font-size: 0.75rem;
}

#showTutorial i {
    font-size: 28px;
    color: #853CFB;
}

.btn-brown-perms {
    color: #ffffff !important;
    background-color: #D77B29 !important;
    border-color: #D77B29 !important;
    box-shadow: 0 2px 6px 0 rgb(49 49 49 / 50%);
    border-radius: 50% !important;
    float: none !important;
    margin: 5px !important;
}

.btn-nude {
    background-color: rgb(245, 247, 248);
}

#showTutorial.btn-list {
    width: 30px;
    height: 19px;
    padding: 0 0 0 10px;
}

#showTutorial.btn-list i {
    padding-top: 0;
    font-size: 16px;
}

.perm-thead {
    position: sticky;
    top: -5px;
    background-color: white;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
}

.xp-topbar .xp-userprofile .dropdown-menu .dropdown-item:first-child {
    background-image: none;
    font-weight: normal;
}

.form-control-custom {
    border-radius: unset;
    background: none;
    border: none;
    color: #8A98AC;
    font-weight: 300;
    border-bottom: 1px solid rgb(245, 247, 248);
    margin-top: 3px;
    float: left;
}

.form-control-custom:focus {
    border-bottom: 1px solid #ced4da;
    background: none;
    color: #8A98AC;
    font-weight: 300;
}

.make-excerpt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 32ch;
    float: left;
    color: #8A98AC;
    margin-left: 0;
}

.make-excerpt-no-limit {
    float: left;
    color: #8A98AC;
    margin-left: 0;
}

.make-excerpt-flow-popup {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8A98AC;
    margin-left: 0;
    max-width: 680px;
}

.dropdown-menu {
    box-shadow: 0 0 10px 0 #cecece;
}

.btn-technical {
    font-size: 16px;
    background-color: #fff;
    line-height: 40px;
    min-width: 200px;
    border-radius: 10px;
    border-color: #D0D4E4;
    color: #000000;
}

.btn-technical:hover,
.btn-technical:active,
.btn-technical:focus {
    box-shadow: 0 0 7px 0 #cecece;
    color: #000000;
}

.btn-video {
    border-color: #743DF7;
    background-color: #743DF7;
}

.btn-onboard {
    border-color: #005E8C;
    background-color: #005E8C;
}

.btn-email {
    border-color: #FFD100;
    background-color: #FFD100;
}

.btn-chat {
    border-color: #1267CB;
    background-color: #1267CB;
}

.btn-phone {
    border-color: #F16A7E;
    background-color: #F16A7E;
}

.btn-phone-parent[disabled] .btn-phone {
    border-color: #cecece;
    background-color: #cecece;
}

.btn-chat-parent[disabled] {
    opacity: 0.65;
}

.btn-chat-parent[disabled] .btn-chat {
    border-color: #cecece;
    background-color: #cecece;
}

.btn-implementation-parent[disabled] .btn-implementation {
    border-color: #cecece;
    background-color: #cecece;
}

.btn-implementation {
    border-color: #3EC0C5;
    background-color: #3EC0C5;
}

.error-border {
    border: 1px red solid;
}

.btn-technical-inside {
    border-radius: 7px;
}

.list-group-item-action:focus,
.list-group-item-action:hover,
.list-group-item-action:active {
    background-color: #e6f1ff !important;
}

.implementation-container {
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.implementation-container img {
    width: 60%;
}

.error {
    color: #C6272C;
}

::-webkit-scrollbar {
    width: 10px;
    height: 16px;
}

::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #babac0;
}

.button-border-redius {
    border-radius: 3px !important;
}

.action-finalizat-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #ffffff transparent transparent transparent;
}

.action-finalizat-container .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ffffff transparent;
}

.select2-container--default .select2-selection--single {
    padding-right: 10px;
}

.action-finalizat-container .select2-container--default .select2-selection--single {
    border-color: #00A1E2;
    background-color: #00A1E2 !important;
    box-shadow: 0 2px 6px 0 rgba(0, 161, 226, 0.5);
}

.action-finalizat-container .select2-container .select2-selection--single .select2-selection__rendered {
    color: #FFFFFF;
}

.action-pauza-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #ffffff transparent transparent transparent;
}

.action-pauza-container .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ffffff transparent;
}

.action-pauza-container .select2-container--default .select2-selection--single {
    border-color: #E9B524;
    background-color: #E9B524 !important;
    box-shadow: 0 2px 6px 0 rgba(233, 181, 36, 0.5);
}

.action-pauza-container .select2-container .select2-selection--single .select2-selection__rendered {
    color: #FFFFFF;
}

.action-preluare-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #ffffff transparent transparent transparent;
}

.action-preluare-container .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ffffff transparent;
}

.action-preluare-container .select2-container--default .select2-selection--single {
    border-color: #5D1A76;
    background-color: #5D1A76 !important;
    color: #ffffff;
    box-shadow: 0 2px 6px 0 rgba(93, 26, 118, 0.5);
}

.action-preluare-container .select2-container .select2-selection--single .select2-selection__rendered {
    color: #ffffff;
}

.action_container .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__arrow {
    display: none;
}

.btn-gray {
    background-color: #949ca9 !important;
    border: none;
}

.btn-gray:hover {
    background-color: #bdc3c7 !important;
    border: none;
}

.dropdown-menu.dropdown-margin {
    margin-bottom: 8px !important;
    margin-left: -4px !important;
}

.space-15 {
    height: 15px;
}

.btn-space {
    margin-left: 3px;
}

.btn-set-size {
    width: 105px !important;
}

.btn-danger {
    background-color: #DE3031;
    border-color: #DE3031;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #BE1E1D;
    border-color: #BE1E1D;
}

.ellipsis-overflow {
    text-overflow: ellipsis;
}

.action-text {
    white-space: break-spaces;
    display: inline-flex;
    width: 195px;
}

.actions_td_container {
    min-width: 270px;
    max-width: 270px;
}

.components_td_container {
    min-width: 520px;
    max-width: 520px;
}

.btn-round-small {
    width: 30px;
    height: 30px;
    padding: 4px 7px;
    border-radius: 50%;
}

.btn-component {
    padding: 2px 10px;
}

.table.move-border td,
.table-border-bt th {
    border-top: none !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.dataTable tbody tr:hover,
.table-striped tbody tr:hover {
    -webkit-appearance: none !important;
    -moz-box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    -webkit-box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    z-index: 2;
}

.dataTables_length {
    padding-top: 8px;
}

.order_details_background {
    background-color: #fff !important;
}

.table-no-left-padding tr td:first-child {
    padding-left: 0px;
}

.select2-results .help-icon-text {
    float: right;
}

.efactura-icon {
    font-size: 18px !important;
}

.entry_type_2 .select2-selection__rendered {
    min-width: 90px;
}

#product_stock .history_stock:hover,
#product_stock .history_stock thead tr,
#offer_list .history_stock:hover,
#offer_list .history_stock thead tr,
#printed_form_generated_list .completed_signatures:hover,
#printed_form_generated_list .completed_signatures thead tr,
#printed_form_list .completed_signatures:hover,
#printed_form_list .completed_signatures thead tr {
    background: none !important;
    box-shadow: none !important;
}

TABLE TBODY .value-text-right {
    text-align: right;
}

.efactura-container {
    display: flex;
    gap: 18px;
    margin: 16px 0px;
}

.efactura-option {
    box-shadow: 0 0 15px 0 #CECECE;
    padding: 32px 16px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    border-radius: 5px;
    border: 2px solid transparent;
}

.efactura-option.active {
    border: 2px solid #4c7cf3;
}

.email_addresses_container {
    position: relative;
}

.error-message {
    color: red;
    margin-top: 5px;
}

.offer_title .jconfirm-title,
.opportunity_title .jconfirm-title,
.proform_title .jconfirm-title {
    width: 100%;
}

#gmap_area {
    min-height: 700px;
}

.fixedHeader-floating {
    top: -6px !important;
    position: fixed;
    background-color: #FFFFFF !important;
    padding-bottom: 10px;
}

.equipment-button {
    width: 15px;
    height: 15px;
    padding: 0;
    margin-right: 5px;
    margin-top: -4px;
}

.text-break-words {
    word-break: break-word;
}

.col-sm-6 {
    width: 50%;
}

.col-sm-5 {
    width: 41.66667%;
}

.col-sm-4 {
    width: 33.33333%;
}

.col-sm-3 {
    width: 25%;
}

.col-sm-2 {
    width: 16.666667%;
}

.col-sm-1 {
    width: 8.333333%
}

.text-count-message {
    font-size: 13px;
    color: #8A98AC;
}

.product_thumbnail {
    height: 30px;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 6px 0 rgba(49, 49, 49, 0.5);
}

#tbl_order_items_wrapper #tbl_order_items_info {
    padding-bottom: 20px;
}

#tbl_order_items_wrapper thead tr th {}

.dataTable-td-hidden {
    display: none;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

table.table.flux_table_position thead tr th {
    padding: 1rem;
}

#xp-container {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.xp-leftbar {
    min-width: 250px;
    position: relative;
}

.xp-leftbar .xp-leftbar-wrapper {
    position: fixed;
    top: 0;
    width: 250px;
    background: white;
    padding-bottom: 10px;
}

.xp-leftbar .xp-leftbar-wrapper .version {
    position: relative;
    padding-left: 30px;
    padding-bottom: 0;
}

.xp-rightbar {
    margin-left: 0 !important;
    width: 100%;
}

.xp-rightbar.table-fit-content {
    margin-left: 0;
    width: 100%;
    overflow: auto;
    height: 100vh;
}

.xp-rightbar.table-fit-content .xp-contentbar {
    width: fit-content;
    min-width: 100%;
}

.xp-rightbar.table-fit-content .table-responsive {
    overflow: initial;
}

.xp-rightbar.table-fit-content .table-responsive table.dataTable thead th {
    background: white;
    position: sticky !important;
    top: 0;
    z-index: 10;
}

.xp-rightbar.table-fit-content .table-responsive table.dataTable td,
table.dataTable th {
    /*white-space: nowrap;*/
}

.min-exchange-width {
    min-width: 370px;
}

.flow-popup-width {
    min-width: 800px;
}

@media (max-width: 767px) {
    .xp-leftbar {
        position: fixed !important;
        z-index: 999;
        height: 100%;
        width: 250px;
        min-width: 250px !important;
    }

    .xp-vertical.xp-toggle-menu .xp-leftbar-wrapper {
        min-width: 250px !important;
        position: initial;
    }

    .xp-vertical.xp-toggle-menu .xp-rightbar {
        margin-left: 250px !important;
    }

    .xp-vertical.xp-leftbar-hidden .xp-rightbar {
        margin-left: 0 !important;
    }

    .min-exchange-width {
        min-width: 100%;
    }

    .xp-vertical .xp-rightbar .xp-contentbar .main-card {
        overflow: auto;
    }
}

@media (max-width: 992px) {
    .flow-popup-width {
        min-width: 100%;
    }
}

.recalculate-cursor-pointer {
    cursor: pointer;
}

.xp-vertical.xp-leftbar-hidden .xp-leftbar {
    display: none !important;
}

.dataTables_empty {
    text-align: center;
}

.img-thumb {
    max-height: 100px;
    max-width: 60px;
}

.img-zoom img.img-thumb {
    position: relative;
    max-height: 24px;
}

.img-zoom img.img-full {
    position: absolute;
    transform: translate(-50%, 50px);
    background-color: #FFFFFF;
    max-width: 600px;
    z-index: 1000;
}

.krajee-default.file-preview-frame .kv-file-content {
    width: 30px !important;
    height: 30px !important;
}

.krajee-default.file-preview-frame .kv-file-content .file-input-preview {
    max-width: 30px;
}

/* Fix for task form file preview - ensure images fit properly */
#addEditTaskModal .krajee-default.file-preview-frame .kv-file-content {
    width: 150px !important;
    height: 100px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

/* Ensure all images are contained within preview frame */
#addEditTaskModal .krajee-default.file-preview-frame .kv-file-content img,
#addEditTaskModal .krajee-default.file-preview-frame .kv-file-content .file-input-preview,
#addEditTaskModal .krajee-default.file-preview-frame .kv-file-content .kv-preview-data {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Ensure the preview container doesn't overflow */
#addEditTaskModal .krajee-default.file-preview-frame {
    overflow: hidden !important;
}

.krajee-default.file-preview-frame .file-thumbnail-footer {
    height: 30px;
}

.krajee-default .file-footer-caption {
    margin: 8px 0 0 0;
}

#profilePictureCtrl .previewPhoto {
    margin-bottom: 15px;
    border-radius: 12px;
    max-width: 200px;
}

.userPictureThumb {
    width: 38px;
    height: 38px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    box-shadow: 0 2px 6px 0 rgb(76 124 243 / 50%);
    margin: 0 5px;
}

.blockElement h1 {
    font-size: 16px;
    margin-bottom: 0px;
    padding: 10px;
}

.offer-status .btn-danger.focus,
.offer-status .btn-success.focus {
    box-shadow: none;
}

.daterangepicker {
    font-family: inherit;
}

.daterangepicker select.monthselect {
    width: 61%;
}

.custom-readonly[readonly] {
    /*background-color: #f5f5f5;*/
    background-color: #fff;
}

.daterangepicker .ranges li.active {
    background-color: #00A1E2;
}

.daterangepicker .ranges li:hover:not(.active) {
    background-color: #e6f1ff;
}

.daterangepicker td.in-range {
    background-color: #e6f1ff;
}

.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
    background-color: #e6f1ff;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #00A1E2;
}

.daterangepicker .calendar-time .select2-container.daterange-minute-select,
.daterangepicker .calendar-time .select2-container.daterange-hour-select {
    width: 50px !important;
}

.daterangepicker .calendar-time .select2-container.daterange-minute-select .select2-selection,
.daterangepicker .calendar-time .select2-container.daterange-hour-select .select2-selection,
.daterangepicker .calendar-time .select2-container.daterange-minute-select .select2-selection--single .select2-selection__rendered,
.daterangepicker .calendar-time .select2-container.daterange-hour-select .select2-selection--single .select2-selection__rendered {
    height: 28px !important;
    line-height: 28px !important;
}

.daterangepicker .calendar-time .select2-container.daterange-minute-select .select2-selection--single .select2-selection__arrow,
.daterangepicker .calendar-time .select2-container.daterange-hour-select .select2-selection--single .select2-selection__arrow {
    height: 26px !important;
    width: 20px !important;
}

.daterangepicker .month .select2-container.daterange-month-select {
    width: 116px !important;
}

.daterangepicker .month .select2-container.daterange-year-select {
    width: 77px !important;
    padding-left: 5px;
}

.daterangepicker .calendar-time .select2-container.daterange-minute-select .select2-selection__rendered,
.daterangepicker .calendar-time .select2-container.daterange-hour-select .select2-selection__rendered,
.daterangepicker .month .select2-container.daterange-month-select .select2-selection__rendered,
.daterangepicker .month .select2-container.daterange-year-select .select2-selection__rendered {
    padding: 0;
}

.exchange-helper {
    position: relative;
}

.exchange-helper .helper {
    position: absolute;
    top: 7px;
    right: 3px;
    width: 25px;
    height: 25px;
    padding: 4px 7px;
    font-size: 12px;
}

.exchange-helper .helper-currency {
    position: absolute;
    top: 7px;
    right: 30px;
    padding: 4px 7px;
    font-size: 12px;
}

.currency-icon {
    position: absolute;
    top: 7px;
    right: 10px;
    padding: 4px 7px;
    font-size: 12px;
    cursor: pointer;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    max-width: 25px;
    min-width: 25px;
    width: 25px;
}

.daterangepicker .drp-calendar {
    min-width: 300px;
    max-width: 300px;
}

.daterangepicker .drp-calendar.left .calendar-table {
    padding-right: 15px;
}

.xp-contentbar {
    min-height: calc(100vh - 210px);
}

.settings-page .tooltip {
    position: fixed !important;
}

#messages-container {
    position: fixed;
    top: 4%;
    left: 55%;
    transform: translateX(-50%);
    width: 30%;
}

.myalert-top {
    min-width: 100%;
}

a.btn-primary:focus {
    color: #ffffff;
}

.recalculate_price {
    width: 20px;
}

.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons button.btn-success.btn-min-width-105,
.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons button.btn-blue.btn-min-width-105 {
    min-width: 105px;
}

.discount_percent_icon {
    position: relative;
}

.discount_percent_icon INPUT {
    padding-right: 15px;
}

.discount_percent_icon:after {
    content: "\0025";
    position: absolute;
    right: 9px;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    color: #000;
}

.start-button span.schedule-icon {
    display: none;
}

.original-currency {
    color: #8A98AC;
    font-size: 12px;
}

.currency_and_um {
    position: absolute;
    right: 0;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
}

.equipment-cost-custom {
    min-width: 130px !important;
    padding-right: 80px !important;
}

.provider_um_value {
    position: absolute;
    left: 0;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
}

.profile_um_span {
    font-size: 12px;
    position: absolute;
    right: -19px;
    top: 50%;
    background: #fff;
    line-height: 36px;
    padding-left: 2px;
    border-right: 1px solid #ced4da;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transform: translate(-50%, -50%);
    min-width: 24px;
    padding-right: 2px;
}

.profile_um_span_disabled {
    background: #e1e4e9;
}

.cost_calculator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 1px;
    height: 28px !important;
    width: 28px !important;
}

.product_name {
    height: 30px;
    display: flex;
    align-items: center;
}

.selection_modal {
    display: inline-block;
    vertical-align: middle;
}

.delete_product {
    background-color: red;
    display: flex;
    align-items: center;
}

.delete_product_button {
    color: red;
    margin-right: 30px;
}

.product_names_table {
    display: flex;
    align-items: center
}

.datepicker--cell.-focus- {
    background: rgba(225, 228, 233, 0.5);
}

.typeahead.dropdown-menu .dropdown-item.active,
.typeahead.dropdown-menu .dropdown-item:active,
.typeahead.dropdown-menu .dropdown-item:hover,
.typeahead.dropdown-menu .dropdown-item:focus {
    background-color: #4c7cf3 !important;
    color: #FFFFFF !important;
}

.typeahead.dropdown-menu .dropdown-item {
    color: #000000 !important;
}

.filter_value_container .select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 24px;
    color: #DE3031;
}

.title_additional_info {
    font-size: 15px;
    font-weight: normal;
}

#language_options:first-child {
    border-radius: 15px 15px 0 0 !important;
}

.globe-size {
    width: 25px !important;
    height: 25px !important;
    font-size: 25px;
}

.notification-bell-size {
    width: 25px !important;
    height: 25px !important;
    font-size: 25px;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 0.1rem 0.3rem;
    background-color: #fb665e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.6rem;
    min-width: 16px;
    text-align: center;
    line-height: 1.5;
    border: none;
}

.kv-file-content .kv-preview-data.file-preview-other-frame:has(.force-file-icon) {
    width: 160px !important;
}

.selected-language-icon {
    margin-right: 10px;
}

.selected-language-button {
    padding-left: 10px !important;
    cursor: pointer;
}

.unselected-language-button {
    padding-left: 38.5px !important;
}

.badge-style {
    display: inline-flex !important;
    flex-wrap: wrap;
    width: auto !important;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #fff !important;
}

.equipment_buttons {
    white-space: nowrap;
}

.equipment_buttons button {
    padding-right: 9px;
    padding-left: 9px;
    margin-right: 10px;
}

.delete-x-from-view-product.hide-placeholder-tags>.select2-container.select2-container--default.select2-container--disabled>.selection>.select2-selection.select2-selection--multiple>.select2-selection__rendered>.select2-selection__clear,
.delete-x-from-view-service.hide-placeholder-tags>.select2-container.select2-container--default.select2-container--disabled>.selection>.select2-selection.select2-selection--multiple>.select2-selection__rendered>.select2-selection__clear,
.delete-x-from-view-product.hide-placeholder-tags>.select2.select2-container.select2-container--default.select2-container--disabled>.selection>.select2-selection.select2-selection--multiple>.select2-selection__rendered>.select2-search.select2-search--inline>.select2-search__field,
.delete-x-from-view-service.hide-placeholder-tags>.select2.select2-container.select2-container--default.select2-container--disabled>.selection>.select2-selection.select2-selection--multiple>.select2-selection__rendered>.select2-search.select2-search--inline>.select2-search__field,
#selTags+.select2 .select2-selection__clear {
    display: none;
}

.help-icon {
    font-size: 17px;
}

.pdf_product_hyperlink {
    position: absolute;
    right: 7px;
    top: 51%;
    transform: translate(-145%, -50%);
    cursor: pointer;
}

.offer_description_padding INPUT {
    padding-right: 25px;
}

.language_selected_operator {
    padding: 0 !important;
    /* Cancel padding */
    background: none !important;
    /* Cancel background */
}

span.select2-container:has(span.select2-dropdown) {
    width: auto !important;
    display: block;
}

.dropdown-custom {
    width: max-content;
    margin-top: 5px;
}

.remove-border-top {
    border-top: none;
}

.position_help_in_textbox {
    position: absolute;
    right: 9px;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
}

.help_in_textbox INPUT {
    padding-right: 23px;
}

.font-underline {
    text-decoration: underline;
}

.child_row_spacer {
    display: inline-table;
}

.limit_input_150 INPUT {
    max-width: 150px;
}

.tbody-no-border {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.btn-transparent {
    background-color: transparent;
    border: 0;
}

#table_cost_comments tr {
    position: relative;
}

#table_cost_comments th:last-child,
#table_cost_comments td:last-child {
    width: 0 !important;
    padding: 0 !important;
}

#table_cost_comments thead {
    display: none;
}

#table_cost_comments tr:last-child td {
    border-bottom: 0 !important;
}

#addCostCommentModal .modal-dialog {
    overflow-y: initial !important
}

#addCostCommentModal .modal-body {
    max-height: 65vh;
    overflow-y: auto
}

.copy-text.phone {
    display: none;
}

.copy-icon.dont-remove {
    margin-right: 5px;
}

.copy-tooltip {
    position: absolute;
    margin-left: 5px;
    top: -3px;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
}

.copy-tooltip.opportunity {
    top: -40%;
    left: 50%;
}

.scheduling-product-select {
    display: inline-block;
}

.scheduling-product-select .product-select-info,
.select-memento .product-select-info {
    color: white !important;
    padding-bottom: 4px;
}

#scheduling_form .scheduling-products .select2-container--default .select2-selection--multiple .select2-selection__rendered li,
.select-memento .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    display: flex;
    align-items: center;
}

#scheduling_form #id_client {
    padding-left: 15px;
}

#scheduling_form input[readonly],
#scheduling_form .select2-container--disabled .select2-selection,
#scheduling_form select[disabled] {
    background-color: #ffffff;
    border: 0;
    pointer-events: none;
}

.mt-neg-3 {
    margin-top: -7px !important;
}

.jconfirm .order-generate-document .jconfirm-buttons {
    text-align: center !important;
}

.scheduling-calendar .fc-timeGridWeek-view .fc-event,
.scheduling-calendar .fc-timeGridDay-view .fc-event {
    text-align: start !important;
    align-content: center;
    border-radius: 5px !important;
    margin: 0;
    padding: 0 5px;
}

.scheduling-calendar .fc-head .fc-widget-header,
#calendar-delivery .fc-head .fc-widget-header {
    background-color: #ffffff !important;
    border: 0 !important;
}

.scheduling-calendar .fc-axis {
    width: 100px !important;
    padding: 0;
    text-align: center;
}

.scheduling-calendar .fc-divider {
    background: #d2d7de;
}

.scheduling-calendar .fc-day-header .scheduling-header-date,
#calendar-delivery .fc-day-header .delivery-header-date {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    font-size: 25px;
}

.scheduling-calendar .fc-day-header.fc-today .scheduling-header-date,
#calendar-delivery .fc-day-header.fc-today .delivery-header-date {
    background-color: #4c7cf3;
    color: #ffffff;
}

.scheduling-calendar .fc-timeGridWeek-view .fc-today,
.scheduling-calendar .fc-timeGridDay-view .fc-today {
    background: #ffffff !important;
}

.custom_margin_right {
    margin-right: 42px;
}

#documentModal .select2-container--default .select2-search--inline .select2-search__field {
    width: initial !important;
}

.scheduling-calendar .fc-dayGridMonth-view,
#calendar-delivery .fc-dayGridMonth-view,
#calendar-delivery .fc-dayGridWeek-view,
#calendar-delivery .fc-dayGridDay-view,
.scheduling-calendar .fc-timeGridWeek-view,
.scheduling-calendar .fc-timeGridDay-view {
    overflow: auto;
}

.calendar-parent,
.delivery-calendar-parent {
    height: 800px;
}

.scheduling-calendar .fc-dayGridMonth-view .fc-row.fc-week,
#calendar-delivery .fc-dayGridMonth-view .fc-row.fc-week {
    min-height: 173px !important;
}

#calendar-delivery .fc-dayGridWeek-view .fc-row.fc-week,
#calendar-delivery .fc-dayGridDay-view .fc-row.fc-week {
    min-height: 800px !important;
}

.scheduling-calendar .fc-timeGridWeek-view .fc-head-container.fc-widget-header,
.scheduling-calendar .fc-timeGridDay-view .fc-head-container.fc-widget-header,
.scheduling-calendar .fc-dayGridMonth-view .fc-head-container.fc-widget-header,
#calendar-delivery .fc-dayGridWeek-view .fc-head-container.fc-widget-header,
#calendar-delivery .fc-dayGridDay-view .fc-head-container.fc-widget-header,
#calendar-delivery .fc-dayGridMonth-view .fc-head-container.fc-widget-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
    transform: translate(-1px, -1px);
}

.scheduling-calendar .fc-timeGridWeek-view .fc-head-container.fc-widget-header .fc-row,
.scheduling-calendar .fc-timeGridDay-view .fc-head-container.fc-widget-header .fc-row,
.scheduling-calendar .fc-timeGridDay-view .fc-head-container.fc-widget-header .fc-row {
    width: calc(100% + 1px) !important;
}

.new-feature-container {
    position: absolute;
    max-width: 53px;
    height: 28px;
}

.new-feature-container .new-feature-image {
    height: 24px;
    max-height: 24px;
}

.new-feature-container .new-feature-close {
    position: absolute;
    cursor: pointer;
}

.select-view {
    background-color: #4c7cf3;
    color: #ffffff !important;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 7px;
    padding: 2px 10px;
}

.btn-edit-memento {
    background-color: #4c7cf3;
    border-color: #4c7cf3;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 25px;
    height: 25px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    font-size: 12px;
}

.memento-icon {
    height: 24px !important;
}

.memento-container {
    line-height: 1 !important;
}

#mementoForm .modal-body,
#mementoForm .modal-header {
    padding: 1rem 1.5rem !important;
}

.show_hide_super_product {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.table TR[level="0"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="0"] .product-select-container {
    border-left: solid 10px #4E7CA1;
}

.table TR[level="1"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="1"] .product-select-container {
    border-left: solid 10px #25AEC8;
}

.table TR[level="2"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="2"] .product-select-container {
    border-left: solid 10px #17D8B6;
}

.product-select-container {
    display: inline-block;
    padding-left: 5px;
    border-radius: .25rem;
}

.table TD.product-td[level="1"] {
    padding-left: 40px;
}

.table TD.product-td[level="2"] {
    padding-left: 80px;
}

.show_hide_super_product {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.table TR[level="0"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="0"] .product-select-container {
    border-left: solid 10px #4E7CA1;
}

.table TR[level="1"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="1"] .product-select-container {
    border-left: solid 10px #25AEC8;
}

.table TR[level="2"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="2"] .product-select-container {
    border-left: solid 10px #17D8B6;
}

.product-select-container {
    display: inline-block;
    padding-left: 5px;
    border-radius: .25rem;
}

.table TD.product-td[level="1"] {
    padding-left: 40px;
}

.table TD.product-td[level="2"] {
    padding-left: 80px;
}

.show_hide_super_product {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.table TR[level="0"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="0"] .product-select-container {
    border-left: solid 10px #4E7CA1;
}

.table TR[level="1"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="1"] .product-select-container {
    border-left: solid 10px #25AEC8;
}

.table TR[level="2"] TD.product-td .select2.select2-container .selection .select2-selection,
.table TD[level="2"] .product-select-container {
    border-left: solid 10px #17D8B6;
}

.product-select-container {
    display: inline-block;
    padding-left: 5px;
    border-radius: .25rem;
}

.table TD.product-td[level="1"] {
    padding-left: 40px;
}

.table TD.product-td[level="2"] {
    padding-left: 80px;
}

/* Flow index view=item: product column hierarchy (same as view comanda) */
.flux_product .product-td.flow-item-product-cell .product-select-container {
    display: block;
    padding-left: 6px;
}
.flux_product .product-td.flow-item-product-cell .product-select-container.flow-level-0 {
    margin-left: 0;
    border-left: solid 4px #4E7CA1;
}
.flux_product .product-td.flow-item-product-cell .product-select-container.flow-level-1 {
    margin-left: 20px;
    border-left: solid 4px #25AEC8;
}
.flux_product .product-td.flow-item-product-cell .product-select-container.flow-level-2 {
    margin-left: 40px;
    border-left: solid 4px #17D8B6;
}
.flux_product .product-td.flow-item-product-cell .product-select-container.flow-level-3 {
    margin-left: 60px;
    border-left: solid 4px #4E7CA1;
}
.flux_product .product-td.flow-item-product-cell .product-select-container.flow-level-4 {
    margin-left: 80px;
    border-left: solid 4px #25AEC8;
}
.flux_product .product-td.flow-item-product-cell .product-select-container.flow-level-5 {
    margin-left: 100px;
    border-left: solid 4px #17D8B6;
}
/* Fallback for hierarchy deeper than 5 levels */
.flux_product .product-td.flow-item-product-cell .product-select-container[class*="flow-level-"] {
    min-height: 1px;
}

a.change-view-day {
    color: black;
}

a.change-view-day :hover {
    color: #346bf1;
}

#containerClient .select2-search--inline,
#subcategory .select2-search--inline,
#containerClient .select2-search__field:placeholder-shown,
#subcategory .select2-search__field:placeholder-shown {
    width: 100% !important;
}

.custom-radio-inline {
    display: flex;
    flex-wrap: nowrap;
}

.custom-radio-block {
    display: block;
}

.select2-container--default .select2-selection--multiple {
    width: auto !important;
    min-width: 150px;
}

.select2-selection__clear {
    padding: 1px;
    margin-right: 10px;
    margin-bottom: 5px;
}

div.dataTables_wrapper div.dataTables_processing {
    z-index: 11;
}

.filter_value_container input[custom-search-option="1"],
.filter_value_container INPUT[type=text] {
    min-width: 150px;
}

.footer-text {
    font-style: italic;
    font-size: 13px;
    margin-right: 7px !important;
}

.product_list_container,
.accounting_list_container {
    display: none;
}

.accounting_list_container .select2-selection--multiple .select2-search__field {
    width: 100% !important;
}

.text-price-aquisition {
    display: none;
}

#tags_container .tag-title {
    border-top: 1px solid #D4DDE3;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 15px;
    font-weight: 700;
}

.jconfirm .btn-no-width {
    width: unset !important;
}

.vat-container {
    position: relative;
    display: inline-block;
}

.vat-container input {
    padding-right: 45px;
    min-width: 120px !important;
}

.vat-overlay {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-52%);
    pointer-events: none;
    font-size: 14px;
    color: #666;
}

.subtotal-label {
    min-width: 130px;
}

.ron-value {
    padding-left: .75rem;
}

.converted-row td {
    border: 0 !important;
    padding: 0 .75rem .75rem !important;
    color: #8A98AC !important;
}

.text-transparent .selection .select2-selection__rendered {
    color: transparent !important;
}

.ron-total-value {
    color: #8A98AC;
    font-size: 14px;
}

#addVATRateModal select[readonly]+.select2 .select2-selection__placeholder {
    display: none !important;
}

.btn-export {
    padding: 0 !important;
    border-color: #FFFFFF !important;
    max-height: 37px !important;
}

.btn-export i {
    font-size: 36px !important;
    font-weight: 200 !important;
}

.btn-export:hover {
    background: #FFFFFF !important;
    color: #4c7cf3 !important;
}

#import_total_row_2 td {
    border-top: none !important;
}

#tbl_custom_taxes_items .custom-taxes-products .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    display: flex;
    align-items: center;
}

#tbl_custom_taxes_items .product-select-info {
    color: #FFF !important;
}

.tax-product-select {
    display: inline-block;
}

#document-entry-form #add_row.hidden {
    display: none !important;
}

#tbl_import_nir_line_items .add_line_items {
    display: none !important;
}

.custom-card {
    border: 1px solid #D4DDE3;
    border-radius: 20px;
    padding: 20px;
    overflow: auto;
}

.custom-card::-webkit-scrollbar-track {
    margin-left: 20px !important;
    margin-right: 20px !important;
}

#additional_container .switchery,
#taxes_container .switchery,
#associated_container .switchery {
    margin-top: 0 !important;
}

.krajee-default.file-preview-frame {
    display: flex;
    width: 97%;
    margin: 1px 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 6px;
    float: left;
    text-align: center;
}

.krajee-default .file-footer-caption {
    display: flex;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    color: #777;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    width: 75% !important;
    max-width: 75% !important;
}

.krajee-default .file-footer-caption .file-caption-info {
    width: 80% !important;
    text-align: left !important;
}

.krajee-default .file-footer-caption .file-size-info {
    width: 20% !important;
}

.krajee-default.file-preview-frame .file-thumbnail-footer {
    display: flex;
    align-items: center;
    width: 93%;
}

.krajee-default.file-preview-frame .file-thumbnail-footer> :nth-child(3) {
    margin-left: auto;
}

.krajee-default .file-footer-buttons button {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.krajee-default .file-footer-buttons button i {
    color: black !important;
    font-size: 14px;
}

.krajee-default .file-footer-buttons button.btn-danger i {
    color: #dc3545 !important;
}

.krajee-default .file-footer-buttons button.btn-default i {
    color: #4c7cf3 !important;
}

.krajee-default .file-actions .file-footer-buttons {
    display: flex;
    align-items: center;
}

.krajee-default .file-thumbnail-footer .file-drag-handle,
.krajee-default .file-thumbnail-footer .file-upload-indicator {
    margin-top: 0 !important;
    height: unset !important;
    width: unset !important;
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.krajee-default .file-thumbnail-footer i {
    font-size: 14px;
}

.krajee-default .file-caption-info,
.krajee-default .file-size-info {
    height: unset !important;
    margin-left: 3px;
}

.krajee-default .file-other-icon {
    font-size: 2em !important;
}

.file-input-image-view img {
    width: 30px;
    height: 30px;
}

.file-input-image-view span {
    font-size: 15px;
}

#ai_assistant_modal .modal-dialog {
    width: 700px;
}

.ai_mode {
    padding: 15px;
    background-color: #F0F8FF;
    border-radius: .25rem;
}

.input-currency-overflow {
    padding-right: 55px;
    text-overflow: ellipsis;
}

.input-currency-overflow:hover {
    text-overflow: unset;
}

#inventory-edit-form .select2-selection__rendered .select2-search--inline .select2-search__field {
    width: 100% !important;
    box-sizing: border-box;
}

#ai_content_preview {
    padding: 20px;
    border-radius: .25rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.border-red-tr {
    border: 1px solid #C6272C !important;
}

.border-red-tr td {
    border-top: 1px solid #C6272C;
    border-bottom: 1px solid #C6272C;
}

/* custom color picker */
.custom-color-picker .clr-field button {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.custom-color-picker .clr-field button:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-color-picker .clr-picker {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-color-picker .clr-swatches button {
    border-radius: 4px;
}

.custom-color-picker .clr-field,
.custom-color-picker .tabledit-input {
    max-width: 38px !important;
    max-height: 38px !important;
}

.custom-color-picker .tabledit-span {
    visibility: hidden;
}

.custom-color-picker .colorpicker,
.view-details-btn,
.view-hyperlink-btn {
    cursor: pointer;
}

#clr-picker {
    z-index: 2000;
}

/* Advanced filter trigger button */
.advanced-filter-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 96% !important;
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
    left: 2%;
    background: #fff;
    box-shadow: 0 0 30px 0 rgba(200, 200, 200, 0.2);
    white-space: normal;
}

.advanced-filter-trigger:focus {
    outline: none;
    box-shadow: none;
}

.advanced-filter-trigger .trigger-icon {
    margin-left: 10px;
}

.advanced-filter-trigger>span:first-of-type {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Advanced filter panel */
.advanced-filter-panel {
    width: 96%;
    position: relative;
    left: 2%;
    display: none;
    padding-top: 10px;
    margin-top: 5px;
}

.advanced-filter-panel .filter-section {
    border-radius: 4px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 0 30px 0 rgba(200, 200, 200, 0.2);
}

.filter-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Segmented controls */
.segmented-control {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ced4da;
}

.segmented-control button {
    flex: 1;
    padding: 5px 10px;
    border: none;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}

.segmented-control button.active {
    background: #007bff;
    color: white;
}

.segmented-control button:not(:last-child) {
    border-right: 1px solid #ced4da;
}

.filter-label {
    font-size: 14px;
    margin-right: 4px;
}

.include-exclude-advanced .select2-container--default .select2-selection--multiple {
    width: auto !important;
}

.advanced-filter-container {
    background: #f0f1f4;
    box-shadow: none !important;
    width: 100%;
    padding: 10px 0;
}

/* Segmented Control Styles */
.segmented-control-container {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    margin: 8px 0;
}

.segmented-control-btn {
    position: relative;
    flex: 1;
    text-align: center;
}

.segmented-control-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.segmented-control-label {
    display: block;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #495057;
    font-weight: 400;
}

.segmented-control-input:checked+.segmented-control-label {
    background: #007bff;
    color: white;
    font-weight: 500;
}

.segmented-control-btn:not(:last-child) {
    border-right: 1px solid #ced4da;
}

/* Hover effects */
.segmented-control-label:hover {
    background-color: #e9ecef;
}

.segmented-control-input:checked+.segmented-control-label:hover {
    background-color: #0069d9;
}

.filter-panel {
    width: 96%;
    position: relative;
    left: 2%;
}

.filter-panel .filter-section {
    border-radius: 4px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 0 30px 0 rgba(200, 200, 200, 0.2);
}

.trigger-text,
#products-no {
    font-size: 13px;
    white-space: normal;
}

.advanced-filter-trigger .trigger-text {
    display: inline-block;
    max-width: 140px;
}


.pdf_additional_details {
    position: absolute;
    right: 0;
    top: 51%;
    transform: translate(-0%, -50%);
    cursor: pointer;
}

#additionalDetailsForm .note-toolbar-wrapper {
    min-height: 44px !important;
}

#improve_email {
    position: absolute;
    padding: 10px 13px;
    right: 15px;
    bottom: 20px;
    border-radius: 1.75rem;
    background: #C34BFA;
    background: linear-gradient(90deg, rgba(195, 75, 250, 1) 0%, rgba(253, 204, 77, 1) 100%);
    color: #FFF;
}

#id_ai_assistant {
    background: #C34BFA;
    background: linear-gradient(90deg, rgba(195, 75, 250, 1) 0%, rgba(253, 204, 77, 1) 100%);
    color: #FFF;
    border: none;
}

.copy-tooltip-emag,
.copy-tooltip-woo {
    position: absolute;
    transition: opacity 0.3s ease;
    z-index: 1000;
    background-color: #333;
    margin-left: 10px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-tooltip-emag.show,
.copy-tooltip-woo {
    opacity: 1;
}

.export-container {
    min-height: calc(100vh - 200px);
}

.document-type-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.document-type-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.document-type-card.selected {
    border-color: #007bff;
    background-color: #f8fbff;
}

.settings-btn {
    background: none;
    border: none;
    color: #6c757d;
    transition: color 0.3s ease;
}

.settings-btn:hover {
    color: #007bff;
}

.export-btn {
    min-width: 120px;
}

.date-range-selector {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.preview-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.preview-period-input {
    background: white !important;
    border: 1px solid #ced4da;
}

/* Export form styles - delivery note custom fields */
.export-label-padding {
    padding-right: 30px;
}

.export-icon-size {
    font-size: 24px;
}

.export-icon-inactive {
    color: #949ca9;
}

.export-option-indent {
    padding-left: 30px;
}

.export-option-indent-small {
    padding-top: 6px;
    cursor: default;
}

.document-preview-container {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-preview-container:last-child {
    margin-bottom: 0;
}

.document-preview-name {
    font-weight: 600;
    color: #333;
}

.document-preview-template {
    color: #6c757d;
    font-size: 0.85em;
    margin-top: 2px;
}

.document-preview-badge {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.document-checkbox {
    transform: scale(1.3) !important;
    margin-right: 0.375rem;
}

.saga-integration-container .integration-card {
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.saga-integration-container .integration-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.saga-integration-container .integration-card.selected {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.saga-option .card-body {
    padding: 2rem 1rem;
}

.saga-option .card-text {
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.4;
}

.document-type-card label,
.document-preview-name {
    line-height: 1 !important;
}

.status-color-badge {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.financial-value {
    font-weight: 500;
    min-width: 80px;
    text-align: right;
    display: inline-block;
}

.table-container {
    display: flex;
    justify-content: center;
}

.formset-hide-delete-checkbox input[type=checkbox] {
    display: none;
}

/* Freeze Panes Styles for Product Tables */
.table-freeze-panes-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 80vh;
    position: relative;
}

/* Set border-collapse separate for tables with freeze panes to keep borders visible */
.table-freeze-panes-container table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Sticky header */
#tbl_order_items thead tr,
#tbl_offer_items thead tr,
#tbl_opportunity_items thead tr {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #fff;
}

#tbl_order_items thead tr th,
#tbl_offer_items thead tr th,
#tbl_opportunity_items thead tr th {
    background-color: #fff;
    position: relative;
}

/* Frozen column: Line Number (#) */
#tbl_order_items thead tr th.freeze-col-line-no,
#tbl_offer_items thead tr th.freeze-col-line-no,
#tbl_opportunity_items thead tr th.freeze-col-line-no,
#tbl_order_items tbody tr td.freeze-col-line-no,
#tbl_offer_items tbody tr td.freeze-col-line-no,
#tbl_opportunity_items tbody tr td.freeze-col-line-no {
    position: sticky;
    left: 0;
    z-index: 5;
    background-color: #fff;
    min-width: 53px;
    width: 53px;
    max-width: 53px;
}

/* Frozen column: Administration (if exists) */
#tbl_order_items thead tr th.freeze-col-administration,
#tbl_offer_items thead tr th.freeze-col-administration,
#tbl_opportunity_items thead tr th.freeze-col-administration,
#tbl_order_items tbody tr td.freeze-col-administration,
#tbl_offer_items tbody tr td.freeze-col-administration,
#tbl_opportunity_items tbody tr td.freeze-col-administration {
    position: sticky;
    left: 53px;
    /* Exact width of line number column */
    z-index: 5;
    background-color: #fff;
    min-width: 15px;
    /* Default: closed state */
    width: 15px;
    /* Fixed width when closed */
    max-width: 15px;
}

/* When administration is closed, maintain very narrow width */
#tbl_order_items.administration-closed thead tr th.freeze-col-administration,
#tbl_offer_items.administration-closed thead tr th.freeze-col-administration,
#tbl_opportunity_items.administration-closed thead tr th.freeze-col-administration,
#tbl_order_items.administration-closed tbody tr td.freeze-col-administration,
#tbl_offer_items.administration-closed tbody tr td.freeze-col-administration,
#tbl_opportunity_items.administration-closed tbody tr td.freeze-col-administration {
    min-width: 15px !important;
    width: 15px !important;
    max-width: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}

/* Remove horizontal padding and margins from administration header content when closed */
#tbl_order_items.administration-closed #administration_th,
#tbl_offer_items.administration-closed #administration_th,
#tbl_opportunity_items.administration-closed #administration_th {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}

#tbl_order_items.administration-closed #administration_th>div,
#tbl_offer_items.administration-closed #administration_th>div,
#tbl_opportunity_items.administration-closed #administration_th>div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden;
}

#tbl_order_items.administration-closed #toggle_administration,
#tbl_offer_items.administration-closed #toggle_administration,
#tbl_opportunity_items.administration-closed #toggle_administration {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* When administration is open, set wider width */
#tbl_order_items.administration-open thead tr th.freeze-col-administration,
#tbl_offer_items.administration-open thead tr th.freeze-col-administration,
#tbl_opportunity_items.administration-open thead tr th.freeze-col-administration,
#tbl_order_items.administration-open tbody tr td.freeze-col-administration,
#tbl_offer_items.administration-open tbody tr td.freeze-col-administration,
#tbl_opportunity_items.administration-open tbody tr td.freeze-col-administration {
    min-width: 250px !important;
    width: 250px !important;
    max-width: 250px !important;
}

/* Frozen column: Product */
#tbl_order_items thead tr th.freeze-col-product,
#tbl_offer_items thead tr th.freeze-col-product,
#tbl_opportunity_items thead tr th.freeze-col-product,
#tbl_order_items tbody tr td.freeze-col-product,
#tbl_offer_items tbody tr td.freeze-col-product,
#tbl_opportunity_items tbody tr td.freeze-col-product {
    position: sticky;
    left: 53px;
    /* Default: after line number */
    z-index: 5;
    background-color: #fff;
    min-width: 400px;
    max-width: 400px;
}

/* If administration column exists, adjust product column position */
/* Default: administration closed (15px) */
#tbl_order_items thead tr th.freeze-col-product.has-administration,
#tbl_offer_items thead tr th.freeze-col-product.has-administration,
#tbl_opportunity_items thead tr th.freeze-col-product.has-administration,
#tbl_order_items tbody tr td.freeze-col-product.has-administration,
#tbl_offer_items tbody tr td.freeze-col-product.has-administration,
#tbl_opportunity_items tbody tr td.freeze-col-product.has-administration {
    left: 68px;
    /* After line number (53px) + administration closed (15px) */
}

/* When administration is closed, adjust product column position */
#tbl_order_items.administration-closed thead tr th.freeze-col-product.has-administration,
#tbl_offer_items.administration-closed thead tr th.freeze-col-product.has-administration,
#tbl_opportunity_items.administration-closed thead tr th.freeze-col-product.has-administration,
#tbl_order_items.administration-closed tbody tr td.freeze-col-product.has-administration,
#tbl_offer_items.administration-closed tbody tr td.freeze-col-product.has-administration,
#tbl_opportunity_items.administration-closed tbody tr td.freeze-col-product.has-administration {
    left: 68px !important;
    /* After line number (53px) + administration closed (15px) */
}

/* When administration is open, adjust product column position */
#tbl_order_items.administration-open thead tr th.freeze-col-product.has-administration,
#tbl_offer_items.administration-open thead tr th.freeze-col-product.has-administration,
#tbl_opportunity_items.administration-open thead tr th.freeze-col-product.has-administration,
#tbl_order_items.administration-open tbody tr td.freeze-col-product.has-administration,
#tbl_offer_items.administration-open tbody tr td.freeze-col-product.has-administration,
#tbl_opportunity_items.administration-open tbody tr td.freeze-col-product.has-administration {
    left: 303px !important;
    /* After line number (53px) + administration open (250px) */
}

/* Ensure header frozen columns have higher z-index */
#tbl_order_items thead tr th.freeze-col-line-no,
#tbl_offer_items thead tr th.freeze-col-line-no,
#tbl_opportunity_items thead tr th.freeze-col-line-no,
#tbl_order_items thead tr th.freeze-col-administration,
#tbl_offer_items thead tr th.freeze-col-administration,
#tbl_opportunity_items thead tr th.freeze-col-administration,
#tbl_order_items thead tr th.freeze-col-product,
#tbl_offer_items thead tr th.freeze-col-product,
#tbl_opportunity_items thead tr th.freeze-col-product {
    z-index: 11;
}

/* Hover effect for frozen columns - same color as normal rows when row is hovered */
#tbl_order_items tbody tr:hover td.freeze-col-line-no,
#tbl_offer_items tbody tr:hover td.freeze-col-line-no,
#tbl_opportunity_items tbody tr:hover td.freeze-col-line-no,
#tbl_order_items tbody tr:hover td.freeze-col-administration,
#tbl_offer_items tbody tr:hover td.freeze-col-administration,
#tbl_opportunity_items tbody tr:hover td.freeze-col-administration,
#tbl_order_items tbody tr:hover td.freeze-col-product,
#tbl_offer_items tbody tr:hover td.freeze-col-product,
#tbl_opportunity_items tbody tr:hover td.freeze-col-product {
    background-color: #e6f1ff !important;
}

/* Document line custom fields: hide input when product has no value (e.g. super product rows) */
.custom_field_col[data-has-value="false"] .custom-field-input-container {
    display: none !important;
}

.expired-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.expired-wrapper .btn {
    opacity: 0.85; /* optional faded effect */
}

.expired-stamp {
    position: absolute;
    top: 100%;
    left: 65%;
    transform: translate(-50%, -50%) rotate(-5deg);

    border: 2px dashed #C6272C;
    color: #C6272C;

    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 8px;

    background: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

