/* AJAX Notification Styles */
.hbe-notification {
    padding: 12px 16px;
    margin: 0 30px 20px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.hbe-notification-error {
    background: #fed7d7;
    color: #c53030;
    border-left: 4px solid #e53e3e;
}

.hbe-notification-success {
    background: #c6f6d5;
    color: #276749;
    border-left: 4px solid #38a169;
}

.hbe-notification-info {
    background: #bee3f8;
    color: #2c5aa0;
    border-left: 4px solid #3182ce;
}

/* Button Loading State */
.button-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.booking-button.loading {
    position: relative;
    color: transparent;
}

.booking-button.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.booking-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Make sure the Book Now button is visible and functional */
#hbe_book_now_btn {
    opacity: 1 !important;
    cursor: pointer !important;
}

#hbe_book_now_btn:not(:disabled):hover {
    transform: translateY(-1px) !important;
}

/* Naira symbol styling */
#total_price_display {
    font-weight: 700;
    color: #667eea;
}

/* Enfold theme compatibility */
.hbe-booking-form-wrapper {
    clear: both;
    margin: 20px 0;
}

.room-type-product form.cart {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}