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

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

.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: 50px;
    height: 50px;
    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: #ffffff;
    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: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

/* Форма с плавным круглым дном (без среза) */
.socials-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #55b3b3;
    z-index: 1;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cpath d='M 112 18 C 128 22 144 38 142 66 C 140 82 135 102 126 118 C 114 138 98 152 76 150 C 58 148 38 134 24 116 C 10 98 6 82 8 66 C 12 42 26 28 48 20 C 70 12 94 14 112 18 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cpath d='M 112 18 C 128 22 144 38 142 66 C 140 82 135 102 126 118 C 114 138 98 152 76 150 C 58 148 38 134 24 116 C 10 98 6 82 8 66 C 12 42 26 28 48 20 C 70 12 94 14 112 18 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.25s ease;
}

.socials-toggle-btn:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.socials-toggle-btn:hover::before {
    background-color: #48a5a5;
}

/* Иконка внутри кнопки */
.socials-toggle-btn .socials-icon {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 24px;
    margin-top: 1px;
    margin-left: -4px;
}

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

/* Состояние крестика при открытии */
.socials-toggle-btn.close-mode::before {
    background-color: #f44336;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 50%;
    inset: 5px;
}

.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;
}
.totop.uk-totop{
    display: none !important;
}