.chatzy-chatbot-icon,
.chatzy-message-bubble {
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    cursor: pointer;
}
:root {
    --chatzy-icon-width: 80px;
    --chatzy-icon-height: 80px;
    --chatzy-z-index: 99999;
    --chatzy-chatbot-mobile-z-index: 999999;
    --animation-speed: 0.3s;
    --animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}
body {
    margin: 0;
    padding: 0;
}
.chatzy-chatbot-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: var(--chatzy-z-index);
    margin: 1.5em;
}
.chatzy-chatbot-icon {
    all: unset;
    outline: none !important;
    border: none !important;
    border-radius: 50%;
    width: var(--chatzy-icon-width);
    height: var(--chatzy-icon-height);
    z-index: var(--chatzy-z-index);
    overflow: hidden;
    transition: 0.3s ease-in-out;
}
.chatzy-chatbot-icon:hover {
    transform: scale(1.05);
}
.chatzy-message-bubble-wrap {
    position: absolute;
    bottom: 120%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    user-select: none;
}
.chatzy-message-bubble {
    padding: 0.8em;
    border-radius: 0.5em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #fff;
    color: #1c1c1c;
    border: 0.1em solid #ccc;
    width: max-content;
    max-width: 400px;
    font-size: 14px;
    box-sizing: border-box;
    user-select: none;
    animation: 0.5s ease-in-out fadeIn;
    user-select: none;
}
@media (max-width: 600px) {
    .chatzy-message-bubble {
        max-width: 250px;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.chatzy-message-bubble-wrap-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    background-color: #e0e0e0;
    color: #000;
    box-shadow: rgba(150, 150, 150, 0.15) 0 6px 24px 0, rgba(150, 150, 150, 0.15) 0 0 0 1px;
    transition: 0.3s ease-in-out;
    user-select: none;
}
.chatzy-message-bubble-wrap-close-btn:hover {
    color: #fff;
    background-color: #ff7f7f;
}
/* .chatzy-message-bubble-wrap:hover .chatzy-message-bubble-wrap-close-btn {
    display: flex;
} */
.chatzy-chatbot-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.chatzy-chatbot-container {
    overflow: hidden;
    background-color: #fff;
    border: 0.1em solid #ccc;
    border-radius: 0.5em;
    position: absolute;
    min-width: 600px;
    height: 120vh;
    max-height: 650px;
    bottom: 110%;
    right: 0;
    z-index: var(--chatzy-z-index);
    visibility: hidden;
    transform: scale(0, 0);
    transform-origin: bottom right;
    transition: all var(--animation-speed) var(--animation-timing-function);
    box-shadow: #63636333 0 2px 8px;
}
@media (max-height: 600px) {
    .chatzy-chatbot-container {
        height: 95vh;
    }
}
.chatzy-chatbot-container iframe,
.chatzy-chatbot-container-mobile,
.chatzy-chatbot-container-mobile iframe {
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: all var(--animation-speed) var(--animation-timing-function);
    margin: 0 !important;
    padding: 0 !important;
}
.chatzy-chatbot-container-mobile.show {
    visibility: visible;
    transform: scale(1, 1);
}
.chatzy-chatbot-container.show {
    visibility: visible;
    transform: scale(0.8, 0.8);
}
.chatzy-chatbot-container iframe {
    border: none;
    transform-origin: top left;
}
@media (max-width: 768px) {
    .chatzy-chatbot-container {
        min-width: 600px;
    }
}
.chatzy-chatbot-container-mobile {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--chatzy-chatbot-mobile-z-index);
    visibility: hidden;
    transform: scale(0, 0);
    transform-origin: bottom right;
}
.chatzy-chatbot-container-mobile iframe {
    position: fixed;
    border: none;
    box-shadow: #63636333 0 2px 8px;
    transform-origin: top left;
}
.chatzy-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 40px;
    background: linear-gradient(#0000 calc(1 * 100% / 6), #5454ff 0 calc(3 * 100% / 6), #0000 0), linear-gradient(#0000 calc(2 * 100% / 6), #5454ff 0 calc(4 * 100% / 6), #0000 0),
        linear-gradient(#0000 calc(3 * 100% / 6), #5454ff 0 calc(5 * 100% / 6), #0000 0);
    background-size: 10px 400%;
    background-repeat: no-repeat;
    animation: 1s linear infinite matrix;
}
@keyframes matrix {
    0% {
        background-position: 0 100%, 50% 100%, 100% 100%;
    }
    100% {
        background-position: 0 0, 50% 0, 100% 0;
    }
}
@keyframes rollingRock {
    0% {
        transform: translate(0, -1em) rotate(-45deg);
    }
    5% {
        transform: translate(0, -1em) rotate(-50deg);
    }
    20% {
        transform: translate(1em, -2em) rotate(47deg);
    }
    25% {
        transform: translate(1em, -2em) rotate(45deg);
    }
    30% {
        transform: translate(1em, -2em) rotate(40deg);
    }
    45% {
        transform: translate(2em, -3em) rotate(137deg);
    }
    50% {
        transform: translate(2em, -3em) rotate(135deg);
    }
    55% {
        transform: translate(2em, -3em) rotate(130deg);
    }
    70% {
        transform: translate(3em, -4em) rotate(217deg);
    }
    75% {
        transform: translate(3em, -4em) rotate(220deg);
    }
    100% {
        transform: translate(0, -1em) rotate(-225deg);
    }
}
