body.show-modal {
    overflow: hidden;
}

.kt-booking-schedule {
    position: relative;
    color: black;
    font-size: 10px;
    margin-block: 32px;
}

.kt-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 99999;
}

.kt-booking-schedule.loading .kt-loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kt-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: kt-spin 1s linear infinite;
}

@keyframes kt-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.booking-table {
    position: relative;
    border-collapse: separate;
    border-spacing: 0;
}

.booking-table-fixed--top-left {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    max-width: 135px;
}

.booking-table-fixed--top-left .fixed-column {
    background: #2c115f;
}

.booking-table-fixed--top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #2c115f;
}

.booking-table-fixed--left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 5;
    background: #2c115f;
    max-width: 135px;
}

.booking-table-container {
    position: relative;
    overflow: auto;
    max-height: 500px;
    max-width: 100%;

    background: #2c115f;
    color: white;
    margin-bottom: 16px;
}

.booking-table-container table td, 
.booking-table-container table th {
    padding: 8px 12px;
}

.booking-status-btn {
    border-radius: 4px;
    border: 1px solid black;
    margin: auto;
    height: 20px;
    cursor: pointer;
    width: 70px;
    font-size: 12px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-status-btn--available {
    background: white;
}

.booking-status-btn--available:hover {
    background: #e31313;
}

.booking-status-btn--booked {
    background: #041332;
    cursor: not-allowed;
}

.booking-status-btn--booked:hover {
    background: #2c115f;
}

.booking-status-btn--selected {
    background: #e31313;
}

.booking-schedule__type {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.booking-schedule__type-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-schedule__type-item--booked::before {
    content: '';
    height: 18px;
    width: 18px;
    background: #2c115f;
    border: 1px solid #38bdf8;
    border-radius: 100%;
}

.booking-schedule__type-item--available::before {
    content: '';
    height: 18px;
    width: 18px;
    background: white;
    border: 1px solid black;
    border-radius: 100%;
}

.booking-schedule__type-item--selected::before {
    content: '';
    height: 18px;
    width: 18px;
    background: red;
    border: 1px solid black;
    border-radius: 100%;
}

.booking-schedule__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booking-schedule__total-label  {
    font-size: 14px;
    font-weight: bold;
}

.booking-schedule__total-price {
    font-size: 27px;
    font-weight: bold;
    color: #38bdf8;
}

.booking-schedule__bottom {
    margin-bottom: 16px;
}

.room-price {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6000;
    font-size: 10px;
    font-weight: bold;
}

.type-day:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: contain;
    vertical-align: middle;
    margin-right: 4px;
}

.type-night:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: contain;
    vertical-align: middle;
    margin-right: 4px;
}

.row-above-second {
    height: 37px;
}

.sticky-header {
    position: sticky;
    top: 0px;
    background: #2c115f;
    z-index: 11;
}

.sticky-column {
    position: sticky;
    left: 0px;
    background: #2c115f;
}

.sticky-column-2 {
    position: sticky;
    left: 42px;
}

.booking-table thead {
    background: #2c115f;
}

.booking-table th,
.booking-table td {
    background: #2c115f !important;
    border: 1px solid #585858;
    border-right-width: 0;
    border-bottom-width: 0;
    vertical-align: middle;
}

.booking-table * {
    box-sizing: border-box;
}

.bg-purple {
    background: #2c115f;
}

/* Booking form */
.kt-booking-form-wrapper {
    display: none;
    padding: 20px;
    background: #2c115f;
    color: white;
    border-radius: 16px;
    font-size: 14px;
}

.kt-form-row {
    margin-bottom: 24px;
}

.kt-form-label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.kt-form-bottom-checkbox input {
    vertical-align: middle;
    margin-right: 3px;
}

.id-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.id-card-wrapper input {
    display: none;
}

.id-card-btn {
    flex: 1;
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #0A0F1A !important;
    border-color: #2d3748 !important;
}

.id-card-btn__upload-content img {
    width: 60px;
    fill: #718096;
    margin-bottom: 16px;
}

.kt-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kt-form-total-item {
    display: flex;
    justify-content: space-between;
}

.form-total-price {
    color: #38bdf8;
    font-size: 27px;
    padding-left: 10px;
}

.kt-form-total-price {
    display: flex;
    justify-content: space-between;
}

.kt-form-services-total-item {
    display: flex;
    justify-content: space-between;
}

.kt-form-services-total-item__name {
    font-size: 14px;
}

.kt-form-services-total-item__price {
    color: #38bdf8;
    font-size: 20px;
    padding-left: 10px;
}

.form-agreement .policy-link {
    color: #FF6000;
}

/* Animation Glowing */


@keyframes glowing {
    0% {
        box-shadow: 0 0 8px rgba(240, 59, 246, 0.6);
    }
    50% {
        box-shadow: 0 0 16px rgba(240, 59, 246, 0.8);
    }
    100% {
        box-shadow: 0 0 8px rgba(240, 59, 246, 0.6);
    }
}

.booking-status-btn--change-price {
    animation: glowing 1.5s infinite;
}

/* discount-price */
.discount-price {
    margin-right: 4px;
}

/* discount-message */
.kt-booking-discount-message {
    color: white;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 435px) {
    .booking-table-container table td, .booking-table-container table th {
        padding: 4px;
    }

    .sticky-column-2 {
        left: 24px;
    }

    .booking-status-btn {
        max-width: 60px;
    }
}

/* Cart Items */
.kt-form-product-total {
    padding-block: 8px;
}

.kt-form-product-total__title {
    margin-bottom: 16px;
}

.kt-product-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    max-height: 40px;
    padding: 8px;
    margin-bottom: 16px;
}

.kt-product-cart-item__thumb {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.kt-product-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.kt-product-cart-item__info {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.kt-product-cart-item__name {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kt-product-cart-item__price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.kt-product-cart-item__regular-price.has-sale {
    text-decoration: line-through;
    color: #999;
}

.kt-product-cart-item__sale-price {
    color: #e53935;
}

.kt-product-cart-item__actions {
    flex-shrink: 0;
}

.kt-product-cart-item__remove {
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    line-height: 0;
}

.kt-product-cart-item__remove:hover {
    color: #e53935;
}

/* kt-product-list-modal */
.kt-product-list-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(53, 12, 12, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.show-modal .kt-product-list-modal {
    display: flex;
    z-index: 9999;
}

.kt-product-list-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(53, 12, 12, 0.5);
    z-index: 999;
}

.kt-product-list-modal__inner {
    position: relative;
    width: min(600px, calc(100% - 40px));
    margin: 0 auto;
    height: 100%;
    max-height: 80%;
    z-index: 1000;
    background: #2c115f;
    overflow: hidden;
    border-radius: 8px; /* Add rounded corners */
}

.kt-product-list-modal__header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kt-product-list-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.kt-product-list-modal__content {
    padding: 20px;
    height: calc(100% - 122px);
    overflow-y: auto;
}

.kt-product-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kt-product-list-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    flex-wrap: nowrap;
    transition: box-shadow 0.2s ease;
    gap: 8px;
}

.kt-product-list-item:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.kt-product-list-item__image {
    width: 60px;
    height: 60px;
    margin-right: 0;
    flex-shrink: 0;
}

.kt-product-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.kt-product-list-item__no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 4px;
}

.kt-product-list-item__info {
    flex: 1;
    min-width: 0;
}

.kt-product-list-item__name {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 500;
}

.kt-product-list-item__price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kt-product-list-item__regular-price {
    font-weight: 500;
}

.kt-product-list-item__regular-price.has-sale {
    text-decoration: line-through;
    color: #999;
    font-weight: normal;
}

.kt-product-list-item__sale-price {
    color: #e53935;
    font-weight: 500;
}

.kt-product-list-item__actions {
    margin-left: 15px;
}

.kt-product-list-item__add-to-cart {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.kt-product-list-item__add-to-cart:hover {
    background: #43A047;
}

.kt-product-list-modal__footer {
    box-sizing: border-box;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #2c115f;
}

.kt-product-list-empty {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* Product Alert Styles */
.kt-product-list-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.kt-product-list-alert__content {
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.kt-product-list-alert--error .kt-product-list-alert__content {
    background: #f44336;
}

.kt-product-list-item__quantity {
    min-width: 32px;
    display: flex;
}

.kt-product-list-item__quantity .number-input {
    max-width: 50px;
    padding: 4px 8px;
    border: none;
    border-radius: 0;
}

.kt-product-list-item__quantity div {
    width: 20px;
    min-width: 15px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: black;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 600px) {
    .kt-product-list-item__info {
        min-width: auto;
    }

    .kt-product-list-item__actions {
        margin-left: 0;
    }
}
