:root {
    --eshb-primary-color: #ab8965;
    --eshb-success-color: #1ec734;
    --eshb-danger-color: #e41749;
    --eshb-primary-color-rgb: 171, 137, 101;
    --eshb-dark-color: #181818;
    --eshb-white-color: #ffffff;
    --eshb-border-color: #ab8965;
}

.eshb-text-danger {
    color: var(--eshb-danger-color);
}

.eshb-text-success {
    color: var(--eshb-success-color);
}

.eshb_accomodation_page_easy-hotel-settings {
    .notice {
        display: none !important;
    }

    .csf-theme-light .csf-container {
        border: none !important;
        border-radius: 8px;
        -webkit-box-shadow: 0 4px 40px rgba(0, 0, 0, .05);
        box-shadow: 0 4px 40px rgba(0, 0, 0, .05);
        overflow: hidden;

        .csf-header-left {
            background: url(../img/fav.svg);
            background-repeat: no-repeat;
            padding-left: 40px;
            padding-bottom: 10px;
        }
    }
}

.csf-field {

    input,
    select,
    textarea {
        border-color: #e1dede;
    }
}

.csf-field.hidden-metabox {
    display: none;
}

.csf-field.hide-add-new {

    .csf-repeater-add {
        display: none;
    }

    .csf-repeater-helper {
        display: none;
    }
}

.has-inline-repeater-fields .csf-repeater-content {
    display: flex;
    gap: 16px;

    >.csf-field {
        display: flex;
        flex-direction: column;

        @media only screen and (max-width: 1024px) {
            display: block;
        }

        .csf-title {
            width: auto;
        }

        .csf-fieldset {
            width: auto;
        }
    }

    @media only screen and (max-width: 1024px) {
        display: block;
    }
}

.csf-field-heading-sm {
    font-size: 15px;
}

.eshb-admin-notice {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    margin-right: 20px;
    padding: 10px;

    &.eshb-admin-notice-large {
        font-size: 20px;
        padding: 40px;
        margin-top: 20px;
    }
}

.inline-group-fields .csf-repeater-wrapper .csf-repeater-item {
    display: flex;

    .csf-repeater-content {
        display: flex;

        .csf-field {
            display: flex;
            flex-direction: column;
        }
    }

    .csf-repeater-content {
        .csf-title {
            width: 100%;
        }
    }

    .csf-repeater-helper {
        width: auto;
        align-content: center;
    }
}

.easy-hotel-plugin-settings.csf-theme-light {
    .csf-container {
        max-width: 1350px;
        margin: 0 auto;
    }

    .csf-header-inner,
    .csf-nav-inline {
        border-color: #f1f1f1;

        h1 {
            color: #222;
            font-weight: 600;
        }
    }

    .csf-wrapper {
        overflow: hidden;
    }

    .csf-nav-inline {
        padding: 30px;
        background: #fff;

        ul {
            li {
                border-radius: 3px;
                overflow: hidden;
                margin-right: 10px;

                a {
                    color: #222;
                    background-color: #eaeaea;
                    padding: 11px 30px;
                    border: none !important;

                    &:hover {
                        color: #fff;
                        background-color: #4360ef;
                    }
                }

                .csf-active {
                    color: #fff;
                    background-color: #4360ef;
                }
            }
        }
    }

    .csf-buttons .button {
        padding: 6px 30px;
        border: none !important;

        &.csf-top-save {
            background: #4360ef;
        }
    }
}

.eshb-notice {
    padding: 10px;

    &.notice {
        border-left-color: #576AE3 !important;
        padding: 10px;
    }

    padding: 5px !important;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.eshb-notice .notice-logo {
    padding: .8rem;
    max-width: 110px;
    max-height: 110px;
}

.eshb-notice .notice-right-container {
    margin: .7rem .8rem .8rem;
}

.eshb-notice-action-buttons {
    margin-top: 5px;
}

.eshb-notice-button {
    background-color: #576AE3;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    margin: 0;
    padding: 6px 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.eshb-notice-button:hover {
    color: #fff;
}

.eshb-notice-action-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.eshb-notice-widget-inner .feature-image {
    max-width: 100%;
}

.eshb-notice-widget-inner .eshb-notice-button {
    background-color: transparent;
}

#eshb-notice-emicon_pro_plugin_notice .eshb-notice-action-buttons {
    margin-top: 10px;
}

.eshb_easy_hotel_usage_callback {
    border: 1px solid #ededed;
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 30px;
}

.eshb_easy_hotel_help_support_callback {
    margin-bottom: 50px;

    .help-col-container {
        display: flex;
        gap: 30px;

        .help-col {
            width: 44%;
            border: 1px solid #ededed;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 2px 2px 30px #ededed;

            @media only screen and (max-width: 1024px) {
                width: 100%;
            }
        }
    }

    .eshb-youtube-playlist {
        display: flex;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 20px;

        .eshb-video-player {
            flex: 2 1 590px;
            min-width: 500px;

            iframe {
                width: 100%;
                height: 450px;
                border: none;
            }
        }

        .eshb-playlist-sidebar {
            flex: 1 1 300px;
            min-width: 250px;
            max-height: 450px;
            overflow-y: auto;
            background: #f9f9f9;
            border: 1px solid #ddd;

            h3 {
                margin: 0;
                padding: 10px;
                background: #eee;
                font-size: 16px;
                font-weight: bold;
            }

            .eshb-playlist-item {
                display: flex;
                align-items: flex-start;
                gap: 10px;
                padding: 8px;
                border: none;
                background: white;
                cursor: pointer;
                box-shadow: 3px 3px 3px #77777729;
                transition: background 0.2s ease;

                &:hover {
                    background: #f0f0f0;
                }

                img {
                    width: 120px !important;
                    height: 68px;
                    object-fit: cover;
                }

                .eshb-video-title {
                    flex: 1;
                    font-size: 14px;
                    font-weight: 500;
                }
            }
        }
    }


}

.order-status {
    display: inline-flex;
    line-height: 2.5em;
    color: #454545;
    background: #e5e5e5;
    border-radius: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    margin: -.25em 0;
    cursor: inherit !important;
    white-space: nowrap;
    max-width: 100%;
    text-transform: capitalize;

    span {
        margin: 0 1em;
        overflow: hidden;
        text-overflow: ellipsis
    }

    &.status-completed {
        background: #2a962a;
        color: white
    }

    &.status-on-hold {
        background: #f8dda7;
        color: #573b00
    }

    &.status-failed {
        background: #eba3a3;
        color: #570000
    }

    &.status-processing {
        background: #c6e1c6;
        color: #2c4700
    }

    &.status-trash {
        background: #eba3a3;
        color: #550202
    }

    &.status-deposit-payment {
        background: wheat;
    }
}

.eshb-themes-addons-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    margin-right: 20px;

    @media (max-width: 991px) {
        display: block;
    }

    .eshb-addons-action-button {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-right: 10px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 500;
        line-height: 40px;
        padding: 0 20px;
        text-decoration: none;
        border: none;
        background: #0039b6;
        color: #fff;

        &.view-all-btn {
            margin: auto;
            display: block;
            width: fit-content;
        }

        &.eshb-action-btn-primary {
            background-color: rgba(62, 98, 245, .1);
            color: #3e62f5;

            &:hover {
                color: #ff408c;
            }
        }

        &.eshb-action-btn-secondary {
            background-color: rgba(255, 64, 140, .1);
            color: #ff408c;

            &:hover {
                color: #0066bf;
            }
        }
    }

    .eshb-pro-addons-card-group {
        display: grid;
        gap: 1em;
        margin-bottom: 30px;

        .eshb-pro-addons-card {
            background-color: #fff;
            margin: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 5px 5px rgba(173, 180, 210, 0.05);
            border-radius: 5px;
            padding: 0;
            position: relative;
            overflow: hidden;

            span.eshb-pro-addons-base {
                background: #f9f9f9;
                display: block;
                font-size: 11px;
                position: absolute;
                left: -20px;
                top: 9px;
                transform: rotate(-45deg);
                width: 78px;

                span {
                    width: auto;
                    display: block;
                    padding: 2px 10px;
                    color: #fff;
                    text-align: center;

                    &.eshb-pro-base {
                        background: #93003f;
                    }

                    &.eshb-free-base {
                        background: #f59e0b;
                    }
                }
            }

            .eshb-pro-addons-body {
                display: flex;
                gap: 15px;
                padding: 1.5em;

                .eshb-pro-addons-thumbnail {
                    overflow: hidden;
                    width: 250px;
                    height: 150px;
                    display: block;
                    text-align: center;
                    border-radius: 4px;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .eshb-pro-addons-content {
                    width: calc(100% - 245px);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                }

                .eshb-pro-addons-name {
                    margin: 0;
                }
            }

            .eshb-pro-addons-action {
                display: flex;
                align-items: center;
            }

        }
    }
}


#eshb-license-activator {
    .form-group {
        display: inline-flex;
        position: relative;
        align-items: center;

        button,
        input[name="licnese_key"] {
            max-width: 255px;
            width: 255px;
            border: 1px solid #c4c4c4;
            padding: 8px 20px;
        }

        button {
            max-width: unset;
            width: unset;
        }

        .ajax-loader {
            display: none;
            position: absolute;
            right: -45px;

            img {
                height: 50px;
            }
        }
    }
}

body.rtl {
    .csf-content {
        margin-right: 0;
    }
}

.eshb-booking-info-calendar {
    --eshb-calendar-ical-completed-color: #97dfd4b5;
    --eshb-calendar-completed-color: #cef093;
    --eshb-calendar-pending-color: #fed24d;
    --eshb-calendar-blocked-color: #ffd0d0;

    .eshb-calendar-filter {
        padding: 15px;
        margin-bottom: 20px;
        background: #fff;
        gap: 20px;
        display: flex;
        justify-content: space-between;
        margin-right: 15px;
        width: auto;
        position: relative;

        @media (max-width: 767px) {
            flex-direction: column;
        }

        .eshb-calendar-filter-form {
            gap: 20px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;

            .eshb-calendar-filter-options {
                display: flex;
                gap: 20px;
                align-items: center;
                flex-wrap: wrap;

                #eshb-calendar-filter-period-wrapper {
                    display: flex;
                    align-items: center;
                    gap: 5px;

                    @media (max-width: 767px) {
                        >span {
                            display: none;
                        }
                    }
                }
            }

            .eshb-calendar-filter-actions {
                .button:nth-child(1) {
                    margin-right: 5px;
                }
            }

            @media (max-width: 767px) {}
        }

        .eshb-calendar-legends {
            display: flex;
            gap: 10px;

            .legend-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: 0 5px;
                font-size: 12px;

                &::before {
                    position: relative;
                    display: inline-block;
                    width: 15px;
                    height: 15px;
                    margin-right: 2px;
                    top: 3px;
                    content: "";
                    margin-bottom: 5px;
                }

                &.ical-complete {
                    &::before {
                        background-color: var(--eshb-calendar-ical-completed-color);
                    }
                }

                &.complete {
                    &::before {
                        background-color: var(--eshb-calendar-completed-color);
                    }
                }

                &.pending {
                    &::before {
                        background-color: var(--eshb-calendar-pending-color);
                    }
                }

                &.blocked {
                    &::before {
                        background-color: var(--eshb-calendar-blocked-color);
                    }
                }
            }
        }

    }

    .eshb-booking-info-calendar-tables {
        display: flex;
        margin-right: 15px;
        width: auto;
        position: relative;

        .eshb-accomodations-dates-table-wrapper {
            overflow-x: auto;
            position: relative;
            max-width: 100%;
            scroll-behavior: smooth;
        }

        table {
            background: #fff;
            border-collapse: collapse;
            width: 100%;
            table-layout: fixed;

            &.eshb-accomodations-rooms-table {
                position: absolute;
                height: calc(100% - 13px);
                width: 160px;

                @media (max-width: 767px) {
                    height: calc(100% + 3px);
                }
            }

            // overflow-y: auto;
            >thead tr,
            >tfoot tr {
                height: 77px;
                max-height: 77px;

                th {
                    min-width: 45px;
                    width: 45px;
                }
            }

            tr {
                height: 100%;
            }

            th,
            td {
                height: inherit;
                min-width: 40px;
                border-collapse: collapse;
                border: 1px solid #e3e3e3;
            }

            th {
                font-size: 12px;

            }

            td {
                height: 45px;

                a {
                    text-decoration: none;
                }

                .room-info {
                    padding: 4px 15px;
                }

                &.booking-info-col {
                    vertical-align: baseline;
                }

                &.booking-info-col[colspan="1"] {
                    max-width: 40px;
                    min-width: 40px;
                }

                .booking-info {
                    margin: 1px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    padding: 3px 5px;
                    font-size: 12px;

                    &.ical-status-completed {
                        background: var(--eshb-calendar-ical-completed-color);
                    }

                    &.status-completed {
                        background: var(--eshb-calendar-completed-color);
                    }

                    &.status-blocked {
                        background: var(--eshb-calendar-blocked-color);
                    }

                    &.status-pending {
                        background: var(--eshb-calendar-pending-color)
                    }
                }

            }

            .left-heading {
                position: sticky;
                left: 0;
                z-index: 3;
                box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
                /* optional for visual effect */
                width: 160px;
                background-color: #fff;

                div {
                    display: block;
                    height: 100%;
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    width: 100%;
                    align-content: center;
                    border-right: 2px solid #e3e3e3;
                }
            }

            .table-heading {
                font-size: 15px;
            }
        }



    }
}

#eshb-booking-info-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999999 !important; // Increased z-index
    display: none;
    opacity: 1;
    pointer-events: auto !important; // Ensure modal is interactive
    visibility: visible;

    .booking-info-modal-bg-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 99999998 !important; // Background overlay should be just below modal
    }

    .booking-info-modal-main {
        position: fixed;
        background: #fff;
        z-index: 99999999 !important; // Modal must be on top
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        width: 750px;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3); // Add shadow for better visibility

        @media (max-width: 767px) {
            width: 100%;
        }

        .booking-info-modal-header {
            display: block;
            position: relative;
            height: auto;
            background: #fcfcfc;
            padding: 1em 1.5em;
            border-bottom: 1px solid #ddd;

            h2 {
                padding: 0 !important;
                margin: 0 !important;
                font-size: 18px !important;
                font-weight: 700 !important;
                line-height: 1.5em !important;
            }

            .booking-info-modal-close {
                cursor: pointer;
                color: #777;
                height: 54px;
                width: 54px;
                padding: 0;
                position: absolute;
                top: 0;
                right: 0;
                text-align: center;
                border: 0;
                border-left: 1px solid #ddd;
                background-color: transparent;
                transition: color .1s ease-in-out, background .1s ease-in-out;
                border-radius: 0;
                z-index: 99999999 !important; // Ensure close button is above all

                &::before {
                    font: normal 22px/50px dashicons !important;
                    color: #666;
                    display: block;
                    content: "\f335";
                }
            }
        }

        .booking-info-modal-content {
            padding: 0.5em 1.5em 2em;
            overflow: auto;
            max-height: 85vh;
        }
    }
}

.csf-field-group .csf-cloneable-item {
    display: block;

    .csf-cloneable-content {
        display: none;
    }

    .csf-cloneable-alert {
        display: none;
    }
}

.daterangepicker {
    --eshb-booked-bg-color: #bebcbb;
    --eshb-active-bg-color: var(--eshb-primary-color);
    --eshb-inrange-bg-color: var(--eshb-dark-color);

    --eshb-booked-color: var(--eshb-dark-color);
    --eshb-active-color: var(--eshb-white-color);
    --eshb-inrange-color: var(--eshb-white-color);

    /* Bootstrap Table Styles */
    &.dropdown-menu {
        z-index: 10000;
    }

    .calendar-table {
        border: none;
    }

    .daterangepicker_input {
        display: none;
    }

    .range_inputs button {
        padding: 5px 20px;
        cursor: pointer;
        width: auto;

        &.applyBtn {
            background-color: var(--eshb-primary-color);
            border: 1px solid var(--eshb-primary-color);
            color: var(--eshb-white-color);

            &:hover {
                background-color: transparent;
                color: var(--eshb-text-color);
                border: 1px solid var(--eshb-primary-color);
            }
        }

        &.cancelBtn {
            background-color: transparent;
            color: var(--eshb-text-color);
            border: 1px solid var(--eshb-primary-color);

            &:hover {
                color: var(--eshb-white-color);
                background-color: var(--eshb-primary-color);
                border: 1px solid var(--eshb-primary-color);
            }
        }
    }

    table {
        width: 100%;
        margin-bottom: 1rem;
        color: var(--eshb-text-color);
        border-collapse: collapse;
        border: none !important;
    }

    table th,
    table td {
        vertical-align: top;
        padding: 3px;
        background: transparent;
        border-radius: 0px !important;
    }

    th.next.available:before {
        content: "\f345";
        font-family: 'dashicons';
    }

    th.prev.available:before {
        content: "\f341";
        font-family: 'dashicons';
    }

    thead:first-child tr:first-child th {
        border-block-start: unset;
    }

    table {
        tr {
            display: block;
            margin-top: 8px;
        }
    }

    td {
        text-decoration: none !important;

        &:hover {
            background-color: var(--eshb-active-bg-color) !important;
            color: var(--eshb-active-color) !important;
        }

        // Booked date styling
        &.booked-date {
            color: var(--eshb-booked-color) !important;
            background-color: var(--eshb-booked-bg-color) !important;

            &.active {
                color: var(--eshb-booked-color) !important;
                background-color: var(--eshb-booked-bg-color) !important;
            }

            &:hover {
                background-color: transparent;
            }


        }

        // Checked-in booked
        &.checked-in-date {
            background-image: linear-gradient(135deg, transparent 50%, var(--eshb-booked-bg-color) 50%);
            color: var(--eshb-booked-color) !important;
            font-style: italic;

            &.active,
            &:hover {
                background-color: var(--eshb-active-bg-color) !important;
                background-image: linear-gradient(135deg, transparent 50%, var(--eshb-booked-bg-color) 50%);
                color: var(--eshb-active-color) !important;
            }
        }

        // Checked-out date
        &.checked-out-date {
            background-image: linear-gradient(135deg, var(--eshb-booked-bg-color) 50%, transparent 50%);
            font-style: italic;
        }

        // Holiday styling
        &.holiday-date {
            color: rgb(255, 0, 0) !important;

            &:hover {
                background-color: transparent;
            }
        }

        &.start-date.active {
            background-color: var(--eshb-active-bg-color) !important;
            color: var(--eshb-active-color) !important;
        }

        &.end-date.active,
        &.end-date.active:hover {
            background-color: var(--eshb-active-bg-color) !important;
            color: var(--eshb-active-color) !important;
        }



        // Date range
        &.in-range {
            background-color: var(--eshb-inrange-bg-color);
            color: var(--eshb-active-color) !important;
        }
    }
}

body.post-type-eshb_booking,
body.post-type-eshb_payment {
    #post-body-content {
        margin-bottom: 0 !important;
    }

    .page-title-action {
        display: none;
    }

    .eshb-page-title-action {
        margin-top: -5px;
        vertical-align: middle;
    }

    &.eshb-has-manual-booking {
        .page-title-action {
            display: inline-block !important;
        }
    }

    #major-publishing-actions {
        #delete-action {
            margin-right: 10px;
        }

        #publishing-action {
            float: left;

            .spinner {
                float: right;
            }
        }

        .eshb-error-message {
            display: none;
        }
    }

    .input-error {
        border: 1px solid var(--eshb-danger-color);
    }
}

.has-required-notice {
    opacity: 0.5;
    pointer-events: none;
}

#eshb_booking_metaboxes {
    .err-msg {
        margin: 5px 10px 5px -12px;
        color: var(--eshb-danger-color);
    }

    .csf-field-text input {
        max-width: 250px;
    }

    .booking-requirement-input .csf-fieldset {
        .csf--wrap {
            margin-right: 5px;
        }

        .capacity-status {
            margin-top: 5px;
        }
    }

    .booking_metaboxes-pricing-calculation-fields {
        background: #f9f9f9;
        min-height: 140px;

        .cost-calculator-wrapper {
            .total-cost-label {
                display: flex;
                justify-content: space-between;

                .eshb-booking-value {
                    display: inline;
                }
            }

            .eshb-booking-total-discounted-pricing {
                display: none;
                border-top: 1px dashed;
                padding-top: 15px;
            }

            &.has-discounted-price {
                .eshb-booking-total-pricing {
                    font-size: 16px;
                }

                .eshb-booking-total-discounted-pricing {
                    display: flex;
                    font-size: 26px;
                }
            }
        }
    }

    .eshb-customer-details-input-group {
        margin-top: 50px;
        max-width: fit-content;

        .eshb-booking-form-customer-details {
            background: #fff;
            padding: 15px;
            box-shadow: 5px 5px 5px 9px #ededed59;
            border-radius: 10px;
        }

        .eshb-form-group {
            display: flex;
            gap: 20px;

            input {
                margin-bottom: 15px;
                width: 250px;
            }

            select {
                margin-bottom: 15px;
                width: 250px;
            }

            textarea {
                width: 100%;
                height: 80px;
            }
        }

        button#confirm-booking-admin {
            padding: 4px 18px;
            margin-top: 15px;
            font-size: 14px;
        }
    }

    .time-slots-metabox {
        display: none;
    }

    .time-slots-wrapper {
        display: none;

        .field-label {
            display: none;
            text-align: center;
        }

        .eshb-form-group {
            display: contents;
        }

        &.has-time-slots {
            display: block;

            .field-label {
                display: block;
            }

            .empty-slot-msg {
                display: none;
            }
        }

        .eshb-form-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            flex-direction: column;
            align-items: center;
        }

        .time-slots {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .eshb-time-slot {
            display: flex !important;
            align-items: center;
            margin: 0;

            .eshb-times {
                display: flex;
                align-items: center;
                gap: 10px;

                input {
                    text-align: center;

                    &::-webkit-calendar-picker-indicator {

                        filter: brightness(0) invert(1);
                        cursor: pointer;
                        //background: url(../img/clock-icon.svg);

                    }
                }
            }
        }
    }
}

.eshb-deposit-requests-metaboxes-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;

    .eshb-deposit-requests-metabox-item {
        display: flex;
        align-items: center;
        gap: 5px;

        p {
            margin: 0;
        }

        &:nth-last-child(1) {
            border-top: 1px solid #ededed;
            padding-top: 15px;
        }
    }

    .ajax-loader {
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        justify-content: center;
        background: #fffffff2;

        img {
            height: 50px;
        }
    }

    p.form-status {
        display: contents;
        margin-bottom: 9px;
    }
}

.eshb-plugin-page {
    #titlediv #title {
        border-color: #d4d2d2;
    }

    .postbox {
        box-shadow: 0 4px 40px rgba(0, 0, 0, 0.05);
        border-radius: 10px;
        overflow: hidden;
        border: none;

        .eshb-admin-notice {
            margin: auto;
        }
    }

    .wp-list-table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

        thead {
            background: #f5f7fa;

            th {
                padding: 12px 16px;
                font-weight: 600;
                font-size: 14px;
                text-align: left;
                color: #333;
                border-bottom: 2px solid #e1e5eb;
            }
        }

        tbody {
            tr {
                transition: background 0.2s ease;

                &:nth-child(even) {
                    background: #fafafa;
                }

                &:hover {
                    background: #f0f4ff;
                }

                td {
                    padding: 12px 16px;
                    font-size: 14px;
                    color: #444;
                    border-bottom: 1px solid #eaeaea;

                    &:first-child {
                        font-weight: 500;
                        color: #222;
                        width: 30%;
                    }

                    &:last-child {
                        color: #555;
                    }
                }
            }
        }
    }
}

// help & supports
.eshb_easy_hotel_help_support_callback .eshb-help-support {
    padding: 24px 0 0 0;
}

.eshb_easy_hotel_help_support_callback .eshb-help-support h2 {
    font-size: 32px;
    line-height: normal;
}

.eshb_easy_hotel_help_support_callback .help-col-container {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 32px;
}

.eshb_easy_hotel_help_support_callback .help-col {
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 2px 3px 0 hsla(0, 0%, 51%, .1);
    padding: 24px;
}

.eshb_easy_hotel_help_support_callback .help-col h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.01em;
}

.eshb_easy_hotel_help_support_callback .help-col .fa-facebook,
.eshb_easy_hotel_help_support_callback .help-col .fa-youtube,
.eshb_easy_hotel_help_support_callback .help-col .fa-linkedin {
    padding: 3px 5px;
    font-size: 20px;
    margin-right: 4px;
}

.eshb_easy_hotel_help_support_callback .help-col p,
.eshb_easy_hotel_help_support_callback .help-col ul {
    margin-bottom: 0.7em;
}

.eshb_easy_hotel_help_support_callback .help-col ul {
    padding-left: 18px;
}

.eshb_easy_hotel_help_support_callback .help-col a {
    display: inline-block;
    background: linear-gradient(90deg, #ab8965 0%, #70533a 100%);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
    margin-top: 10px;
    box-shadow: 0 1px 4px rgba(171, 137, 101, 0.08);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    font-size: 1em;
}

.eshb_easy_hotel_help_support_callback .help-col a:hover {
    background: linear-gradient(90deg, #70533a 0%, #ab8965 100%);
    box-shadow: 0 4px 16px rgba(171, 137, 101, 0.18);
    transform: translateY(-2px) scale(1.04);
    text-decoration: none;
}

.eshb_easy_hotel_help_support_callback .eshb-youtube-playlist {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.eshb_easy_hotel_help_support_callback .eshb-video-player {
    flex: 2 1 320px;
    min-width: 320px;

    @media only screen and (max-width: 1024px) {
        flex: 1 !important;
    }
}

.eshb_easy_hotel_help_support_callback .eshb-video-player iframe {
    width: 100%;
    min-height: 220px;
    border-radius: 8px;

    @media only screen and (max-width: 1024px) {
        min-height: 160px;
        width: auto !important;
    }
}

.eshb_easy_hotel_help_support_callback .eshb-playlist-sidebar {
    flex: 1 1 180px;
    min-width: 180px;

    @media only screen and (max-width: 1024px) {
        flex: 1 !important;
        width: 100% !important;
    }
}

.eshb_easy_hotel_help_support_callback .eshb-playlist-item {
    background: #f8f6f3;
    border: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}

.eshb_easy_hotel_help_support_callback .eshb-playlist-item:hover {
    background: #f0e8df;
}

@media (max-width: 900px) {
    .eshb_easy_hotel_help_support_callback .help-col-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eshb_easy_hotel_help_support_callback .help-col {
        min-width: 0;
    }

    .eshb_easy_hotel_help_support_callback .eshb-youtube-playlist {
        flex-direction: column;
    }
}

.eshb_easy_hotel_help_support_callback .eshb-social-icons a {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 5px;
    margin-right: 6px;
    background: #4360ee;
    transition: background 0.15s;
    font-size: 20px;
    line-height: 1;
    color: #fff !important;
}

.eshb_easy_hotel_help_support_callback .eshb-social-icons a:hover {
    background: #e6e6e6;
}

.eshb_easy_hotel_help_support_callback .help-col .btn-docs {
    background: #e8f0fe;
    color: #4360ee;
    font-weight: 600;
}

.eshb_easy_hotel_help_support_callback .help-col .btn-docs:hover {
    background: #4360ee;
    color: #fff;
}

.eshb_easy_hotel_help_support_callback .help-col .btn-support {
    background: #eafaf1;
    color: #00bfae;
    font-weight: 600;
}

.eshb_easy_hotel_help_support_callback .help-col .btn-support:hover {
    background: #00bfae;
    color: #fff;
}

.eshb_easy_hotel_help_support_callback .help-col .btn-community {
    background: #fff3e0;
    color: #ff9800;
    font-weight: 600;
}

.eshb_easy_hotel_help_support_callback .help-col .btn-community:hover {
    background: #ff9800;
    color: #fff;
}

/* Dashicon backgrounds for Help & Support boxes */
.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 22px;
    background: #e8f0fe;
    color: #4360ee;
    box-shadow: 0 1px 4px rgba(171, 137, 101, 0.06);
}

.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg.docs {
    background: #e8f0fe;
    color: #4360ee;
}

.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg.support {
    background: #eafaf1;
    color: #00bfae;
}

.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg.community {
    background: #fff3e0;
    color: #ff9800;
}

.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 1;
}

.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg.follow {
    background: #f3e8fd;
    color: #8e24aa;
}

.eshb_easy_hotel_help_support_callback .eshb-dashicon-bg.video {
    background: #fdeaea;
    color: #ff0000;
}

.eshb_easy_hotel_help_support_callback .help-col-video {
    width: 100%;
    max-width: -webkit-fill-available;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 32px 28px 24px 28px;
    margin-top: 32px;
    margin-bottom: 0;
    border: 1px solid #f0f0f0;
}

@media (max-width: 900px) {
    .eshb_easy_hotel_help_support_callback .help-col-video {
        padding: 22px 10px 18px 10px;
    }
}