/* FIXED FLOATING BUTTONS - CORRECT ORDER */

.floating-actions-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
    display: flex;
    flex-direction: column-reverse;
    /* REVERSED: bottom to top visually */
    gap: 15px;
    align-items: flex-end;
}

/* All buttons base style */
.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Chatbot removed */

/* WhatsApp - Green */
.whatsapp-btn {
    background: #25D366 !important;
}

.whatsapp-btn:hover {
    background: #128C7E !important;
}

/* Scroll Top - Dark with yellow border */
.scroll-top-btn {
    background: #1a1a1a !important;
    border: 2.5px solid #FFD043 !important;
}

.scroll-top-btn:hover {
    background: #2a2a2a !important;
    border-color: #FFC107 !important;
}

/* Tooltip */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-actions-container {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn,
    #chatbotToggle {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .floating-btn::before {
        display: none;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .floating-actions-container {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .floating-btn,
    #chatbotToggle {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}