.widget_emergency_phone {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
	margin: 0 10px 0 0;
}

.emergency-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important; /* Убираем подчеркивание */
    cursor: pointer;
    width: 40px;
    height: 40px;
    /* !important делает цвет главным, перебивая настройки шаблона */
    color: #dc3545 !important; 
    transition: transform 0.2s;
}

.emergency-link:hover {
    color: #bd2130 !important;
    transform: scale(1.1);
}

.emergency-link .icon-main {
    width: 16px;
    height: 16px;
    fill: currentColor; /* Берет красный цвет от родителя */
}

.emergency-link .icon-warn-wrapper {
    position: absolute;
    bottom: 2px;
    right: 3px;
    background: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    z-index: 2;
}

.emergency-link .icon-warn-wrapper .icon-warn {
    width: 10px;
    height: 10px;
    color: #dc3545;
    fill: currentColor;
}

/* Анимация пульсации */
.emergency-link.animate-pulse {
    animation: emergency-pulse 2s infinite;
}

@keyframes emergency-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); } /* Чуть увеличил масштаб для заметности */
    100% { transform: scale(1); }
}

/* Стили внутри окна */
.emergency-modal-body h2 { font-size: 1.2rem; margin: 15px 0 10px; color: #333; }
.emergency-modal-body ul { padding-left: 20px; margin-bottom: 15px; }
.emergency-modal-body li { margin-bottom: 5px; }
.emergency-modal-body a.tele { font-weight: bold; text-decoration: none; color: #007bff; }