/* #region common cta group */
.ms-channel-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ms-channel-overlay.ms-overlay-active {
    opacity: 1;
    visibility: visible;
}

.ms-support-channel {
    position: fixed;
    z-index: 1002;
    bottom: 64px;
    right: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ms-support-channel .text-semibold {
    font-family: Inter SemiBold;
}

.ms-channel-row {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 12px;
}

.ms-channel-label {
    display: none;
    font-size: 14px;
    color: #FFF;
}

.ms-channel-item {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    box-shadow: 0 8px 28px -6px rgba(116, 135, 255, 0.12), 0 18px 70px -4px rgba(10, 27, 136, 0.12);
}

.ms-zalo-animation {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: linear-gradient(183.99deg, #39ADFF 4.48%, #3069FF 98.91%);
}

.ms-phone-animation {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: linear-gradient(180deg, #FF6F55 0%, #F64C2D 100%);
    animation: ms-pulse 1.2s ease infinite;
}

.ms-channel-chat {
    border-radius: 9999px;
    min-width: 200px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #436EFF, #B645FC, #436EFF, #B645FC);
    background-size: 300% auto;
    animation: textShine 3s ease-in-out infinite alternate;
    cursor: pointer;
}

.msc-chat-ava {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(92.43deg, #3794FF 19.56%, #D52BFF 117.89%);
    border: 2px solid #FFF;
    overflow: hidden;
}

.msc-chat-ava img {
    width: 100%;
    height: 100%;
}

.msc-chat-text {
    font-family: Inter Semibold;
    color: #FFF;
}

.ms-channel-mobile {
    display: none;
}

.msc-mobile-open {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.msc-mobile-close {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .2);
}

@media (max-width: 979px) {
    .ms-support-channel {
        gap: 12px;
        right: 16px;
        bottom: 32px;
    }

    .ms-channel-row {
        display: none;
    }

    .ms-channel-mobile {
        display: block;
        position: relative;
        margin-left: auto;
        width: 48px;
        height: 48px;
    }

    .msc-mobile-open,
    .msc-mobile-close {
        position: absolute;
        top: 0;
        right: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .msc-mobile-open {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        pointer-events: auto;
    }

    .msc-mobile-close {
        display: flex;
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
        pointer-events: none;
    }

    .ms-channel-chat {
        padding: 0;
        border-radius: 0;
        background: unset;
        justify-content: end;
        min-width: unset;
    }

    .msc-chat-text {
        display: none;
    }

    .ms-channel-item {
        width: 48px;
        height: 48px;
    }

    .msc-chat-ava {
        width: 48px;
        height: 48px;
        background: linear-gradient(90deg, #436EFF, #B645FC, #436EFF, #B645FC);
        background-size: 300% auto;
        animation: textShine 3s ease-in-out infinite alternate;
    }

    .ms-support-channel.ms-open .ms-channel-row {
        display: flex;
        animation: ms-slide-up 0.3s ease both;
    }

    .ms-support-channel.ms-open .ms-channel-row:nth-child(1) {
        animation-delay: 0.1s;
    }

    .ms-support-channel.ms-open .ms-channel-row:nth-child(2) {
        animation-delay: 0.05s;
    }

    .ms-support-channel.ms-open .ms-channel-row:nth-child(3) {
        animation-delay: 0s;
    }

    .ms-support-channel.ms-open .ms-channel-label {
        display: inline;
    }

    .ms-support-channel.ms-open .msc-mobile-open {
        opacity: 0;
        transform: scale(0.5) rotate(90deg);
        pointer-events: none;
    }

    .ms-support-channel.ms-open .msc-mobile-close {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        pointer-events: auto;
    }

    .ms-support-channel.ms-open.ms-closing .msc-mobile-open {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        pointer-events: auto;
    }

    .ms-support-channel.ms-open.ms-closing .msc-mobile-close {
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
        pointer-events: none;
    }
    .ms-support-channel.ms-open.ms-closing .ms-channel-row {
        animation: ms-slide-down 0.25s ease both;
    }

    .ms-support-channel.ms-open.ms-closing .ms-channel-row:nth-child(1) {
        animation-delay: 0s;
    }

    .ms-support-channel.ms-open.ms-closing .ms-channel-row:nth-child(2) {
        animation-delay: 0.05s;
    }

    .ms-support-channel.ms-open.ms-closing .ms-channel-row:nth-child(3) {
        animation-delay: 0.1s;
    }
}

@keyframes ms-slide-down {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes ms-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ms-pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}
/* #endregion */