:root {
    --chat-container-width: 64px;
    --chat-container-height: 64px;
    --chat-container-expanded-width: 500px;
    --chat-container-expanded-height: 700px;
    --chat-container-margin: 20px;
    --chat-container-background-color: transparent;
    --chat-container-z-index: 2147483639;
    --chat-iframe-border-radius: 50%;
    --chat-iframe-expanded-border-radius: 16px;
    --chat-iframe-background-color: rgba(0, 0, 0, 0);
}

.chat-container {
    border: 0;
    background-color: var(--chat-container-background-color);
    pointer-events: none;
    z-index: var(--chat-container-z-index);
    position: fixed;
    bottom: 0;
    width: var(--chat-container-width);
    height: var(--chat-container-height);
    overflow: hidden;
    opacity: 1;
    max-width: 100%;
    right: 0;
    max-height: 100%;
    margin: var(--chat-container-margin);
    transition: width 0.3s ease, height 0.3s ease;
}

.chat-container.large-margin {
    margin: var(--chat-container-margin);
}

.chat-container.small-margin {
    margin: 0;
}

.chat-container.expanded {
    width: var(--chat-container-expanded-width);
    height: var(--chat-container-expanded-height);
    border-radius: var(--chat-iframe-expanded-border-radius);
}

.chat-container.collapsed {
    width: var(--chat-container-width);
    height: var(--chat-container-height);
    border-radius: var(--chat-iframe-border-radius)
}

.chat-iframe {
    pointer-events: all;
    border: 0;
    float: none;
    position: absolute;
    inset: 0;
    max-width: 100%;
    width: 95%;
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    background-color: var(--chat-iframe-background-color);
    color-scheme: normal;
    transition: border-radius 0.3s ease;
    display: block;
    visibility: visible;
}
