/**
* 2010-2022 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through LICENSE.txt file inside our module
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright 2010-2022 Webkul IN
* @license LICENSE.txt
*/

#columns {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.wk-mp-block {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

.wk-mp-block:after {
    clear: both;
}

.wk-mp-content {
    float: left;
    width: 100%;
    box-shadow: 0px 3px 10px #ddd;
    /* border: 1px solid #d5d5d5;  */
}

.wk-mp-content:after {
    clear: both;
}

.wk-mp-page-title {
    overflow: hidden;
    padding: 20px 25px;
    border-radius: 2px;
    text-transform: uppercase;
}

.wk-mp-page-title span {
    font-size: 18px;
    font-weight: normal;
}

.wk-mp-page-content {
    padding: 15px 25px 15px;
}

/* Hide TinyMCE/custom scrollbar markers in marketplace content for a cleaner look */
.wk-mp-content .mce-scrollbar,
.wk-mp-content .mce-scrollbar-h,
.wk-mp-content .mce-scrollbar-thumb {
    display: none !important;
}

/* Services list & service information – modern layout */
.wk-mp-page-title--modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.wk-mp-page-title--modern .wk-mp-help-icon {
    opacity: 0.85;
}
.wk-mp-page-title--modern .wk-mp-help-icon:hover {
    opacity: 1;
}

/* Customer Service area (Customer Service Messages, Hotel Reviews) – purple gradient header, guide icon in circle */
.wk-mp-page-title--customer-service-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(to right, #5a3d7a 0%, #7b5a9e 50%, #8b6fa8 100%) !important;
    color: #fff;
}
.wk-mp-page-title--customer-service-area span {
    color: #fff !important;
}
.wk-mp-page-title--customer-service-area .wk-mp-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    opacity: 1;
}
.wk-mp-page-title--customer-service-area .wk-mp-help-icon:hover {
    background: rgba(255, 255, 255, 0.4);
}
.wk-mp-page-title--customer-service-area .wk-mp-help-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}
.wk-mp-page-title--customer-service-area .wk-mp-help-icon i {
    font-size: 16px;
    color: #fff;
}

.wk-mp-page-content--services {
    padding-bottom: 25px;
}
.wk-mp-add-service-row {
    margin-bottom: 15px;
}
.wk-mp-table-wrapper {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}
.wk-mp-datatable--services thead th {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 10px;
}
.wk-mp-datatable--services tbody td {
    padding: 10px;
    vertical-align: middle;
}
.wk-mp-datatable--services tbody tr:hover {
    background-color: #f8f9fa;
}
.wk-mp-actions-cell {
    white-space: nowrap;
}
.wk-mp-actions-cell .wk-mp-action-btn {
    margin: 0 2px;
    padding: 4px 8px;
}
.wk-mp-actions-cell .wk-mp-action-btn--delete:hover {
    color: #c9302c;
    border-color: #c9302c;
}
.wk-mp-bulk-actions {
    margin-top: 12px;
}
.wk-mp-content #wk-information .form-group.col-md-6 {
    margin-bottom: 18px;
}
.wk-mp-content #wk-information .form-group .form-control {
    border-radius: 4px;
}

/* Service page: hide scrollbar markers in tree panels (Associated Hotels, Associated categories) */
.wk-mp-content #associated_hotel_rooms_tree .panel,
.wk-mp-content #associated_hotel_rooms_tree .cattree.tree,
.wk-mp-content #associated_hotel_rooms_tree ul.tree,
.wk-mp-content #product-associations .panel,
.wk-mp-content #product-associations .cattree.tree,
.wk-mp-content #product-associations ul.tree {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.wk-mp-content #associated_hotel_rooms_tree .panel::-webkit-scrollbar,
.wk-mp-content #associated_hotel_rooms_tree .cattree.tree::-webkit-scrollbar,
.wk-mp-content #associated_hotel_rooms_tree ul.tree::-webkit-scrollbar,
.wk-mp-content #product-associations .panel::-webkit-scrollbar,
.wk-mp-content #product-associations .cattree.tree::-webkit-scrollbar,
.wk-mp-content #product-associations ul.tree::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Service page: modern Associations section and info bar */
.wk-mp-content #product-associations {
    border-radius: 6px;
    border: 1px solid #e8ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 20px;
    margin-top: 20px;
}
.wk-mp-content #product-associations h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
/* Service page: Associations info messages – full width, no clipping on desktop */
.wk-mp-content #product-associations .alert.alert-info.wk-mp-associations-info {
    background: #f0f4f8;
    border: 1px solid #dce4ec;
    border-radius: 6px;
    color: #4a5568;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    max-height: none;
    overflow-y: visible;
}
.wk-mp-content #product-associations .alert.alert-info.wk-mp-associations-info .icon-info-circle {
    color: #5a9bd5;
    flex-shrink: 0;
    margin-top: 1px;
}
.wk-mp-content #product-associations .alert.alert-info.wk-mp-associations-info .wk-mp-associations-info-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
/* Ensure Associations info inside form-group row doesn’t get squashed by grid */
.wk-mp-content #product-associations .form-group .alert.alert-info.wk-mp-associations-info {
    margin-left: 0;
    margin-right: 0;
}
.wk-mp-content #product-associations .form-group > div.col-sm-12 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.wk-mp-content #associated_hotel_rooms_tree .panel {
    border-radius: 6px;
    border: 1px solid #e8ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.wk-mp-content #associated_hotel_rooms_tree .tree-panel-heading-controls {
    background: transparent;
    border: none;
    border-bottom: none;
    padding: 2px 0 4px 0;
}
.wk-mp-content #associated_hotel_rooms_tree .tree-actions .btn {
    border-radius: 4px;
    font-size: 12px;
}
.wk-mp-content #product-associations .tree-panel-heading-controls {
    background: transparent;
    border: none;
    border-bottom: none;
    padding: 2px 0 4px 0;
}
.wk-mp-content #product-associations .tree-actions .btn {
    border-radius: 4px;
    font-size: 12px;
}

.wk-mp-formfield-required-notify {
    font-size: 12px;
    font-style: italic;
    padding: 10px 0;
    text-transform: none !important;
}

.wk-mp-page-action {
    margin-top: 30px;
}

.wk-mp-page-action .wk-mp-page-submit {
    text-align: right;
}


.menu_item {
    float: left;
    width: 100%;
}

.menu_item:after {
    clear: both;
}

.list_content {
    position: relative;
    float: left;
    width: 100%;
    border: 1px solid #DCDADA;
    border-top: unset;
    overflow: hidden;
    border-radius: 4px;
}

.list_content .list_content_top {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 4px;
    background: #333;
}

.list_content:after {
    clear: both;
}

.list_content ul {
    list-style-type: none;
}

.list_content ul li {
    padding: 0px 15px;
}

.list_content ul li span {
    display: block;
    padding: 15px 0;
}

.list_content ul li+li span {
    border-top: 1px solid #D9D9D9;
}

.list_content ul li span.menutitle {
    color: #555555;
    font-size: 16px;
    /* padding: 10px; */
    display: block;
    text-transform: uppercase;
}

.list_content li span a {
    color: #555555;
    display: block;
    /* padding: 10px; */
    font-size: 14px;
}

.list_content ul li span a:hover,
.list_content ul li.menu_active span a {
    color: #379BF0;
}

.display-none {
    display: none;
}

/*Badges*/
.wk-badge {
    padding: 5px 8px;
    font-weight: bold;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
}

.wk-badge-overbooking {
    background-color: #f0ad4e;
    color: #333;
    margin-left: 6px;
}

/* inputs  */
/* .wk-mp-content .form-control {
    background-color: transparent!important;
    border: 1px solid #999999;
    box-shadow: 0 1px 0 0 rgba(0,0,0,0.13);
    height: 48px;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
} */

/* Tables designs */
.wk-mp-content .table tr th,
.wk-mp-content .table tr td {
    border: unset
}

.wk-mp-content .table.table-striped>thead>tr>th {
    background-color: #FFFFFF;
}

.wk-mp-content .table.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #F4F6FA;
}

/* input style */
.form-control.input-date {
    display: flex;
    align-items: center;
}

.form-control.input-date,
.form-control.hotel_select,
.form-control.room_select,
.form-control.input-occupancy,
.form-control.custom_hour,
.form-control.timepicker,
.form-control.header-rmsearch-input,
#rooms-search-submit {
    height: 45px;
    border-radius: 2px;
}

.table td.pointer {
    cursor: pointer;
}

.table td.center,
.table th.center {
    text-align: center;
}

.table td.dragHandle .dragGroup {
    width: 80px;
    cursor: move;
    text-align: center;
    position: relative;
    font-size: 14px;
    padding: 4px 4px 4px 20px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.table td.dragHandle .dragGroup .positions {
    display: inline-block;
    border: solid 1px #ccc;
    background-color: #eee;
    padding: 0 5px;
    color: #aaa;
    width: 43px;
    text-shadow: #fff 1px 1px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 3px inset;
    box-shadow: rgba(0, 0, 0, 0.2) 0 1px 3px inset;
}

.table-responsive-row {
    width: 100%;
    overflow-x: auto;
}

[data-toggle="tooltip"] {
    color: #3586AE;
    background-color: #edf7fb;
    border: none;
    border-bottom: solid 1px #D8EDF7;
    padding: 0 5px;
}

.ui-tooltip.lock-tooltip {
    color: #fff;
    background: #2e2d2df8;
}

/* */

.kpi-container {
    display: flex;
    justify-content: space-between;
    padding: 12px !important
}

.kpi-container .kpis-wrap {
    width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    font-size: 0;
    margin-bottom: -8px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -5px;
    margin-right: -5px
}

.kpi-container .kpis-wrap .kpi-wrap {
    display: inline-block;
    width: 20%;
    margin-bottom: 8px;
    padding-left: 5px;
    padding-right: 5px
}

.kpi-container .actions-wrap {
    width: 16px;
    margin-left: 16px
}

.kpi-container .actions-wrap button {
    padding: 0;
    border: none;
    opacity: .2;
    display: block;
    width: 100%
}

.kpi-container .actions-wrap button:not(:first-of-type) {
    margin-top: 4px
}

.kpi-container .actions-wrap button:hover {
    opacity: .5;
    background-color: #fff
}

.kpi-container .actions-wrap button:focus,
.kpi-container .actions-wrap button:active {
    outline: none !important
}

.kpi-container .actions-wrap button i {
    color: #000 !important;
    font-size: 16px
}

.kpi-container .actions-wrap button i.icon-ellipsis-vertical {
    position: relative;
    top: 3px
}

.kpi-container .actions-wrap .dropdown-menu {
    top: 25px;
    right: 0;
    left: unset;
    min-width: 200px;
    font-size: 13px;
    padding: 8px 12px
}

.kpi-container .actions-wrap .dropdown-menu label {
    font-weight: normal
}

.kpi-container.no-wrapping .kpis-wrap {
    white-space: normal;
    flex-wrap: nowrap
}

@media (min-width: 1200px) {
    .kpi-container.no-wrapping .kpis-wrap .kpi-wrap {
        min-width: 20%
    }
}

@media (max-width: 1200px) {
    .kpi-container.no-wrapping .kpis-wrap .kpi-wrap {
        min-width: 20%
    }
}

@media (max-width: 768px) {
    .kpi-container.no-wrapping .kpis-wrap .kpi-wrap {
        min-width: 33.33%
    }
}

@media (max-width: 480px) {
    .kpi-container.no-wrapping .kpis-wrap .kpi-wrap {
        min-width: 50%
    }
}

@media (max-width: 992px) {
    .bootstrap.no-wrapping .kpis-wrap {
        flex-wrap: nowrap !important
    }
}

@media (max-width: 1200px) {
    .kpi-container .kpis-wrap .kpi-wrap {
        width: 20%
    }
}

@media (max-width: 768px) {
    .kpi-container .kpis-wrap .kpi-wrap {
        width: 33.33%
    }
}

@media (max-width: 480px) {
    .kpi-container .kpis-wrap .kpi-wrap {
        width: 50%
    }
}

/* KPI single row + horizontal scroll (all package pages: package order, package enquiry, seller packages, customer package orders) */
.kpi-single-row .kpis-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 0;
}
.kpi-single-row .kpis-wrap .kpi-wrap,
.kpi-single-row .kpis-wrap > [class*="col-"] {
    flex-shrink: 0 !important;
    min-width: 180px !important;
    width: auto !important;
}
.kpi-single-row .kpis-wrap .box-stats .kpi-content .title-subtitle .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile: single row with horizontal scroll for KPI cards (all other KPI sections) */
@media (max-width: 991px) {
    .kpi-container .kpis-wrap {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        margin-bottom: 0;
    }
    .kpi-container .kpis-wrap .kpi-wrap {
        flex-shrink: 0 !important;
        min-width: 200px !important;
        width: 200px !important;
    }
    .box-stats .kpi-content .title-subtitle .title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Mobile: ensure table headers/columns scroll horizontally */
@media (max-width: 991px) {
    .wk-mp-block .table-responsive,
    .wk-mp-content .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    /* Exception: On Desk Booking occupancy dropdowns must not be clipped */
    .wk-mp-content #htl_rooms_list .table-responsive {
        overflow: visible !important;
    }
}

.box-stats {
    display: block;
    height: 100%
}

.box-stats .boxchart-overlay {
    padding: 10px 10px 5px 10px;
    margin-right: 10px;
    float: left;
    -webkit-border-radius: 3px;
    border-radius: 3px
}

.box-stats .kpi-content {
    width: 100%;
    height: 100%;
    position: relative;
    border: 1px solid #e7edfa;
    border-left-width: 3px;
    border-radius: 6px;
    padding: 4px 8px 8px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    white-space: normal
}

.box-stats .kpi-content .title-subtitle {
    display: flex;
    justify-content: space-between
}

.box-stats .kpi-content .title-subtitle .title {
    display: block;
    color: #666;
    font-size: 13px
}

.box-stats .kpi-content .title-subtitle .title i {
    position: absolute;
    top: 5px;
    font-size: 15px;
    text-align: center;
    color: #fff;
    line-height: 26px;
    background: #eee;
    width: 28px;
    height: 28px;
    left: 5px;
    -webkit-border-radius: 6px;
    border-radius: 6px
}

.box-stats .kpi-content .title-subtitle .title i::before {
    position: absolute;
    top: 1px;
    left: 8px
}

.box-stats .kpi-content .title-subtitle .subtitle {
    display: block;
    text-transform: capitalize;
    color: #aaa;
    font-size: 10px;
    position: relative;
    top: 3px;
    text-align: right
}

.box-stats .kpi-content .value-container .value {
    display: block;
    clear: both;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    min-height: 22px
}

.box-stats .kpi-content .value-container .value.loading {
    height: 22px;
    min-width: 40px
}

.box-stats .kpi-content .arrow {
    position: absolute;
    bottom: 7px;
    right: 9px
}

.box-stats .kpi-content .arrow i {
    color: #828282 !important
}

.box-stats:hover {
    text-decoration: none
}

.box-stats[data-toggle="tooltip"] {
    color: #777;
    background-color: #fff;
    border: 0;
    margin: 0;
    padding: 0;
}


.color1 .kpi-content {
    border-left-color: #2BA8E3
}

.color1 i,
.color1 .boxchart-overlay {
    color: #2BA8E3 !important
}

.color2 .kpi-content {
    border-left-color: #FF5450
}

.color2 i,
.color2 .boxchart-overlay {
    color: #FF5450 !important
}

.color3 .kpi-content {
    border-left-color: #9E5BA1
}

.color3 i,
.color3 .boxchart-overlay {
    color: #9E5BA1 !important
}

.color4 .kpi-content {
    border-left-color: #95CC6B
}

.color4 i,
.color4 .boxchart-overlay {
    color: #95CC6B !important
}

.data_chart rect {
    fill: #fff
}

.data_chart path {
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

.data_chart line {
    stroke: #000
}

.data_chart .area {
    fill: rgba(255, 255, 255, 0.3);
    stroke-width: 0
}

.table-responsive-row {
    overflow-x: auto;
}

.page-product-video iframe {
    width: 100%;
}

div.checker span.checked:has(input[checked]) {
    background-position: -15px -257px;
}

.breadcrumb {
    position: -webkit-sticky;
    /* For Safari */
    position: sticky;
    z-index: 1000;
    top: 40px;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        top: 60px;
    }
}


.prestashop-switch {
    margin-top: 3px;
    background-color: #eee;
    border-radius: 3px;
    color: #333;
    text-align: center;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px 1px inset;
    box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px 1px inset
}

.prestashop-switch * {
    outline: 0 !important
}

.prestashop-switch label {
    text-transform: uppercase;
    color: #bbb;
    font-weight: 400;
    cursor: pointer;
    -webkit-transition: color .2s ease-out;
    -o-transition: color .2s ease-out;
    transition: color .2s ease-out
}

.prestashop-switch input:checked+label {
    color: #fff
}

.prestashop-switch>span {
    color: #666;
    text-transform: uppercase;
    cursor: pointer
}

.prestashop-switch.switch-light input:checked~a {
    border: solid 1px #72C279;
    background-color: #96d19b;
    -webkit-box-shadow: #72C279 0 -1px 0 inset;
    box-shadow: #72C279 0 -1px 0 inset
}

.prestashop-switch.switch-light input:checked~span span:first-of-type {
    color: #fff
}

.prestashop-switch.switch-light input:checked~span span:last-of-type {
    color: #ccc
}

.prestashop-switch.switch-light input~a {
    border: solid 1px #E08F95;
    background-color: #ebb7bb;
    -webkit-box-shadow: #E08F95 0 -1px 0 inset;
    box-shadow: #E08F95 0 -1px 0 inset
}

.prestashop-switch.switch-light input~span span:first-of-type {
    color: #ccc
}

.prestashop-switch.switch-light input~span span:last-of-type {
    color: #fff
}

.switch a {
    display: none
}

.switch {
    display: block;
    height: 26px;
    position: relative;
    width: 160px !important;
}

.switch * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.switch a {
    display: block;
    -webkit-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out
}

.switch label,
.bootstrap .switch>span {
    line-height: 26px;
    vertical-align: middle
}

.switch input {
    position: absolute;
    opacity: 0
}

.switch label {
    position: relative;
    z-index: 2;
    width: 50%;
    height: 100%;
    margin: 0;
    text-align: center;
    float: left
}

.switch a {
    position: absolute;
    top: 0;
    padding: 0;
    z-index: 1;
    width: 50%;
    height: 100%;
    color: #fff;
    border: solid 1px #279CBB;
    border-radius: 3px;
    background-color: #2eacce;
    left: 0;
    -webkit-box-shadow: "#1B7088" 0 -1px 0 inset;
    box-shadow: "#1B7088" 0 -1px 0 inset;
}

.switch input:last-of-type:checked~a {
    border: solid 1px #CA6F6F;
    background-color: #E08F95;
    left: 50%;
    -webkit-box-shadow: "#5C5C5C" 0 -1px 0 inset;
    box-shadow: "#5C5C5C" 0 -1px 0 inset
}

.switch input:disabled~a {
    border: solid 1px #b3b3b3 !important;
    background-color: #cdcdcd !important;
    -webkit-box-shadow: #b3b3b3 0 -1px 0 inset !important;
    box-shadow: #b3b3b3 0 -1px 0 inset !important
}

.bootstrap .switch.switch-3 label,
.bootstrap .switch.switch-3 a {
    width: 33.33333%
}

.bootstrap .switch.switch-3 input:checked:nth-of-type(2)~a {
    left: 33.33333%
}

.bootstrap .switch.switch-3 input:checked:last-of-type~a {
    left: 66.66667%
}

.bootstrap .switch.switch-4 label,
.bootstrap .switch.switch-4 a {
    width: 25%
}

.bootstrap .switch.switch-4 input:checked:nth-of-type(2)~a {
    left: 25%
}

.bootstrap .switch.switch-4 input:checked:nth-of-type(3)~a {
    left: 50%
}

.bootstrap .switch.switch-4 input:checked:last-of-type~a {
    left: 75%
}

.bootstrap .switch.switch-5 label,
.bootstrap .switch.switch-5 a {
    width: 20%
}

.bootstrap .switch.switch-5 input:checked:nth-of-type(2)~a {
    left: 20%
}

.bootstrap .switch.switch-5 input:checked:nth-of-type(3)~a {
    left: 40%
}

.bootstrap .switch.switch-5 input:checked:nth-of-type(4)~a {
    left: 60%
}

.bootstrap .switch.switch-5 input:checked:last-of-type~a {
    left: 80%
}

/* Refund Policies / hotel form: ensure both Yes and No show and slide works when inside .bootstrap (even if admin-theme.css path fails) */
.bootstrap .switch,
.bootstrap .prestashop-switch {
    display: block;
    height: 26px;
    position: relative;
}
.bootstrap .switch label,
.bootstrap .prestashop-switch label {
    display: block;
    position: relative;
    z-index: 2;
    width: 50%;
    float: left;
    line-height: 26px;
    vertical-align: middle;
    cursor: pointer;
}
.bootstrap .switch a.slide-button,
.bootstrap .prestashop-switch a.slide-button {
    display: block !important;
}

@media (min-width: 768px) {
    #modal-change-gateway-name .modal-dialog {
        max-width: 594px;
        min-height: 500px;
        margin: -365px auto;
    }

    #modal-transfer-gateway .modal-dialog {
        max-width: 594px;
        min-height: 500px;
        margin: -365px auto;
    }

    #modal-share-ekey .modal-dialog {
        max-width: 610px;
        min-height: 500px;
        margin: -365px auto;
    }

    #modal-add-passcode .modal-dialog {
        /* max-width: 610px;
        min-height: 500px; */
        margin: -365px auto;
    }

    #modal-share-passcode .modal-dialog {
        margin: -365px auto;
    }

    #modal-change-passcode .modal-dialog {
        margin: -365px auto;
    }

    #modal-add-card .modal-dialog {
        margin: -365px auto;
    }

    #modal-add-ekey .modal-dialog {
        margin: -365px auto;
    }
    #modal-add-passcode-staff .modal-dialog {
        margin: -365px auto;
    }
    #modal-add-ekey-staff .modal-dialog {
        margin: -365px auto;
    }
    #modal-add-card-staff .modal-dialog {
        margin: -365px auto;
    }
}

#modal-change-gateway-name .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16.42857px;
}

#modal-transfer-gateway .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16.42857px;
}

#modal-share-ekey .modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16.42857px;
}

#modal-change-gateway-name .modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 6px
}

#modal-transfer-gateway .modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 6px
}

#modal-share-ekey .modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 6px
}

#modal-change-gateway-name .modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

#modal-transfer-gateway .modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

#modal-share-ekey .modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

#modal-change-gateway-name .btn-close-custom {
    margin-right: 8px;
    background-color: #fff;
    color: #363A41;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#modal-transfer-gateway .btn-close-custom {
    margin-right: 8px;
    background-color: #fff;
    color: #363A41;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#modal-share-ekey .btn-close-custom {
    margin-right: 8px;
    background-color: #fff;
    color: #363A41;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#modal-change-gateway-name .btn-close-custom:hover {
    background-color: #00aff0;
    color: #fff;
}

#modal-transfer-gateway .btn-close-custom:hover {
    background-color: #00aff0;
    color: #fff;
}

#modal-share-ekey .btn-close-custom:hover {
    background-color: #00aff0;
    color: #fff;
}

#modal-change-gateway-name .btn-submit-custom {
    border-radius: 3px;
    color: #fff;
    background-color: #00aff0;
}

#modal-transfer-gateway .btn-submit-custom {
    border-radius: 3px;
    color: #fff;
    background-color: #00aff0;
}

#modal-share-ekey .btn-submit-custom {
    border-radius: 3px;
    color: #fff;
    background-color: #00aff0;
}

#modal-change-gateway-name .btn-submit-custom:hover {
    border-radius: 3px;
    background-color: #088fc2;
}

#modal-transfer-gateway .btn-submit-custom:hover {
    border-radius: 3px;
    background-color: #088fc2;
}

#modal-share-ekey .btn-submit-custom:hover {
    border-radius: 3px;
    background-color: #088fc2;
}

#modal-change-gateway-name .close {
    opacity: 0.2;
    transition: opacity 0.2s ease;
    /* Ajoute une transition fluide */
}

#modal-add-passcode .close {
    opacity: 0.2;
    transition: opacity 0.2s ease;
    /* Ajoute une transition fluide */
}

#modal-transfer-gateway .close {
    opacity: 0.2;
    transition: opacity 0.2s ease;
    /* Ajoute une transition fluide */
}

#modal-share-ekey .close {
    opacity: 0.2;
    transition: opacity 0.2s ease;
    /* Ajoute une transition fluide */
}

#modal-change-gateway-name .close:hover {
    opacity: 0.4;
    /* Opacité augmentée au survol */
}

#modal-add-passcode .close:hover {
    opacity: 0.4;
    /* Opacité augmentée au survol */
}

#modal-transfer-gateway .close:hover {
    opacity: 0.4;
    /* Opacité augmentée au survol */
}

#modal-share-ekey .close:hover {
    opacity: 0.4;
    /* Opacité augmentée au survol */
}

#modal-change-gateway-name .modal {
    display: none;
    overflow: auto;
    overflow-y: auto;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

#modal-share-ekey .modal {
    display: none;
    overflow: auto;
    overflow-y: auto;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

#modal-transfer-gateway .modal {
    display: none;
    overflow: auto;
    overflow-y: auto;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

#modal-change-gateway-name .form-control {
    display: block;
    width: 100%;
    height: 31px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.42857;
    color: #555;
    background-color: #F5F8F9;
    background-image: none;
    border: 1px solid #C7D6DB;
    border-radius: 3px;
}

#modal-transfer-gateway .form-control {
    display: block;
    width: 100%;
    height: 31px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.42857;
    color: #555;
    background-color: #F5F8F9;
    background-image: none;
    border: 1px solid #C7D6DB;
    border-radius: 3px;
}

#modal-share-ekey .form-control {
    display: block;
    width: 100%;
    height: 31px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.42857;
    color: #555;
    background-color: #F5F8F9;
    background-image: none;
    border: 1px solid #C7D6DB;
    border-radius: 3px;
}

#modal-change-gateway-name .modal-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
    color: #555;
    margin-top: 8.5px;
    margin-bottom: 8.5px;
    font-family: "Ubuntu Condensed", Helvetica, Arial, sans-serif;
}

#modal-transfer-gateway .modal-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
    color: #555;
    margin-top: 8.5px;
    margin-bottom: 8.5px;
    font-family: "Ubuntu Condensed", Helvetica, Arial, sans-serif;
}

#modal-share-ekey .modal-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
    color: #555;
    margin-top: 8.5px;
    margin-bottom: 8.5px;
    font-family: "Ubuntu Condensed", Helvetica, Arial, sans-serif;
}

#modal-transfer-gateway label.control-label {
    font-size: 13px;
    font-weight: normal;
    color: #666;
    /* ajout */
    max-width: 100%;
    float: left;
    width: 25%;
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
    font: 400 12px/1.42857 "Open Sans", Helvetica, Arial, sans-serif;
    box-sizing: border-box;

}

#modal-share-ekey label.control-label {
    font-size: 13px;
    font-weight: normal;
    color: #666;
    /* ajout */
    max-width: 100%;
    float: left;
    width: 25%;
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
    font: 400 12px/1.42857 "Open Sans", Helvetica, Arial, sans-serif;
    box-sizing: border-box;

}

/* ########### */
@media (min-width: 1200px) {
    #modal-transfer-gateway .col-lg-9 {
        width: 75%;
        font: 400 12px/1.42857 "Open Sans", Helvetica, Arial, sans-serif;
        color: #555;

    }

    #modal-share-ekey .col-lg-9 {
        width: 75%;
        font: 400 12px/1.42857 "Open Sans", Helvetica, Arial, sans-serif;
        color: #555;

    }

    #modal-transfer-gateway .bootstrap .col-lg-10,
    #modal-transfer-gateway .bootstrap .col-lg-11,
    #modal-transfer-gateway .bootstrap .col-lg-12 {
        float: left;
    }

    #modal-share-ekey .bootstrap .col-lg-10,
    #modal-share-ekey .bootstrap .col-lg-11,
    #modal-share-ekey .bootstrap .col-lg-12 {
        float: left;
    }
}

#modal-transfer-gateway .bootstrap .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

#modal-share-ekey .bootstrap .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

#modal-transfer-gateway .bootstrap * {
    box-sizing: border-box;
}

#modal-share-ekey .bootstrap * {
    box-sizing: border-box;
}

#modal-transfer-gateway .bootstrap .text-center {
    text-align: center;
}

#modal-share-ekey .bootstrap .text-center {
    text-align: center;
}

#modal-transfer-gateway #id_user_receive {
    display: block;
    width: 200px !important;
    height: 31px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.42857;
    color: #555;
    background-color: #F5F8F9;
    background-image: none;
    border: 1px solid #C7D6DB;
    border-radius: 3px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

#modal-share-ekey #id_user_receive {
    display: block;
    width: 200px !important;
    height: 31px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.42857;
    color: #555;
    background-color: #F5F8F9;
    background-image: none;
    border: 1px solid #C7D6DB;
    border-radius: 3px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

#modal-transfer-gateway #send_code {
    background-color: #00aff0;
    border-color: #2eacce;
    border-radius: 3px;
}

#modal-transfer-gateway #send_code:hover {
    background-color: #357ebd;
    border-color: #357ebd;
}

/* .list-empty-msg {
    display: flex; 
    flex-direction: column; 
    align-items: center;
}
.list-empty-icon {
    font-size: 84px; 
    color: #999;
}
.n-records {
    font-family: "Ubuntu Condensed", Helvetica, Arial, sans-serif;
    font-size: 1.4em;
} */
.bootstrap .list-empty .list-empty-msg {
    text-align: center;
    display: block;
    width: 50%;
    margin: 20px auto;
    color: #999;
    font-family: "Ubuntu Condensed", Helvetica, Arial, sans-serif;
    font-size: 1.3em
}

.bootstrap .list-empty .list-empty-icon {
    color: #dedede;
    display: block;
    clear: both;
    font-size: 84px;
    text-shadow: #fff 1px 1px 0
}

#modal-share-ekey .input-group-addon {
    padding: 7px 9px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #F5F8F9;
    border: 1px solid #C7D6DB;
    border-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#modal-share-ekey .dropdown ul.default_results_ul {
    border: 1px solid #C7D6DB;
    border-radius: 3px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    margin-top: 5px;
    padding: 0;
}

#modal-share-ekey .bootstrap ul,
.bootstrap ol {
    margin-top: 0;
    margin-bottom: 8.5px;
}

.list-empty-icon {
    color: #dedede;
    display: block;
    clear: both;
    font-size: 84px;
    text-shadow: #fff 1px 1px 0;
}

/* ### passcode */

#modal-add-passcode .modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 115%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

#modal-add-passcode .modal-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
    color: #555;
    margin-top: 8.5px;
    margin-bottom: 8.5px;
    font-family: "Ubuntu Condensed", Helvetica, Arial, sans-serif;
}

#modal-share-ekey .btn-close-custom {
    margin-right: 8px;
    background-color: #fff;
    color: #363A41;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#modal-share-ekey .btn-close-custom:hover {
    background-color: #00aff0;
    color: #fff;
}

/* ### share passcode */
#modal-share-passcode .modal-content {
    width: 115%;
}

/* ### change passcode */
#modal-change-passcode .modal-content {
    width: 115%;
}

/* ### add cards */
#modal-add-card .modal-content {
    width: 115%;
}

/* ### add ekeys */
#modal-add-ekey .modal-content {
    width: 115%;
}

/* ### add passcode staff */
#modal-add-passcode-staff .modal-content {
    width: 115%;
}
/* ### add ekey staff */
#modal-add-ekey-staff .modal-content {
    width: 115%;
}
/* ### add cards staff */
#modal-add-card-staff .modal-content {
    width: 115%;
}

/* ### Employee Access: toolbar, group, collapse, search */
.wk-access-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}
.wk-access-search {
    flex: 1;
    min-width: 180px;
}
.wk-access-search input#wk-access-search {
    max-width: 280px;
}
.wk-access-expand-collapse {
    display: flex;
    gap: 8px;
}
.wk-access-parent .wk-access-toggle {
    cursor: pointer;
    display: inline-block;
    width: 1.2em;
    margin-right: 6px;
    user-select: none;
    font-size: 0.75em;
    vertical-align: middle;
}
.wk-access-parent .wk-access-toggle.wk-collapsed {
    transform: rotate(-90deg);
}
.wk-access-child.wk-collapsed-by-parent {
    display: none !important;
}
.wk-access-child.wk-search-hidden,
.wk-access-parent.wk-search-hidden {
    display: none !important;
}

/* =====================================================================
   MOBILE: Single row + horizontal scroll for menus, tabs, KPI
   All menus, KPI tables, and header tabs on mobile must be in a single
   row with horizontal scroll (max-width: 767px).
   ===================================================================== */

/* Nav tabs (room type tabs, hotel tabs, service tabs, availability filters) */
@media (max-width: 991px) {
    .nav.nav-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        margin-bottom: 10px;
    }
    .nav.nav-tabs li {
        flex-shrink: 0;
    }
    .nav.nav-tabs li a {
        white-space: nowrap;
    }
}

/* Marketplace left menu (displayMpMenu) – horizontal scroll on mobile */
@media (max-width: 991px) {
    .wk-mp-block .col-sm-2 .menu_item .list_content ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        margin: 0;
        padding: 0 0 8px 0;
    }
    .wk-mp-block .col-sm-2 .menu_item .list_content ul > li {
        flex-shrink: 0;
    }
    .wk-mp-block .col-sm-2 .menu_item .list_content ul > li details {
        border-top: none;
    }
    .wk-mp-block .col-sm-2 .menu_item .list_content ul > li details summary {
        padding: 8px 12px;
    }
}

/* =====================================================================
   Agent 3: Sync status indicator (offline-sync web ui-patterns)
   ===================================================================== */
.sync-indicator {
    color: #ffffff;
    font-size: 14px;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sync-indicator.online-synced {
    color: #5cb85c;
}
.sync-indicator.offline-pending {
    color: #f0ad4e;
}
.sync-indicator.syncing {
    color: #5bc0de;
}
.sync-indicator.sync-error {
    color: #c9302c;
}
.sync-indicator .icon-refresh {
    margin-right: 5px;
}
.sync-indicator.syncing .icon-refresh {
    animation: wk-sync-spin 1s linear infinite;
}
@keyframes wk-sync-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}