/* CSS Variables */
:root {
    --chu-dao: #0079bc;
    --mau-phu: #fda800;
    --trang: #fff;
    --king-defaut: #007c80;
}

/* Contact Bar */
.xc-contact-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
}

.contact-item {
    display: block;
    position: relative;
    width: 95px;
    height: 95px;
    margin-bottom: 15px;
    cursor: pointer;
}

/* Circle Animations */
.circle-animation {
    position: absolute;
    width: 90px;
    height: 90px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid var(--king-defaut);
    animation: circleZoom 1.2s infinite ease-in-out;
    opacity: 0.5;
}

.circle-fill {
    position: absolute;
    width: 70px;
    height: 70px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--king-defaut);
    border-radius: 100%;
    border: 2px solid transparent;
    animation: circleFillZoom 2.3s infinite ease-in-out;
}

.contact-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 100%;
    background-color: var(--king-defaut);
    border: 2px solid transparent;
    animation: circleImgZoom 1s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contact-icon img {
    width: 45px;
    height: 45px;
    padding: 5px;
}

/* Zalo Styles */
.zalo-circle {
    border: 2px solid #00c8ffd6 !important;
}

.zalo-circle-fill {
    background-color: #00c8ffc9 !important;
}

.zalo-icon {
    background-color: #00c8ffcf !important;
}

/* Phone Styles */
.phone-circle {
    border: 2px solid #ff0000d6 !important;
}

.phone-circle-fill {
    background-color: #ff0000c9 !important;
}

.phone-icon {
    background-color: #ff0000cf !important;
}

/* Phone Info */
.phone-info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    margin: auto;
    width: max-content;
    height: 37px;
    line-height: 37px;
    z-index: -1;
    overflow: hidden;
    border-radius: 99px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.10);
    transition: all 0.8s;
    cursor: pointer;
}

.phone-info > a {
    height: 100%;
    display: block;
    background: #ff0000cf;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    font-family: 'arial', sans-serif;
    cursor: pointer;
    transition: all 0.8s;
    padding: 0 20px;
    padding-left: 60px;
}

/* Animations */
@keyframes circleZoom {
    0% {
        transform: rotate(0deg) scale(0.5) skew(1deg);
        opacity: 0.1;
    }
    30% {
        transform: rotate(0deg) scale(0.7) skew(1deg);
        opacity: 0.5;
    }
    100% {
        transform: rotate(0deg) scale(1) skew(1deg);
        opacity: 0.1;
    }
}

@keyframes circleFillZoom {
    0%, 100% {
        transform: rotate(0deg) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
    50% {
        transform: rotate(0deg) scale(1) skew(1deg);
        opacity: 0.6;
    }
}

@keyframes circleImgZoom {
    0%, 50%, 100% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }
    10%, 30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20%, 40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
}
