/* Floating WhatsApp & Scroll-to-Top — styles */

.fws-container {
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    pointer-events: none;
}

.fws-container .fws-btn {
    pointer-events: auto;
}

/* Position variants */
.fws-bottom-right {
    right: 20px;
    bottom: 20px;
}

.fws-bottom-left {
    left: 20px;
    bottom: 20px;
}

.fws-top-right {
    right: 20px;
    top: 20px;
}

.fws-top-left {
    left: 20px;
    top: 20px;
}

/* Button base */
.fws-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.25s ease;
    text-decoration: none;
    padding: 0;
    outline: none;
}

.fws-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

.fws-btn:active {
    transform: scale(0.96);
}

.fws-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* WhatsApp green */
.fws-whatsapp {
    background-color: #25D366;
}

.fws-whatsapp:hover {
    background-color: #1ebe5b;
}

/* Scroll-to-top dark */
.fws-scroll-top {
    background-color: #2C2C2A;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.fws-scroll-top.fws-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fws-scroll-top:hover {
    background-color: #444441;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .fws-bottom-right,
    .fws-bottom-left {
        bottom: 16px;
    }

    .fws-bottom-right,
    .fws-top-right {
        right: 16px;
    }

    .fws-bottom-left,
    .fws-top-left {
        left: 16px;
    }

    .fws-btn {
        width: 48px;
        height: 48px;
    }

    .fws-btn svg {
        width: 22px;
        height: 22px;
    }
}
