@keyframes ring {
    0% { transform: rotate(0); }
    1% { transform: rotate(30deg); }
    3% { transform: rotate(-28deg); }
    5% { transform: rotate(34deg); }
    7% { transform: rotate(-32deg); }
    9% { transform: rotate(30deg); }
    11% { transform: rotate(-28deg); }
    13% { transform: rotate(26deg); }
    15% { transform: rotate(-24deg); }
    17% { transform: rotate(22deg); }
    19% { transform: rotate(-20deg); }
    21% { transform: rotate(18deg); }
    23% { transform: rotate(-16deg); }
    25% { transform: rotate(14deg); }
    27% { transform: rotate(-12deg); }
    29% { transform: rotate(10deg); }
    31% { transform: rotate(-8deg); }
    33% { transform: rotate(6deg); }
    35% { transform: rotate(-4deg); }
    37% { transform: rotate(2deg); }
    39% { transform: rotate(-1deg); }
    41% { transform: rotate(1deg); }
    43% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.widget {
    display: flex;
    align-items: center;
    border: 2px solid red;
    border-radius: 25px;
    padding: 5px 10px;
    background-color: white;
    font-family: Arial, sans-serif;
    width: fit-content;
    margin-bottom: 10px;
    text-decoration: none;
    
}
.widget:hover {
    background-color: red;
    text-decoration: none;
}
.widget:hover .icon, .widget:hover .text, .widget:hover .text .phone {
    color: white;
}
.widget .icon {
    background-color: red;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    animation: pulse 1s infinite;
}
.widget .icon i {
    color: white;
    animation: ring 3s infinite;
}
.widget .icon-zalo {
    background-color: red;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    animation: pulse 1s infinite;
}
.widget .icon-zalo {
    color: white;
    animation: ring 3s infinite;
}
.widget .text {
    font-family: futuraregular,Helvetica,Arial,sans-serif;
    color: black;
}
.widget .text .title {
    font-size: 14px;
    font-weight: bold;
}
.widget .text .phone {
    font-size: 18px;
    color: red;
}
.widget-container {
    z-index: 999999;
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 768px) {
.widget-container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    gap: 50px;
}

.widget {
    padding: 5px;
    flex-direction: row;
}

.widget .text {
    display: none;
}

.widget .icon,
.widget .icon-zalo {
    margin-right: 0;
}
}
