/* Besodigitaltech floating contact widgets - above live chat (Tawk.to / Elfsight) */
#beso-contact-widgets {
    position: fixed;
    right: 20px;
    bottom: 175px;
    z-index: 2147483646;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.beso-wa-popup {
    position: absolute;
    right: 0;
    bottom: 100%;
    margin-bottom: 14px;
    width: 300px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 18px 18px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    border: 1px solid #e8e8ef;
}

.beso-wa-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.beso-wa-popup::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: -8px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-right: 1px solid #e8e8ef;
    border-bottom: 1px solid #e8e8ef;
    transform: rotate(45deg);
}

.beso-wa-popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.beso-wa-popup-header .beso-wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.beso-wa-popup-header strong {
    display: block;
    font-size: 15px;
    color: #1a1a2e;
    line-height: 1.2;
}

.beso-wa-popup-header span {
    font-size: 12px;
    color: #25d366;
    font-weight: 600;
}

.beso-wa-popup p {
    font-size: 14px;
    line-height: 1.55;
    color: #444;
    margin: 0 0 14px;
}

.beso-wa-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 4px;
}

.beso-wa-close:hover {
    color: #333;
}

.beso-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.beso-wa-chat-link,
.beso-mail-chat-link {
    display: block;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.beso-wa-chat-link {
    background: #25d366;
}

.beso-wa-chat-link:hover {
    background: #1da851;
    color: #fff !important;
}

.beso-mail-chat-link {
    background: linear-gradient(135deg, #256ad7, #5f2dee);
}

.beso-mail-chat-link:hover {
    background: linear-gradient(135deg, #1e5bc4, #4e24d4);
    color: #fff !important;
}

.beso-floating-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.beso-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none;
    font-size: 26px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.beso-float-btn:hover {
    transform: scale(1.06);
    color: #fff !important;
}

.beso-wa-btn {
    background: #25d366;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
    animation: beso-wa-pulse 2s infinite;
}

.beso-wa-btn:hover {
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.beso-mail-btn {
    background: linear-gradient(135deg, #256ad7, #5f2dee);
    box-shadow: 0 6px 22px rgba(37, 106, 215, 0.4);
}

.beso-mail-btn:hover {
    box-shadow: 0 8px 28px rgba(95, 45, 238, 0.5);
}

@keyframes beso-wa-pulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 480px) {
    #beso-contact-widgets {
        right: 14px;
        bottom: 155px;
    }
    .beso-wa-popup {
        width: 280px;
    }
    .beso-float-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}
