/* Стили для компонента социальных мессенджеров */

.socials-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.socials-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.socials-list.visible {
    opacity: 1;
    pointer-events: auto;
}

.social-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    background-position: center;
    background-repeat: no-repeat;
}

.social-item.telegram {
    background-color: #ffffff;
    background-image: url('./images/telegram_messenger_logo.svg');
    background-size: 100% 100%;
}

.social-item.vk {
    background-color: #ffffff;
    background-image: url('./images/vk_messenger_logo.svg');
    background-size: cover;
}

.social-item.max-messenger {
    background-color: #fff;
    background-image: url('./images/max_messenger_logo.svg');
    background-size: cover;
}

.social-item.verbox-chat {
    background-color: #33b7b7;
    background-image: url('./images/verbox-messenger.svg');
    background-size: 70% 70%;
}

.social-item:hover {
    transform: scale(1.1);
}

/* Кнопка триггера */
.socials-toggle-btn {
    position: relative;
    width: 66px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Фирменный асимметричный медиатор в точности как на 1 фото */
.socials-toggle-btn::before {
    content: '';
    position: absolute;
    width: 58px;
    height: 52px;
    background-color: #55b3b3;
    /* Точная форма выпуклого скругленного треугольника */
    border-radius: 48% 52% 45% 55% / 58% 62% 38% 42%;
    transform: rotate(-32deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background-color 0.25s ease, transform 0.25s ease, border-radius 0.25s ease, box-shadow 0.25s ease;
    z-index: 1;
}

.socials-toggle-btn:hover {
    transform: scale(1.06);
}

.socials-toggle-btn:hover::before {
    background-color: #48a5a5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

/* Иконка внутри (центрируется поверх капли без перекоса) */
.socials-toggle-btn .socials-icon {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    margin-top: -1px;
    margin-left: 2px;
}

.socials-toggle-btn .socials-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

/* Режим закрытия (крестик) */
.socials-toggle-btn.close-mode::before {
    background-color: #f44336;
    border-radius: 50%;
    transform: rotate(0deg);
    width: 52px;
    height: 52px;
}

.socials-toggle-btn.close-mode:hover::before {
    background-color: #d32f2f;
}

.socials-toggle-btn.close-mode .socials-icon {
    margin: 0;
}

.socials-toggle-btn.close-mode .socials-icon svg {
    display: none;
}

.socials-toggle-btn.close-mode .socials-icon::after {
    content: '×';
    font-size: 32px;
    line-height: 1;
    font-family: Arial, sans-serif;
    color: #ffffff;
}
/* Скрытие оригинальной кнопки Verbox чата */
#supportTrigger {
    visibility: hidden !important;
}