.social_sharing {
    position: fixed;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social_sharing a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite; /* Добавьте эту строку */
}

.social_sharing a:hover {
    transform: translateX(5px);
}

.social_sharing img {
    width: 54px;
    height: 54px;
    display: block;
    flex-shrink: 0;
    animation: pulse 2s infinite ease-in-out;
}

/* Альтернативная анимация с большим прыжком */
@keyframes bigBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-15px) scale(1.15);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-8px);
    }
}

/* Применяем альтернативную анимацию */
.social_sharing a {
    animation-name: bigBounce;
    animation-duration: 2s;
}

.call-whatsapp {
    animation-delay: 0s;
}

.call-telegram {
    animation-delay: 1s;
}

/* Улучшенные подсказки */
.social_sharing .tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 15px;
    background: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.social_sharing a:hover .tooltip {
    opacity: 1;
    visibility: visible;
    margin-left: 12px;
}

/* Стрелочка для подсказки */
.social_sharing .tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: rgba(51, 51, 51, 0.95);
}

.ui-text.article__text th {
border: 1px solid #d3d3d3;
    background: #eee;
    padding: 5px;
}
.ui-text.article__text td {
border: 1px solid #d3d3d3;
    padding: 5px;
}
.ui-doc {
	border: 1px solid #b6b6b6;
    border-radius: 4px;
    padding: 10px;	
}
.ui-doc:hover {
	background: #208C6F;
    color: #fff;
}


        /* -------- Стили для попапа (модального окна) -------- */
        .exit-popup-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            display: none; /* скрыт по умолчанию */
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 20px;
            animation: fadeIn 0.25s ease;
        }

        /* активное состояние (показываем) */
        .exit-popup-overlay.active {
            display: flex;
        }

        /* карточка попапа */
        .exit-popup {
            background: #ffffff;
            max-width: 480px;
            width: 100%;
            padding: 40px 36px 36px;
            border-radius: 40px;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
            text-align: center;
            position: relative;
            animation: slideUp 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* иконка / эмодзи */
        .popup-icon {
            font-size: 3.4rem;
            margin-bottom: 6px;
        }

        .exit-popup h2 {
            font-size: 1.9rem;
            font-weight: 700;
            color: #0b2a3b;
            margin-bottom: 8px;
        }

        .exit-popup .subhead {
            font-size: 1rem;
            color: #3d6377;
            margin-bottom: 24px;
            line-height: 1.5;
        }

        /* Форма */
        .exit-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-top: 6px;
        }

        .exit-form input {
            padding: 16px 20px;
            border: 1.5px solid #dce8ef;
            border-radius: 60px;
            font-size: 1rem;
            background: #f8fafc;
            transition: border 0.2s, box-shadow 0.2s;
            outline: none;
            width: 100%;
        }

        .exit-form input:focus {
            border-color: #1e7b9e;
            box-shadow: 0 0 0 4px rgba(26, 115, 155, 0.15);
            background: #ffffff;
        }

        .exit-form input::placeholder {
            color: #8aa9bb;
            font-weight: 400;
        }

        .exit-form button {
            background: #1a6a89;
            color: white;
            border: none;
            padding: 16px 20px;
            border-radius: 60px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            box-shadow: 0 8px 20px rgba(22, 90, 120, 0.25);
            letter-spacing: 0.3px;
            width: 100%;
        }

        .exit-form button:hover {
            background: #0f5775;
            transform: scale(1.01);
        }

        .exit-form button:active {
            transform: scale(0.97);
        }

        /* кнопка "закрыть" (крестик) */
        .close-popup {
            position: absolute;
            top: 16px;
            right: 22px;
            background: none;
            border: none;
            font-size: 1.8rem;
            line-height: 1;
            color: #7f9ead;
            cursor: pointer;
            transition: color 0.2s, transform 0.2s;
            padding: 4px 8px;
            border-radius: 30px;
        }

        .close-popup:hover {
            color: #1f3f4f;
            transform: rotate(90deg);
        }

        /* Ссылка "не сейчас" (закрыть попап) */
        .popup-later {
            display: inline-block;
            margin-top: 16px;
            color: #5b7f92;
            font-size: 0.95rem;
            text-decoration: none;
            border-bottom: 1.5px dotted #b6d0db;
            padding-bottom: 2px;
            transition: color 0.2s, border-color 0.2s;
            cursor: pointer;
        }

        .popup-later:hover {
            color: #1a5b77;
            border-bottom-color: #1a5b77;
        }

        /* Анимации */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

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

        /* Адаптив */
        @media (max-width: 500px) {
            .page-content {
                padding: 32px 20px;
                border-radius: 32px;
            }
            .page-content h1 {
                font-size: 2rem;
            }
            .exit-popup {
                padding: 32px 20px 28px;
            }
            .exit-popup h2 {
                font-size: 1.6rem;
            }
        }