.forsaj-widget-wrapper {
    all: initial;
    position: fixed;
    bottom: 30px; 
    right: 30px;
    z-index: 99999;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Облачко с текстом */
.forsaj-bubble {
    all: unset;
    display: none;
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    padding: 15px 45px 15px 15px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    max-width: 260px;
    cursor: pointer;
    animation: forsajSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.forsaj-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 35px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ffffff transparent;
}

.forsaj-text {
    all: unset;
    font-size: 15px;
    color: #222;
    line-height: 1.4;
    font-weight: 500;
    display: block;
    min-height: 42px;
    transition: opacity 0.3s ease;
}

.forsaj-close {
    all: unset;
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    color: #bbb;
    cursor: pointer;
    line-height: 0.8;
}
.forsaj-close:hover { color: #666; }

/* Блок с кнопками */
.forsaj-buttons-row {
    all: unset;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Общий стиль кнопок */
.forsaj-btn {
    all: unset;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.forsaj-btn i { color: white !important; }

/* WhatsApp (Первый) */
.forsaj-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.forsaj-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* Viber (Второй) */
.forsaj-viber {
    background: linear-gradient(135deg, #7360F2, #503EBF);
    box-shadow: 0 8px 25px rgba(115, 96, 242, 0.4);
}
.forsaj-viber:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(115, 96, 242, 0.5);
}

@keyframes forsajSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .forsaj-widget-wrapper { bottom: 20px; right: 20px; }
    .forsaj-bubble { max-width: 220px; }
    .forsaj-btn { width: 52px; height: 52px; font-size: 28px; }
}
