/* Desktop Floating Booking Button */
.desktop-floating-book-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9997; /* Higher than most elements but below auth modals (9999) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none; /* Hidden on mobile by default */
}

.desktop-floating-book-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-floating-book-btn .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(252, 49, 48, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.desktop-floating-book-btn .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(252, 49, 48, 0.5);
    background: linear-gradient(135deg, #FF4544, #C93634);
}

.desktop-floating-book-btn .btn:active {
    transform: translateY(-2px);
}

.desktop-floating-book-btn .btn-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Pulse animation for attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(252, 49, 48, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(252, 49, 48, 0.6), 0 0 0 8px rgba(252, 49, 48, 0.1);
    }
}

.desktop-floating-book-btn .btn {
    animation: pulse 2s infinite;
}

.desktop-floating-book-btn .btn:hover {
    animation: none;
}

/* Show on all devices */
.desktop-floating-book-btn {
    display: block;
}

/* Mobile and tablet styles */
@media (max-width: 1024px) {
    .desktop-floating-book-btn {
        display: block !important;
        bottom: 3rem; /* Lowered slightly, just above footer links */
        right: 1rem;
        z-index: 9997;
    }
    
    .desktop-floating-book-btn .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        border-radius: 50px;
        box-shadow: 0 6px 20px rgba(252, 49, 48, 0.4);
    }
    
    .desktop-floating-book-btn .btn-icon {
        width: 20px;
        height: 20px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .desktop-floating-book-btn {
        bottom: 2.5rem; /* Lowered slightly, just above footer links */
        right: 0.75rem;
    }
    
    .desktop-floating-book-btn .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
}

/* Smooth entrance animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.desktop-floating-book-btn.visible {
    animation: slideInUp 0.4s ease-out;
}

