
/* ==========================================
   FLOATING WHATSAPP HELP
========================================== */

.whatsapp-help {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9998;

    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    font-family: "DM Sans", sans-serif;
}

.whatsapp-help-label {
    display: flex;
    flex-direction: column;
    gap: 3px;

    padding: 11px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow: 0 6px 25px rgba(0, 0, 0, .1);

    transition: transform .25s ease;
}

.whatsapp-help-label strong {
    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.whatsapp-help-label small {
    color: #64748b;
    font-size: 11px;
}

.whatsapp-help-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #ffffff;
    border-radius: 50%;

    box-shadow: 0 6px 22px rgba(37, 211, 102, .35);

    transition: transform .25s ease,
                background .25s ease;
}

.whatsapp-help:hover .whatsapp-help-icon {
    transform: translateY(-4px);
    background: #1ebe5d;
}

.whatsapp-help:hover .whatsapp-help-label {
    transform: translateX(-3px);
}

/* MOBILE */

@media (max-width: 768px) {

    .whatsapp-help {
        right: 18px;
        bottom: 20px;
    }

    .whatsapp-help-label {
        display: none;
    }

    .whatsapp-help-icon {
        width: 52px;
        height: 52px;
    }

    .whatsapp-help-icon svg {
        width: 27px;
        height: 27px;
    }
}

/* ==========================================
   WHATSAPP BUBBLE - MOBILE
========================================== */

@media (max-width: 768px) {

    .whatsapp-help {
        right: 15px;
        bottom: 20px;
        gap: 8px;
    }

    .whatsapp-help-label {
        display: flex;
        padding: 9px 12px;
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    }

    .whatsapp-help-label strong {
        font-size: 11px;
    }

    .whatsapp-help-label small {
        font-size: 9px;
    }

    .whatsapp-help-icon {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }

    .whatsapp-help-icon svg {
        width: 24px;
        height: 24px;
    }
}


/* Pergerakan bubble WhatsApp */

.whatsapp-help {
    transition: top 0.15s ease-out;
}


/* ==========================================
   FOOTER MOBILE - CENTER TEXT
========================================== */

@media (max-width: 768px) {

    .footer-bottom > :last-child {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

}

/* ==========================================
   POSISI WHATSAPP - DESKTOP & MOBILE
========================================== */

.whatsapp-help {
    position: fixed;
    top: auto !important;
    bottom: 24px !important;
    right: 24px;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.whatsapp-help.wa-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
}

@media (max-width: 768px) {
    .whatsapp-help {
        top: auto !important;
        bottom: 20px !important;
        right: 15px;
    }
}
