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

.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.svg');
    background-size: 100% 100%; /* Telegram идеально влазит */
}

.social-item.vk {
    background-color: #ffffff;
    background-image: url('./images/vk_messenger.svg');
    background-size: 80% 80%; /* VK уменьшаем */
}

.social-item.max-messenger {
    background-color: #33b7b7;
    background-image: url('./images/max-messenger.svg');
    background-size: 80% 80%; /* Max-мессенджер уменьшаем */
}

.social-item.verbox-chat {
    background-color: #33b7b7;
    background-image: url('./images/verbox-messenger.svg');
    background-size: 70% 70%; /* Verbox-чат уменьшаем */
}

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

.socials-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #33b7b7;
    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;
    margin-top: 10px;
    font-size: 24px;
    color: white;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.socials-toggle-btn:hover {
    transform: scale(1.1);
    background-color: #33b7b7;
}

.socials-toggle-btn.close-mode {
    background-color: #f44336;
}

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

.socials-toggle-btn.close-mode .socials-icon {
    position: relative;
    visibility: hidden;
}

.socials-toggle-btn.close-mode .socials-icon::after {
    content: '×';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    visibility: visible;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.socials-toggle-btn .socials-icon {
    display: inline-block;
}

/* Скрытие оригинальной кнопки Verbox чата */
#supportTrigger {
    visibility: hidden !important;
}