.booking-box {
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-box:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.kapasitas-label-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.kapasitas-label-group small {
    font-weight: 600;
    color: #666;
    font-size: 12px;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.villa-form .form-label {
    font-weight: 700;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.villa-form .form-label i {
    color: #4b514d;
    font-size: 16px;
}

.villa-form .date-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.3s ease;
    font-weight: 500;
}

.villa-form .date-input::placeholder {
    color: #a0aec0;
    font-size: 13px;
    font-weight: 400;
}

.villa-form .date-input:focus {
    border-color: #4b514d;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 81, 77, 0.1);
    transform: translateY(-1px);
}

.kapasitas-group {
    display: flex;
    align-items: stretch;
    width: 130px !important;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
}

.kapasitas-group:focus-within {
    border-color: #4b514d;
    box-shadow: 0 0 0 3px rgba(75, 81, 77, 0.1);
}

.kapasitas-input {
    border: none;
    flex-grow: 1;
    text-align: center;
    padding: 10px 0;
    background-color: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.btn-minus,
.btn-plus {
    background: linear-gradient(135deg, #4b514d 0%, #5a625d 100%);
    color: #fff;
    border: none;
    padding: 0;
    width: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.btn-minus::before,
.btn-plus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-minus:hover::before,
.btn-plus:hover::before {
    left: 100%;
}

.btn-minus {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-plus {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-minus:hover,
.btn-plus:hover {
    background: linear-gradient(135deg, #5a625d 0%, #6b746e 100%);
    color: #fff;
    transform: scale(1.05);
}

.btn-minus:active,
.btn-plus:active {
    transform: scale(0.95);
}

.btn-booking {
    background: linear-gradient(135deg, #4b514d 0%, #5a625d 100%);
    border: 2px solid #4b514d;
    color: #fff;
    width: 100%;
    padding: 16px 0;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.btn-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-booking:hover::before {
    left: 100%;
}

.btn-booking:hover {
    background: linear-gradient(135deg, #5a625d 0%, #6b746e 100%);
    border-color: #5a625d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 81, 77, 0.4);
}

.btn-booking:active {
    transform: translateY(-1px);
}

.room_facilities_list ul li i {
    color: #4b514d;
    transition: transform 0.3s ease;
}

.room_facilities_list ul li:hover i {
    transform: scale(1.1);
}

/* Enhanced Mobile Date Bar */
#mobile-date-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.date-display-group {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-grow: 1;
    margin-bottom: 16px;
    gap: 8px;
}

.date-item {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.date-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4b514d, #5a625d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.date-item.active::before {
    transform: scaleX(1);
}

.date-item.active {
    border-color: #4b514d;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 81, 77, 0.15);
}

.date-item:active {
    background-color: #f1f5f9;
    transform: scale(0.98);
}

.date-item small {
    display: block;
    font-size: 11px;
    color: #718096;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.date-item.active small {
    color: #4b514d;
    font-weight: 700;
}

.date-item span {
    display: block;
    font-size: 10px !important;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.date-item.active span {
    color: #4b514d;
}

.date-item .empty-date {
    font-size: 12px;
    font-weight: 500;
    color: #a0aec0;
}

.mobile-controls-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.kapasitas-group-mobile {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 4px;
    transition: all 0.3s ease;
    flex: 1;
}

.kapasitas-group-mobile:focus-within {
    border-color: #4b514d;
    box-shadow: 0 0 0 3px rgba(75, 81, 77, 0.1);
}

#mobile-kapasitas-display {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    padding: 0 12px;
    min-width: 24px;
    text-align: center;
    flex: 1;
}

.btn-minus-mobile,
.btn-plus-mobile {
    background: linear-gradient(135deg, #4b514d 0%, #5a625d 100%);
    color: #fff;
    border: none;
    padding: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-minus-mobile::before,
.btn-plus-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-minus-mobile:hover::before,
.btn-plus-mobile:hover::before {
    left: 100%;
}

.btn-minus-mobile:active,
.btn-plus-mobile:active {
    transform: scale(0.9);
    background: linear-gradient(135deg, #3a3f3c 0%, #4b514d 100%);
}

.villa-form-mobile .btn-booking {
    width: 100%;
    padding: 14px 0;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #4b514d 0%, #5a625d 100%);
    border: 2px solid #4b514d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(75, 81, 77, 0.3);
    flex: 2;
    position: relative;
    overflow: hidden;
}

.villa-form-mobile .btn-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.villa-form-mobile .btn-booking:hover::before {
    left: 100%;
}

.villa-form-mobile .btn-booking:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(75, 81, 77, 0.3);
}

/* Enhanced animations */
@keyframes dateUpdate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.date-updated {
    animation: dateUpdate 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#mobile-date-bar {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    #mobile-date-bar {
        display: flex !important;
        flex-direction: column;
    }

    .bg_white {
        padding-bottom: 140px !important;
    }

    .date-item {
        padding: 8px 4px;
    }

    .date-item small {
        font-size: 10px;
    }

    .date-item span {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    #mobile-date-bar {
        padding: 14px 16px;
    }

    .date-display-group {
        margin-bottom: 10px;
        gap: 6px;
    }

    .date-item {
        padding: 8px 3px;
    }

    .date-item small {
        font-size: 9px;
    }

    .date-item span {
        font-size: 12px;
    }

    .villa-form-mobile .btn-booking {
        padding: 12px 0;
        font-size: 13px;
    }

    #mobile-kapasitas-display {
        font-size: 13px !important;
        padding: 0 10px;
    }

    .btn-minus-mobile,
    .btn-plus-mobile {
        width: 20px;
        height: 18px;
        font-size: 11px;
    }

    .mobile-controls-group {
        gap: 10px;
    }
}

/* Loading state for buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}