/* ==========================================================================
   Clevdex – Public Base Styles
   Enqueued on every public page (lightweight reset / utility layer).
   Heavy widget styles live in widget.css (inline-injected).
   ========================================================================== */

/* Make sure the widget container never clips awkwardly */
.clevdex-chatbot-widget {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

/* Prevent host theme from overriding widget internals */
.clevdex-chatbot-widget button {
    font-family: inherit;
    cursor: pointer;
}

.clevdex-chatbot-widget input,
.clevdex-chatbot-widget textarea {
    font-family: inherit;
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .clevdex-chatbot-widget,
    .clevdex-chatbot-widget * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Screen-reader only helper */
.ai-chatbot-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
