
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.cognigy-widget-container {
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.cognigy-widget-container > * {
    pointer-events: auto;
}

[data-cognigy-webchat-root] {
    position: relative;
    width: 100%;
    height: 100%;
}

#cognigy-webchat,
.webchat-root,
.webchat-wrapper {
    font-family: inherit !important;
}

@media (max-width: 480px) {
    #cognigy-webchat .webchat-chat-modal,
    .webchat-chat-modal {
        width: 100vw  !important;
        height: 100dvh !important;
        bottom: 0     !important;
        right: 0      !important;
        border-radius: 0 !important;
    }
}

.webchat-loading {
    position: fixed;
    bottom: 96px;
    right: 24px;
    padding: 8px 16px;
    border-radius: 24px;
    background-color: #0070d2;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.webchat-loading.hidden {
    opacity: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}