@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600&family=Noto+Sans+Devanagari:wght@400;600&family=Noto+Sans+Bengali:wght@400;600&family=Noto+Sans+Tamil:wght@400;600&family=Noto+Sans+Telugu:wght@400;600&family=Noto+Sans+Kannada:wght@400;600&family=Noto+Sans+Malayalam:wght@400;600&family=Noto+Sans+Gujarati:wght@400;600&family=Noto+Sans+Gurmukhi:wght@400&display=swap');

:root {
    --slant: 8px;
    --slant-s: 8px;
    --slant-l: 11px;

    /* Nexa GenAI Dark Theme Colors */
    --nexa-primary-bg: #1D1D1D;
    --nexa-secondary-bg: #1D1D1D;
    --nexa-card-bg: #2A2A2A;
    --nexa-glass-bg: rgba(255, 255, 255, 0.1);
    --nexa-glass-border: rgba(255, 255, 255, 0.15);
    --nexa-accent: #5178EB;
    --nexa-accent-light: #B8CAFF;
    --nexa-accent-glow: rgba(81, 120, 235, 0.4);
    --nexa-text-primary: #FFFFFF;
    --nexa-text-body: #CFCFCF;
    --nexa-text-muted: #808080;
    --nexa-border: rgba(81, 120, 235, 0.3);
    --nexa-input-bg: rgba(255, 255, 255, 0.1);
    --nexa-button-bg: rgba(255, 255, 255, 0.1);
    --nexa-button-border: rgba(255, 255, 255, 0.2);
    --nexa-gradient-accent: linear-gradient(118.17deg, #B8CAFF 27.68%, #386AFF 33.79%);
    --nexa-box-shadow: 0px 0px 24px 0px rgba(81, 120, 235, 0.4);
    --nexa-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --nexa-user-message-bg: #B9BDD60F;
    --nexa-video-bg: #2B2B2B;
}

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@...&display=swap');

body {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
}

* {
    box-sizing: border-box;
}

/* Remove ugly WebChat border */
#webchat [class*="activity-indicator"],
#webchat .webchat__basic-transcript__focus-indicator {
    display: none !important;
}

/* Keep clean minimal focus */
#webchat *:focus-visible {
    outline: none;
    outline-offset: 1px;
}

@media (width >=768px) {
    :root {
        --slant: 10px;
        --slant-s: 10px;
        --slant-l: 13px;
    }
}

/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'Fira_Sans_regular';
    src: url('fonts/FIRASANS-REGULAR_0.TTF') format('truetype');
}

@font-face {
    font-family: 'Kepler_Std';
    src: url('fonts/kepler Std.otf') format('opentype');
}

/* ============================================
   BASE STYLES
   ============================================ */
.hidden {
    display: none !important;
}

/* Nexa WebChat CSP Helper Classes */
.nexa-webchat-hidden {
    display: none;
}

.nexa-webchat-chat-icon-img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.nexa-webchat-prechat-img {
    width: 100%;
    height: auto;
}

.nexa-webchat-mic-icon-img {
    width: 18px;
    height: 18px;
}

.nexa-webchat-video-wrapper,
.nexa-webchat-video-player {
    width: 100% !important;
    height: 100% !important;
}

.nexa-webchat-btn-icon {
    width: 16px !important;
    height: 16px !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
}

.nexa-webchat-btn-title {
    vertical-align: middle !important;
}

.nexa-webchat-arrow-icon {
    transform: rotate(-90deg);
    margin-top: 4px;
}

.nexa-script-chat-icon-img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.intro-rotating-pill {
    margin-bottom: 0.01rem;
}

/* ============================================
   OUTER CONTAINER & POSITIONING
   ============================================ */
.outerDiv {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 1% !important;
    right: 56px !important;
    z-index: 99999;
}

@media (max-width: 767px) {
    .outerDiv {
        width: 100%;
        right: 0% !important;
        align-items: center;
        padding: 0;
    }

    #maximize-button,
    #minimize-to-standard {
        display: none !important;
    }

    #faq-expand-btn {
        display: none !important;
    }
}

/* ============================================
   CHAT ICON - Floating with Glow and Hover Image Swap
   ============================================ */
#chat-icon-nexa {
    position: fixed;
    bottom: 10%;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    transition: transform 0.3s ease;
    /* animation: iconFloat 3s ease-in-out infinite; */
    /* Maintain a specific size for standard view, adjusts with media queries below */
    width: 60px;
    height: 60px;
}

#chat-icon-nexa img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    #chat-icon-nexa:hover img {
        transform: translateX(-140px);
    }
}

/* Base state: Hover pill that slides out from the right of the moving icon */
#chat-icon-nexa::after {
    content: 'Ask us anything';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #ffffff;
    color: #1a1a1a;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 24px;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(81, 120, 235, 0.2);
    opacity: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease;
    z-index: -1;
    box-sizing: border-box;
}

/* Hover state: Slide pill out — desktop only (touch devices cannot hover) */
@media (hover: hover) and (pointer: fine) {
    #chat-icon-nexa:hover::after {
        opacity: 1;
        width: calc(100% + 140px);
        pointer-events: auto;
    }
}

/* ============================================
   INTRO CARD - Onboarding Flow
   ============================================ */
#intro-card {
    position: fixed;
    bottom: 10%;
    right: 1.25rem;
    width: 400px;
    background: var(--nexa-primary-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* border: 1px solid rgba(81, 120, 235, 0.35); */
    border-radius: 1.25rem;
    padding: 1.25rem;
    z-index: 1002;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    color: #fff;

    /* Hidden by default */
    opacity: 0;
    transform: scale(0.3);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 0px 12px 2px #5178EB inset;
}

#intro-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

#intro-card.dismissed {
    opacity: 0;
    transform: scale(0.3);
    pointer-events: none;
}

/* Header: icon + text + close */
.intro-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    position: relative;
}

.intro-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 12px rgba(81, 120, 235, 0.5));
}

.intro-card-text {
    flex: 1;
    min-width: 0;
}

.intro-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.intro-card-subtext {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

.intro-card-close {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    padding: 0.25rem;
    transition: opacity 0.2s;
}

.intro-card-close:hover {
    opacity: 1;
}

/* Suggested question pill */
.intro-card-suggestion {
    margin-bottom: 0.85rem;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    max-width: 100%;
    overflow: hidden;
}

.intro-card-suggestion.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.intro-pill {
    display: block;
    background: rgba(81, 120, 235, 0.15);
    border: 1px solid rgba(81, 120, 235, 0.4);
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    word-break: normal;
    /* line-height: 1.35; */
    max-width: none;
    width: max-content;
    overflow: visible;
    box-sizing: border-box;
    transform: translateX(0);
    will-change: transform, opacity;
    text-align: left;
}

.intro-pill.slide-out-left {
    transform: translateX(-18px);
    opacity: 0;
}

.intro-pill.slide-in-left {
    animation: introSlideInLeft 0.3s ease;
}

@keyframes introSlideInLeft {
    from {
        transform: translateX(18px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.intro-marquee {
    width: 100%;
    overflow: hidden;
}

.intro-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 0.7rem;
    width: max-content;
    animation: introMarqueeScroll var(--intro-marquee-duration, 24s) linear infinite;
}

.intro-marquee-track:hover {
    animation-play-state: paused;
}

.intro-marquee-item {
    flex: 0 0 auto;
}

@keyframes introMarqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.intro-pill:hover {
    background: rgba(81, 120, 235, 0.3);
    border-color: rgba(81, 120, 235, 0.6);
    color: #fff;
    box-shadow: 0 0 16px rgba(81, 120, 235, 0.25);
}

/* Input wrapper */
.intro-card-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.25rem;
    gap: 0.25rem;
    box-shadow: 0 4px 16px rgba(81, 120, 235, 0.15);
    transition: border-color 0.3s ease;
}

.intro-card-input-wrapper:focus-within {
    border-color: rgba(81, 120, 235, 0.5);
}

.intro-card-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 16px;
    /* Minimum 16px to prevent iOS Safari auto-zoom */
    padding: 0.625rem 0;
    min-width: 0;
}

.intro-card-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.intro-card-input-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.intro-mic-btn,
.intro-send-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.intro-mic-btn {
    display: none;
}

.intro-mic-btn:hover,
.intro-send-btn:hover {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    #intro-card {
        right: 16px;
        left: 16px;
        width: auto;
        bottom: 8%;
    }

    .intro-card-title {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .intro-card-subtext {
        font-size: 0.86rem;
        line-height: 1.4;
    }

    .intro-pill {
        font-size: 0.68rem;
        padding: 0.72rem 0.85rem;
        border-radius: 1.25rem;
    }

    .intro-marquee-track {
        gap: 0.55rem;
    }

}

/* ============================================
   FIRA SANS UTILITIES
   ============================================ */
.fira-sans-thin {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 100;
    font-style: normal;
}

.fira-sans-extralight {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 200;
    font-style: normal;
}

.fira-sans-light {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 300;
    font-style: normal;
}

.fira-sans-regular {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.fira-sans-medium {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 500;
    font-style: normal;
}

.fira-sans-semibold {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 600;
    font-style: normal;
}

.fira-sans-bold {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.fira-sans-extrabold {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 800;
    font-style: normal;
}

.fira-sans-black {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 900;
    font-style: normal;
}

.fira-sans-thin-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 100;
    font-style: italic;
}

.fira-sans-extralight-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 200;
    font-style: italic;
}

.fira-sans-light-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 300;
    font-style: italic;
}

.fira-sans-regular-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 400;
    font-style: italic;
}

.fira-sans-medium-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 500;
    font-style: italic;
}

.fira-sans-semibold-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 600;
    font-style: italic;
}

.fira-sans-bold-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 700;
    font-style: italic;
}

.fira-sans-extrabold-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 800;
    font-style: italic;
}

.fira-sans-black-italic {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 900;
    font-style: italic;
}

#chat-icon-nexa::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--nexa-accent-glow) 0%, transparent 70%);
    animation: glowPulse 2.5s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    #chat-icon-nexa:hover::before {
        margin-left: -140px;
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

#chat-icon-nexa img {
    width: 60px;
    height: 60px;
}

@media (max-width: 767px) {
    #chat-icon-nexa {
        width: 56px !important;
        height: 56px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #chat-icon-nexa {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1919px) {
    #chat-icon-nexa {
        width: 68px !important;
        height: 68px !important;
    }
}

@media (min-width: 1920px) {
    #chat-icon-nexa {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ============================================
   MAIN CHAT CONTAINER - Bottom Sheet Modal
   ============================================ */
#webchat-container {
    position: relative;
    /* overflow: hidden; */
    width: 456px;
    height: 650px;
    max-height: calc(90vh - 40px);
    background: var(--nexa-primary-bg);
    border-radius: 24px 24px 24px 24px;
    display: none;
    flex-direction: column;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: translateY(100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 1px 1px 1px #26439b inset;
    border-bottom: 1px solid #26439b;
}


#webchat-container.open {
    display: flex;
    transform: translateY(0);
}

#webchat-container.closing {
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    display: flex !important;
}

#webchat-container.maximized {
    width: 45rem !important;
    height: 85vh !important;
}

/* Fix alignment in maximized view */
#webchat-container.maximized .webchat__send-box__main {
    width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}

/* Hide glow in maximized view */
#webchat-container.maximized .sendbox-glow {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.polygon {
    display: none;
}

@media (max-width: 767px) {
    #webchat-container {
        width: 94% !important;
        height: 70vh;
        border-radius: 24px;
        max-height: 74vh;
    }
}

@media (max-width: 362px) {
    #webchat-container {
        width: 96% !important;
    }
}

/* ============================================
   HEADER - Dark Glass Style
   ============================================ */
#webchat-header {
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* align-items: center; */
    background: transparent !important;
    padding: 10px;
    height: 52px;
    z-index: 2000;
}

#webchat-header .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    /* margin: 26px 0px; */
}

#webchat-header button,
#webchat-header div[id*="button"] {
    height: 32px;
    border: none !important;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--nexa-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF0A !important;
    backdrop-filter: blur(14px);
    width: 32px;
}

#webchat-header button:hover,
#webchat-header div[id*="button"]:hover {
    background: transparent !important;
}

#webchat-header svg path {
    fill: var(--nexa-text-primary);
}

#webchat-span {
    display: none;
}

#refresh-button,
#maximize-button,
#minimize-to-standard,
#minimize-button {
    opacity: 0.8;
    transition: var(--nexa-transition);
    height: 32px;
    border: none !important;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--nexa-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF0A !important;
    backdrop-filter: blur(14px);
    width: 32px;
    vertical-align: unset !important;
}

#minimize-to-standard svg {
    vertical-align: unset;
}

#refresh-button:hover,
#maximize-button:hover,
#minimize-to-standard:hover,
#minimize-button:hover {
    opacity: 1;
    background: transparent !important;
}

/* Hide refresh button when any overlay or non-main screen is active */
#webchat-container:has(#termsPrivacy:not([style*="display: none"])) #refresh-button,
#webchat-container:has(#faq-popup.open) #refresh-button,
#webchat-container:has(#close-feedback-modal) #refresh-button,
#webchat-container:has(.dislike-feedback-overlay) #refresh-button,
#webchat-container:has(#loadingMessage:not([style*="display: none"])) #refresh-button {
    display: none !important;
}

/* ============================================
   CONSENT POPUP - Full-Screen Dim Overlay + Bottom Card
   ============================================ */
#termsPrivacy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Transparent dim layer - the blurry chatbot shows through the top */
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1000;
    transform: translateY(0);
    transition: var(--nexa-transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Leave 6% gap at bottom so the dots peek through */
    /* padding-bottom: 6%; */
    box-sizing: border-box;
    border-radius: 24px;
    overflow: hidden;
}

#termsPrivacy.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* The actual glassmorphism content card sitting at bottom */
#termsPrivacy .consent-card {
    background: #1d1d1d;
    border: 1px solid var(--nexa-glass-border);
    border-radius: 8px 8px 0 0;
    padding: 10px 24px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    animation: cardSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0.7;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#termsPrivacy .consent-title {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--nexa-text-primary);
    margin-bottom: 0.75rem;
}

#termsPrivacy .consent-text {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 130%;
    color: var(--nexa-text-body);
    /* margin-bottom: 1rem; */
    opacity: 50%;
}

#termsPrivacy .consent-text a {
    color: var(--nexa-text-primary);
    text-decoration: underline;
}

/* Read more / Read less disclaimer toggle */
#termsPrivacy .disclaimer-more-text {
    display: none;
}

#termsPrivacy .disclaimer-ellipsis {
    display: inline;
    opacity: 0.6;
}

#termsPrivacy .read-more-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    color: var(--nexa-text-primary);
    opacity: 1;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
    display: inline;
    vertical-align: baseline;
    line-height: inherit;
}

#termsPrivacy .read-more-btn:hover {
    opacity: 0.7;
}

#termsPrivacy .consent-actions {
    display: flex;
    align-items: center;
    gap: 4rem;
    /* margin-bottom: 1.25rem; */
}

/* Primary Button - Gradient Glow */
#termsPrivacy .btn-primary {
    flex: 1;
    max-width: 10rem;
    padding: 0.6rem;
    border: none;
    border-radius: 0.625rem;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1D1D1D;
    cursor: pointer;
    transition: var(--nexa-transition);
    background-blend-mode: overlay;
    box-shadow: 0 0.25rem 1.25rem rgba(81, 120, 235, 0.3);
    background: linear-gradient(0deg, #FFFFFF, #FFFFFF),
        radial-gradient(111.11% 404.17% at -4.01% -91.35%, rgba(184, 202, 255, 0.3) 21.45%, rgba(56, 106, 255, 0.3) 73.03%);
}

#termsPrivacy .btn-primary:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1.875rem rgba(81, 120, 235, 0.5);
}

/* Secondary Button - Text Only */
#termsPrivacy .btn-secondary {
    background: transparent;
    border: none;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--nexa-text-body);
    cursor: pointer;
    padding: 0.875rem 1.25rem;
    transition: var(--nexa-transition);
}

#termsPrivacy .btn-secondary:hover {
    color: var(--nexa-text-primary);
}

/* ============================================
   FAQ PREVIEW SECTION
   ============================================ */
.faq-preview {
    margin-top: 8px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-preview::before {
    content: '';
    position: absolute;
    bottom: 2px;
    right: -20px;
    width: 200px;
    height: 100px;
    filter: blur(40px);
    opacity: 50%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(139.59deg, #B8CAFF 30.79%, #386AFF 39.11%);
}

.faq-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 10px;
}

.faq-preview-header h4 {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--nexa-text-primary);
    margin: 0;
}

.faq-preview-header .view-all {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--nexa-text-body);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--nexa-transition);
    background: transparent;
    border: none;
}

.faq-preview-header .view-all:hover {
    color: var(--nexa-text-primary);
}

.faq-preview-header .view-all svg {
    width: 16px;
    height: 16px;
}

/* FAQ Cards Horizontal Scroll */
.faq-preview-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* padding-bottom: 16px; */
}

.faq-preview-cards::-webkit-scrollbar {
    display: none;
}

.faq-preview-card {
    flex: 0 0 100%;
    background: var(--nexa-glass-bg);
    border: 1px solid var(--nexa-glass-border);
    border-radius: 16px;
    padding: 13px 15px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: var(--nexa-transition);
    user-select: none;
}

.faq-preview-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--nexa-accent);
}

.faq-preview-card p {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--nexa-text-body);
    margin: 0;
}

/* Pagination Dots */
.faq-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.faq-pagination .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nexa-text-muted);
    transition: var(--nexa-transition);
    cursor: pointer;
}

.faq-pagination .dot.active {
    background: var(--nexa-text-primary);
    width: 18px;
    border-radius: 10px;
}

/* ============================================
   FAQ FULL SCREEN VIEW
   ============================================ */
#faq-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nexa-primary-bg);
    z-index: 2000;
    display: none;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--nexa-transition);
    overflow: hidden;
    /* Ensure glow doesn't spill out */
    border-radius: 1.5rem;
}

#faq-popup::before {
    content: '';
    position: absolute;
    top: 80px;
    left: -50px;
    width: 100px;
    height: 100px;
    filter: blur(40px);
    opacity: 50%;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(124.94deg, #B8CAFF 51.19%, #386AFF 58.35%);
}

#faq-popup.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

/* FAQ Header */
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--nexa-primary-bg);
    border-bottom: 1px solid var(--nexa-glass-border);
}

.faq-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-back-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.174rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--nexa-transition);
    background: #FFFFFF0A;
    border-radius: 0.375rem;
    backdrop-filter: blur(14px);
}

.faq-back-btn:hover {
    opacity: 0.7;
}

.faq-back-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.faq-back-btn svg path {
    stroke: var(--nexa-text-primary);
}

.faq-header h3 {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--nexa-text-primary);
    margin: 0;
}

.faq-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-header-right button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    opacity: 0.7;
    transition: var(--nexa-transition);
    background: #FFFFFF0A;
    backdrop-filter: blur(14px);
    border-radius: 0.375rem;
    height: 32px;
    width: 32px;
}

.faq-header-right button:hover {
    opacity: 1;
}

.faq-header-right svg path {
    fill: var(--nexa-text-primary);
}

/* FAQ Search */
.faq-search {
    padding: 0.2rem;
    position: relative;
}

/* Gradient decoration above search */


.faq-search input {
    width: 90%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--nexa-glass-border);
    padding: 0.75rem 2.25rem 0.75rem 0.25rem;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.8rem;
    color: var(--nexa-text-body);
    outline: none;
    transition: var(--nexa-transition);
    line-height: 1.5;
}

.faq-search input::placeholder {
    color: var(--nexa-text-muted);
}

.faq-search input:focus {
    border-bottom-color: var(--nexa-accent);
}

.faq-search .search-clear {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--nexa-text-muted);
    border: none;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--nexa-transition);
}

.faq-search input:not(:placeholder-shown)+.search-clear {
    opacity: 1;
}

/* Inline auto-suggestion */
.faq-search {
    position: relative;
}

.faq-search-suggestion {
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    /* right: 4rem; */
    pointer-events: none;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2.25rem 0.75rem 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    width: 94%;
}

/* FAQ Content - Accordion */
.faq-content {
    flex: 1;
    overflow-y: auto;
    /* padding: 8px 20px 20px; */
    transition: filter 0.3s ease;
    width: 94%;
    margin: auto;
    border-radius: 0.625rem;
    margin-bottom: 1rem;
}

.faq-content.blurred {
    /* filter: blur(4px); */
    pointer-events: none;
}

.faq-content::-webkit-scrollbar {
    width: 4px;
}

.faq-content::-webkit-scrollbar-track {
    background: transparent;
}

.faq-content::-webkit-scrollbar-thumb {
    background: var(--nexa-text-muted);
    border-radius: 4px;
}

.faq-item {
    background: var(--nexa-glass-bg);
    /* border-radius: 12px; */
    /* margin-bottom: 8px; */
    overflow: hidden;
    transition: var(--nexa-transition);
    border-bottom: 1px solid #FFFFFF1A;
    /* opacity: 10%; */
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    cursor: pointer;
    gap: 1rem;
    opacity: 80%;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.faq-question p {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--nexa-text-body);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.25rem;
    color: var(--nexa-text-muted);
    transition: var(--nexa-transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* FAQ Answer - Expanded State */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Explorer/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.faq-answer::-webkit-scrollbar {
    display: none;
}

.faq-answer-inner {
    border-radius: 8px;
    margin: 0 12px 12px;
    padding: 16px;
    color: var(--nexa-text-primary);
    opacity: 70%;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    font-weight: 400;
    /* line-height: 1; */
}

.faq-answer-inner p {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--nexa-text-primary);
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    overflow: auto;
}

.faq-item.active .faq-toggle {
    color: var(--nexa-text-primary);
}



.quick-action-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: var(--nexa-text-body);
    cursor: pointer;
    transition: var(--nexa-transition);
    white-space: normal;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.3;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--nexa-accent);
    color: var(--nexa-text-primary);
    box-shadow: 0 0 20px rgba(81, 120, 235, 0.3);
}

/* ============================================
   CHAT INPUT BAR - Fixed at Bottom - UPDATED
   ============================================ */
.chat-input-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(180deg, transparent 0%, var(--nexa-primary-bg) 20%);
    z-index: 50;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 4px 8px 4px 16px;
    transition: var(--nexa-transition);
    box-shadow: 0 2px 16px rgba(81, 120, 235, 0.2);
}

.chat-input-wrapper:focus-within {
    border-color: var(--nexa-accent);
    box-shadow: 0 0 20px rgba(81, 120, 235, 0.2);
}

.chat-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 15px;
    color: var(--nexa-text-primary);
    padding: 12px 8px;
    outline: none;
}

.chat-input-wrapper input::placeholder {
    color: var(--nexa-text-muted);
}

.chat-input-wrapper .mic-btn,
.chat-input-wrapper .send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--nexa-transition);
}

.chat-input-wrapper .mic-btn {
    background: transparent;
}

.chat-input-wrapper .mic-btn:hover {
    background: var(--nexa-glass-bg);
}

.chat-input-wrapper .mic-btn svg {
    width: 22px;
    height: 22px;
}

.chat-input-wrapper .mic-btn svg path {
    fill: var(--nexa-text-muted);
}

.chat-input-wrapper .send-btn {
    background: var(--nexa-text-primary);
    margin-left: 4px;
    color: #1D1D1D;
}

.chat-input-wrapper .send-btn:hover {
    background: #F0F0F0;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.chat-input-wrapper .send-btn svg {
    width: 18px;
    height: 18px;
}

.chat-input-wrapper .send-btn svg path {
    stroke: currentColor;
    fill: none;
}

/* ============================================
   THINKING STATE OVERLAY - UPDATED
   ============================================ */
.thinking-overlay {
    position: absolute;
    bottom: 80px;
    /* Center using left/right auto instead of transform to avoid clipping */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    max-width: max-content;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 20px;
    padding: 16px 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 60;
    animation: thinkingSlideUp 0.3s ease-out;
    min-width: 180px;
    overflow: visible;
}

.thinking-overlay.active {
    display: flex;
}

@keyframes thinkingSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.thinking-gif {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.thinking-overlay .thinking-text-wrapper {
    display: grid;
    align-items: center;
    justify-items: start;
    text-align: left;
    perspective: 1000px;
}

.thinking-overlay .thinking-text-wrapper span {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.6) 35%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.6) 65%,
            rgba(255, 255, 255, 0.6) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmerSweep 2.5s ease-in-out infinite;
    white-space: nowrap;
    grid-area: 1 / 1;
    padding: 0 4px;
}

/* Flip Transition: current text rotates out, next rotates in */
.thinking-text-current {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    transform: rotateX(0deg);
    transform-origin: center;
    backface-visibility: hidden;
    opacity: 1;
}

.thinking-text-next {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    transform: rotateX(-90deg);
    transform-origin: center;
    backface-visibility: hidden;
    opacity: 0;
}

.thinking-text-current.flip-out {
    transform: rotateX(90deg);
    opacity: 0;
}

.thinking-text-next.flip-in {
    transform: rotateX(0deg);
    opacity: 1;
}

@keyframes textShimmerSweep {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: -100% 50%;
    }
}

/* ============================================
   AI THINKING GLOW EFFECT
   ============================================ */


@keyframes breathe-glow {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0.4;
    }
}

/* ============================================
   REFRESH OVERLAY
   ============================================ */
.refresh-overlay {
    position: absolute;
    top: 48px;
    /* Start below the header to keep icons visible */
    left: 0;
    width: 100%;
    height: calc(100% - 48px);
    background: var(--nexa-primary-bg);
    z-index: 150;
    /* Below header z-index (110) */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 40px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    box-shadow: 0px 4px 24px 0px #5178EB inset;

}

.refresh-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.refresh-content {
    position: relative;
    z-index: 2;
}

.refresh-content h3 {
    color: #fff;
    font-size: 16px;
    margin: 12px 0 6px 0;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-weight: 600;
}

.refresh-content p {
    color: #8da2c0;
    font-size: 11px;
    max-width: 240px;
    margin: 0 auto;
    line-height: 1.4;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
}

.refresh-overlay .spinner {
    margin-bottom: 8px;
}

.refresh-overlay .spinner svg {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.refresh-glow-img {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 160%;
    height: auto;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   BLUR BACKGROUND OVERLAY
   ============================================ */
.blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1500;
    display: none;
    transition: var(--nexa-transition);
    border-radius: 24px;
}

/* ============================================
   WEBCHAT INTEGRATION STYLES
   ============================================ */
#webchat {
    height: calc(100% - 48px);
    display: none;
    padding-bottom: 80px;
    background: transparent !important;
}

/* ============================================
   TOASTER ALIGNMENT (SESSION EXPIRED, ETC.)
   ============================================ */
#webchat-container.maximized .webchat__toaster {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 720px;
    box-sizing: border-box;
}

#webchat-container.maximized .webchat__toaster__list,
#webchat-container.maximized .webchat__toast,
#webchat-container.maximized .webchat__toaster__header {
    width: 100% !important;
    box-sizing: border-box;
}



.webchat__basic-transcript__scrollable {
    overflow-anchor: none;
}

.webchat__basic-transcript__scrollable.has-active-query {
    padding-bottom: 42vh !important;
}

.webchat__basic-transcript__scrollable.has-active-response {
    padding-bottom: 10vh !important;
}



.webchat__basic-transcript__scrollable::-webkit-scrollbar {
    display: none;
}

.webchat__basic-transcript__scrollable {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ============================================
   SCROLL-TO-BOTTOM ARROW BUTTON
   ============================================ */
.scroll-to-bottom-btn {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    z-index: 80;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(29, 29, 29, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--nexa-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.scroll-to-bottom-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.scroll-to-bottom-btn:hover {
    background: rgba(81, 120, 235, 0.25);
    border-color: var(--nexa-accent);
    box-shadow: 0 0 16px rgba(81, 120, 235, 0.35);
}

.scroll-to-bottom-btn:active {
    transform: translateX(-50%) scale(0.92);
}

.scroll-to-bottom-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   USER MESSAGE BUBBLE - UPDATED
   ============================================ */
.webchat__bubble--from-user {
    animation: messageFadeIn 0.4s ease-out;
}

.webchat__bubble--from-user .webchat__bubble__content {
    background: var(--nexa-user-message-bg) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    max-width: fit-content !important;
    color: var(--nexa-text-primary) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    margin-left: 16px !important;
    margin-right: 12px !important;
}

.webchat__bubble--from-user .webchat__text-content {
    padding: 0 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* User message timestamp */
.webchat__bubble--from-user+.webchat__stacked-layout__status,
.webchat__row--from-user .webchat__stacked-layout__status {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 11px !important;
    margin-top: 6px !important;
    margin-left: 0 !important;
    font-weight: 400 !important;
}

/* ============================================
   AI RESPONSE MESSAGE - UPDATED
   ============================================ */
.webchat__bubble:not(.webchat__bubble--from-user) {
    animation: botResponseSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.webchat__bubble:not(.webchat__bubble--from-user) .webchat__bubble__content {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: var(--nexa-text-primary) !important;
    box-shadow: none !important;
    max-width: 100% !important;
    /* opacity: 70%; */
    font-weight: 400;
    margin: 0 16px !important;
}

.webchat__bubble:not(.webchat__bubble--from-user) .webchat__text-content {
    padding: 0 !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    color: var(--nexa-text-primary) !important;
}

/* AI thinking status text - "Thought for X seconds" - REMOVED FROM CSS */
/* This will be added dynamically via JavaScript */

/* Bot response timestamp */
.webchat__row:not(.webchat__row--from-user) .webchat__stacked-layout__status {
    color: rgba(255, 255, 255, 0.5) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 11px !important;
    margin-top: 6px !important;
    font-weight: 400 !important;
}

/* Message fade-in animation */
@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bot response slide-in — rises from glow bar */
@keyframes botResponseSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FILE ATTACHMENT / BROCHURE UI - NEW
   ============================================ */
/* ============================================
   FILE ATTACHMENT / BROCHURE UI - NEW
   ============================================ */
.webchat__fileContent {
    background: #2B2B2B !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin: auto !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(0px) !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
}

.webchat__fileContent:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}

.webchat__fileContent__buttonLink {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    text-decoration: none !important;
    gap: 12px !important;
    width: 100% !important;
}

.webchat__fileContent__badge {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 !important;
    overflow: hidden !important;
    gap: 12px !important;
}

.webchat__fileContent__fileName {
    color: #000000 !important;
    /* Size text color */
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: pre-wrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

/* ::first-line allows coloring the first line (filename) differently from the second line (size) */
.webchat__fileContent__fileName::first-line {
    color: #C5C7DC !important;
    /* File name text color */
    font-size: 15px !important;
}

.webchat__fileContent__downloadIcon {
    width: 8px;
    height: 11px;
    flex-shrink: 0 !important;
    background-image: url('/icons/chatbot/download.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    fill: transparent !important;
}

.webchat__fileContent__downloadIcon path {
    display: none !important;
}

.webchat__fileContent:hover .webchat__fileContent__downloadIcon {
    opacity: 1 !important;
    transform: translateY(2px) !important;
}

.webchat__fileContent__buttonLink {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}

.webchat__fileContent.is-downloading,
.webchat__fileContent.is-downloading .webchat__fileContent__buttonLink,
.webchat__fileContent__buttonLink.is-downloading {
    pointer-events: none !important;
    touch-action: none !important;
    cursor: wait !important;
    opacity: 0.75 !important;
}

.webchat__fileContent.is-downloading .webchat__fileContent__downloadIcon,
.webchat__fileContent.is-downloaded .webchat__fileContent__downloadIcon {
    display: none !important;
}

.webchat__fileContent:not(.is-downloading) .webchat__fileContent__loader,
.webchat__fileContent__loader[style*="display: none"] {
    display: none !important;
}

.webchat__fileContent:not(.is-downloaded) .webchat__fileContent__check,
.webchat__fileContent__check[style*="display: none"] {
    display: none !important;
}

.webchat__fileContent__loader,
.webchat__fileContent__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

.webchat__fileContent__spinner {
    width: 18px !important;
    height: 18px !important;
    color: #386AFF !important;
    animation: webchat-spin 0.8s linear infinite !important;
}

.webchat__fileContent__checkIcon {
    width: 20px !important;
    height: 20px !important;
    color: #10B981 !important;
}

@keyframes webchat-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Add a subtle visual hint that it's a document before the name */
.webchat__fileContent__badge::before {
    content: '';
    display: block;
    width: 24px;
    height: 28px;
    background-image: url('/icons/chatbot/Doc.svg') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9 !important;
    flex-shrink: 0;
}

/* ============================================
   RESPONSE ACTION ICONS - UPDATED
   ============================================ */
.webchat__stacked-layout:not(.webchat__stacked-layout--from-user) .webchat__bubble__content::after {
    content: none;
}

/* Custom action icons container - UPDATED */
.response-actions {
    display: flex;
    align-items: center;
    /* gap: 12px; */
    /* margin-top: 12px; */
    animation: iconsFadeIn 0.4s ease-out 0.2s forwards;
    opacity: 0;
    margin-left: 10px;
}

/* Keep response actions close to timestamps */
.webchat__stacked-layout__status+.response-actions {
    margin-top: 2px;
}

/* Tighten vertical spacing between activities */
.webchat__basic-transcript__activity {
    padding-top: 0 !important;
}

.webchat__basic-transcript__activity:not(:first-child) {
    margin-top: 8px !important;
}

.webchat__basic-transcript__activity-body:not(:empty) {
    padding-bottom: 2px !important;
}

.webchat__row--from-user .webchat__stacked-layout__status,
.webchat__row:not(.webchat__row--from-user) .webchat__stacked-layout__status {
    margin-top: 2px !important;
}



@keyframes iconsFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.response-action-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.response-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    /* #FFFFFF1A */
    transform: scale(1.1);
}

.response-action-btn:active {
    transform: scale(0.95);
}

.response-action-btn img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.response-action-btn:hover img {
    opacity: 1;
}

/* Specific icon states - using filters since we can't fill img */
.response-action-btn.liked img {
    filter: sepia(1) saturate(5) hue-rotate(90deg);
    /* Greenish approximation or use specific colored icon */
    opacity: 1;
}

.response-action-btn.disliked img {
    filter: sepia(1) saturate(5) hue-rotate(-50deg);
    /* Reddish approximation */
    opacity: 1;
}

.streaming-response-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 4px;
    animation: iconsFadeIn 0.35s ease-out forwards;
}

.streaming-response-button {
    appearance: none;
    border: 1px solid var(--nexa-button-border);
    background: var(--nexa-button-bg);
    color: var(--nexa-text-primary);
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.streaming-response-button:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.streaming-response-button:active {
    transform: translateY(0);
}

.streaming-media-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 2px 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.streaming-media-carousel::-webkit-scrollbar {
    display: none;
}

.streaming-media-carousel__slide {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

.streaming-media-carousel__slide>* {
    width: 100%;
}

/* ============================================
   FOLLOW-UP QUESTIONS - Row layout with header
   ============================================ */
.followup-questions {
    display: flex;
    flex-direction: column;
    padding: 4px 10px 8px 10px;
    margin-top: 6px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
    animation: iconsFadeIn 0.4s ease-out 0.15s forwards;
    opacity: 0;
}

/* "Follow-ups" section header */
.followup-header {
    font-family: "Fira Sans", 'Noto Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 6px 6px 6px;
    letter-spacing: 0.01em;
}

.followup-question-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 94%;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 10px 6px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    text-align: left;
    line-height: 1.4;
    box-sizing: border-box;
}

.followup-question-row:hover {
    background: rgba(81, 120, 235, 0.1);
    color: #FFFFFF;
}

.followup-question-row:active {
    transform: scale(0.985);
}

.followup-row-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.followup-row-text {
    flex: 1;
}

/* Copy button — checkmark confirmed state */
.response-action-btn.copied {
    pointer-events: none;
}

.response-action-btn .copy-check-icon {
    width: 16px;
    height: 16px;
    animation: checkPop 0.3s ease-out;
}

@keyframes checkPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   SPEAKER BUTTON DISABLED STATE
   ============================================ */
.response-action-btn.speak-btn.speaking {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.response-action-btn.speak-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.response-action-btn.speak-btn {
    display: none;
}

/* Loading spinner on speaker button */
.sp-loading-spinner {
    animation: spin 1.2s linear infinite;
}

/* ============================================
   SPEECH PLAYER BAR
   ============================================ */
.speech-player-bar {
    position: absolute;
    bottom: 74px;
    width: 91%;
    left: 14px;
    right: 16px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    box-sizing: border-box;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.speech-player-bar.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#webchat-container.maximized .speech-player-bar {
    width: calc(100% - 44px) !important;
    left: 18px;
}

/* Common button reset */
.speech-player-bar .sp-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.speech-player-bar .sp-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.speech-player-bar .sp-btn:active {
    transform: scale(0.92);
}

/* Play / Pause */
.sp-play-pause-btn {
    width: 32px;
    height: 32px;
}

/* Timer */
.sp-time {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif, monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    min-width: 38px;
    text-align: center;
    flex-shrink: 0;
}

/* Wave container */
.sp-wave-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
    height: 16px;
}

.sp-wave {
    height: 13px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* Animate when playing */
.speech-player-bar.playing .sp-wave {
    animation: spWavePulse 1.2s ease-in-out infinite alternate;
    opacity: 0.8;
}

.speech-player-bar.playing .sp-wave:nth-child(2) {
    animation-delay: 0.3s;
}

.speech-player-bar.playing .sp-wave:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes spWavePulse {
    0% {
        transform: scaleY(0.6);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1.2);
        opacity: 1;
    }

    100% {
        transform: scaleY(0.8);
        opacity: 0.6;
    }
}

/* Skip buttons */
.sp-skip-btn {
    width: 28px;
    height: 28px;
}

/* Close button */
.sp-close-btn {
    width: 28px;
    height: 28px;
}

/* ============================================
   DISLIKE FEEDBACK POPUP MODAL
   ============================================ */
.dislike-feedback-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex !important;
    align-items: end;
    justify-content: end;
    flex-direction: column !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem;
    box-sizing: border-box;
}

.dislike-feedback-overlay.active {
    opacity: 1;
}

.dislike-feedback-overlay.closing {
    opacity: 0;
}

.dislike-feedback-modal {
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    overflow: hidden;
    /* box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05); */
    transform: translateY(1.25rem) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    background: #FFFFFF1A;
    backdrop-filter: blur(14px);
}

.dislike-feedback-overlay.active .dislike-feedback-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.dislike-feedback-overlay.closing .dislike-feedback-modal {
    transform: translateY(1.25rem) scale(0.95);
    opacity: 0;
}

/* Header */
.dislike-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem 0.75rem;
}

.dislike-feedback-title {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--nexa-text-primary);
}

.dislike-feedback-close {
    border: none;
    cursor: pointer;
    padding: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* opacity: 0.6; */
    transition: opacity 0.2s ease;
    border-radius: 0.375rem;
    background: #FFFFFF0A;
    backdrop-filter: blur(14px);
}

.dislike-feedback-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Body */
.dislike-feedback-body {
    padding: 0.25rem 1.25rem 0.75rem;
}

.dislike-feedback-label {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 0.5rem;
}

/* Select dropdown wrapper */
.dislike-feedback-select-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

/* Custom dropdown trigger */
.dislike-feedback-custom-select {
    position: relative;
    width: 100%;
}

.dislike-custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.625rem;
    color: var(--nexa-text-primary);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    padding: 0.75rem 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.dislike-custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.dislike-feedback-custom-select.open .dislike-custom-select-trigger {
    border-color: var(--nexa-accent);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dislike-custom-select-value {
    color: rgba(255, 255, 255, 0.35);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dislike-custom-select-value.selected {
    color: var(--nexa-text-primary);
}

/* Dropdown options */
.dislike-custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2A2A2A;
    border: 1px solid var(--nexa-accent);
    border-top: none;
    border-radius: 0 0 0.625rem 0.625rem;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.dislike-feedback-custom-select.open .dislike-custom-select-options {
    max-height: 12.5rem;
    opacity: 1;
    overflow-y: auto;
}

.dislike-custom-select-option {
    padding: 0.75rem 0.875rem;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dislike-custom-select-option:last-child {
    border-bottom: none;
}

.dislike-custom-select-option:hover {
    background: rgba(81, 120, 235, 0.15);
    color: var(--nexa-text-primary);
}

/* Chevron rotation */
.dislike-feedback-chevron {
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.25s ease;
}

.dislike-feedback-custom-select.open .dislike-feedback-chevron {
    transform: rotate(180deg);
}

/* Textarea */
.dislike-feedback-textarea {
    width: 100%;
    min-height: 5rem;
    background: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.625rem;
    color: var(--nexa-text-primary);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    padding: 0.75rem 0.875rem;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.dislike-feedback-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.dislike-feedback-textarea:focus {
    outline: none;
    border-color: var(--nexa-accent);
}

/* Footer */
.dislike-feedback-footer {
    padding: 0.5rem 1.25rem 1.125rem;
}

.dislike-feedback-submit {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.625rem;
    color: var(--nexa-text-primary);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dislike-feedback-submit:hover {
    background: rgba(81, 120, 235, 0.25);
    border-color: var(--nexa-accent);
    box-shadow: 0 0 16px rgba(81, 120, 235, 0.3);
}

.dislike-feedback-submit:active {
    transform: scale(0.98);
}

/* ============================================
   CUSTOM DEALER SELECTION DROPDOWN
   ============================================ */
.nexa-dealer-dropdown {
    width: 100%;
    position: relative;
}

.nexa-dealer-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2A2A2A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nexa-dealer-trigger:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.nexa-dealer-trigger.open {
    border-color: var(--nexa-accent);
    border-radius: 10px 10px 0 0;
}

.nexa-dealer-trigger.has-value .nexa-dealer-trigger-text {
    color: var(--nexa-text-primary);
}

.nexa-dealer-trigger-text {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 8px;
}

.nexa-dealer-trigger-chevron {
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.nexa-dealer-trigger.open .nexa-dealer-trigger-chevron {
    transform: rotate(180deg);
}

/* Dealer list panel */
.nexa-dealer-list {
    display: none;
    flex-direction: column;
    background: #222222;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 280px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.nexa-dealer-list.open {
    display: flex;
}

/* Custom scrollbar for dealer list */
.nexa-dealer-list::-webkit-scrollbar {
    width: 4px;
}

.nexa-dealer-list::-webkit-scrollbar-track {
    background: transparent;
}

.nexa-dealer-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Individual dealer item */
.nexa-dealer-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nexa-dealer-item:last-child {
    border-bottom: none;
}

.nexa-dealer-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nexa-dealer-item.selected {
    background: rgba(81, 120, 235, 0.08);
}

/* Radio circle */
.nexa-dealer-radio {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: border-color 0.2s ease;
}

.nexa-dealer-item.selected .nexa-dealer-radio {
    border-color: var(--nexa-accent);
}

.nexa-dealer-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.nexa-dealer-item.selected .nexa-dealer-radio-inner {
    background: var(--nexa-accent);
}

/* Dealer info */
.nexa-dealer-info {
    flex: 1;
    min-width: 0;
}

.nexa-dealer-name {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--nexa-text-primary);
    line-height: 1.3;
    margin-bottom: 3px;
    white-space: normal;
    word-break: break-word;
}

.nexa-dealer-address {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}

/* Override adaptive card renderer width constraints for dealer dropdown */

.webchat__adaptive-card-renderer .nexa-dealer-list {
    width: 100%;
}

.webchat__adaptive-card-renderer .nexa-dealer-trigger {
    width: 100%;
}

/* ============================================
   MARKDOWN RENDER - AI Response Typography
   ============================================ */
.webchat__render-markdown,
.webchat__text-content--is-markdown {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 14px !important;
    color: var(--nexa-text-primary) !important;
    line-height: 1.7 !important;
}

.webchat__render-markdown p,
.webchat__text-content--is-markdown p {
    color: var(--nexa-text-primary) !important;
    margin: 0 0 4px 0 !important;
    /* opacity: 50%; */
}

.webchat__render-markdown p:last-child,
.webchat__text-content--is-markdown p:last-child {
    margin-bottom: 0 !important;
}

.webchat__render-markdown h1,
.webchat__text-content--is-markdown h1,
.webchat__render-markdown h2,
.webchat__text-content--is-markdown h2,
.webchat__render-markdown h3,
.webchat__text-content--is-markdown h3,
.webchat__render-markdown h4,
.webchat__text-content--is-markdown h4,
.webchat__render-markdown h5,
.webchat__text-content--is-markdown h5,
.webchat__render-markdown h6,
.webchat__text-content--is-markdown h6 {
    margin: 10px 0 !important;
    line-height: 1.3 !important;
}

.webchat__render-markdown ul,
.webchat__render-markdown ol,
.webchat__text-content--is-markdown ul,
.webchat__text-content--is-markdown ol {
    color: var(--nexa-text-primary) !important;
    padding-left: 20px !important;
    margin: 4px 0 !important;
}

.webchat__render-markdown li {
    color: var(--nexa-text-primary) !important;
    margin-bottom: 4px !important;
}

.webchat__render-markdown strong {
    color: var(--nexa-text-primary) !important;
    font-weight: 600 !important;
}

.webchat__render-markdown a {
    color: var(--nexa-accent) !important;
    text-decoration: none !important;
}

.webchat__render-markdown a:hover {
    text-decoration: underline !important;
}

/* ============================================
   SUGGESTED ACTIONS - Pill Buttons
   ============================================ */
.webchat__suggested-actions {
    padding: 12px 0 !important;
}

.webchat__suggested-actions__carousel {
    padding: 0 !important;
}

button.webchat__suggested-action {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
    margin-right: 8px !important;
}

button.webchat__suggested-action:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--nexa-accent) !important;
    color: var(--nexa-text-primary) !important;
    box-shadow: 0 0 15px rgba(81, 120, 235, 0.25) !important;
}

/* ============================================
   SEND BOX - Glass Input Bar
   ============================================ */
.webchat__send-box {
    /* background: linear-gradient(to bottom, transparent 0%, var(--nexa-primary-bg) 20%, var(--nexa-primary-bg) 100%) !important; */
    border-top: none !important;
    /* padding: 12px; */
    position: absolute !important;
    bottom: 22px !important;
    /* Lifted to make room for FAQ prompt */
    left: 0 !important;
    right: 0 !important;
    z-index: 100;
    /* width: 98%; */
}

/* FAQ Prompt Below Input Box */
.faq-bottom-prompt {
    position: absolute;
    bottom: 0px;
    width: 98%;
    text-align: center;
    font-size: 10px;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    z-index: 101;
    display: flex;
    justify-content: center;
    gap: 4px;
    /* padding: 14px 0 8px 0; */
    /* backdrop-filter: blur(8px) !important; */
    -webkit-backdrop-filter: blur(16px) !important;
    /* background: linear-gradient(to top, rgba(29, 29, 29, 0.85) 10%, rgba(29, 29, 29, 0.5) 60%, transparent 100%); */
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    /* padding: 6px 0; */
    margin: 0px 4px !important;
}

.faq-bottom-prompt .faq-bottom-text {
    color: #FFFFFF;
    opacity: 0.4;
}

.faq-bottom-prompt .faq-bottom-link {
    color: #E0E0E0;
    /* dark white */
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.faq-bottom-prompt .faq-bottom-link:hover {
    opacity: 0.8;
}

/* Glow SVG behind the input box */
.sendbox-glow {
    display: none;
    position: absolute;
    left: 50%;
    /* bottom: -320px; */
    transform: translateX(-35%);
    width: 220%;
    height: auto;
    /* opacity: 0.4; */
    pointer-events: none;
    z-index: -1;
}

.chatbot-nexa-bot .webchat__send-box__main {
    position: relative;
    background: #FFFFFF1A !important;
    backdrop-filter: blur(14px) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    margin-bottom: -2px;
    width: 94%;
    margin-left: 12px;
    min-height: clamp(32px, 4.5vh, 40px) !important;
    margin: auto;
    box-sizing: border-box !important;
    box-shadow: 0px 1px 1px 1px #26439b inset;
    border-bottom: 1px solid #26439b;
}

/* Animated gradient border for the Nexa send box */
@property --nexa-border-angle {
    syntax: '<angle>';
    inherits: true;
    initial-value: 0deg;
}

@keyframes nexaSpinBorder {
    to {
        --nexa-border-angle: 360deg;
    }
}

.chatbot-nexa-bot .webchat__send-box__main::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2.5px;
    background: conic-gradient(from var(--nexa-border-angle), #26439b, #5178EB, #B8CAFF, #5178EB, #26439b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: nexaSpinBorder 4s linear infinite;
    will-change: --nexa-border-angle;
    pointer-events: none;
    z-index: 1;
}

/* Hide the gradient border after the user sends a message */
.chatbot-nexa-bot .webchat__send-box__main.sendbox-gradient-hidden::before {
    opacity: 0;
    animation: none;
}

.chatbot-nexa-bot .webchat__send-box__main:focus-within {
    border-color: var(--nexa-accent) !important;
    box-shadow: 0px 1px 1px 1px #26439b inset, 0 0 20px rgba(81, 120, 235, 0.2) !important;
}

.webchat__send-box-text-box__input {
    background: transparent !important;
    color: var(--nexa-text-primary) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 16px !important;
    /* Minimum 16px to prevent iOS Safari auto-zoom */
}

.webchat__send-box-text-box__input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.webchat__icon-button:hover .webchat__icon-button__shade {
    background: none !important;
}

#webchat-container ul {
    list-style-type: disc !important;
}

button.ac-pushButton.style-default,
button.ac-pushButton-disabled.style-default {
    border: 1px solid rgba(81, 120, 235, 0.34) !important;
    background: rgba(81, 120, 235, 0.06) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 10px 14px !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
    min-height: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
}

button.ac-pushButton-disabled.style-default {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.no-transition {
    transition: none !important;
}

.webchat__icon-button {
    -webkit-box-align: center;
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: 0px;
    display: flex;
    fill: #fff !important;
    -webkit-box-pack: center;
    justify-content: center;
    outline: 0px;
    padding: 0px;
    position: relative;
    width: 40px;
    cursor: pointer;
}

.webchat__icon-button:hover {
    background-color: none !important;
}

/* Microphone button */
.webchat__send-box__microphone-button {
    background: transparent !important;
    border: none !important;
    padding: 8px !important;
    opacity: 1 !important;

}


/* Hide the default SVG inside the mic button but keep size for click area */
.webchat__send-box__microphone-button svg {
    width: 20px !important;
    height: 34px !important;
}

/* Send button */
.webchat__send-button {
    background: var(--nexa-accent) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.webchat__send-button:hover {
    background: #6388F0 !important;
    box-shadow: 0 0 15px rgba(81, 120, 235, 0.5) !important;
}

.webchat__send-button svg path {
    fill: var(--nexa-text-primary) !important;
}

/* ============================================
   ADAPTIVE CARD BUTTONS
   ============================================ */
/* ============================================
   ADAPTIVE CARD BUTTONS - QUICK ACTION STYLE
   ============================================ */
button.ac-pushButton.style-default.ac-selectable {
    border: 1px solid rgba(81, 120, 235, 0.34) !important;
    background: rgba(81, 120, 235, 0.06) !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 10px 14px !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
    min-height: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
}

button.ac-pushButton.style-default.ac-selectable:hover {
    /* transform: translateY(-1px) !important; */
    background: rgba(81, 120, 235, 0.15) !important;
    border-color: rgba(81, 120, 235, 0.62) !important;
}

/* Ensure text inside allows wrapping if needed, matching quick actions */
button.ac-pushButton.style-default.ac-selectable div {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Text Block */
.ac-textBlock {
    color: var(--nexa-text-primary) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
}

/* ============================================
   WELCOME CARD - GenAI Redesign
   ============================================ */
.webchat__row.nexa-welcome-card {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.nexa-welcome-card .webchat__bubble {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.nexa-welcome-card .webchat__bubble__content {
    width: 100% !important;
    display: flex;
    justify-content: center;
    overflow: visible !important;
}

.nexa-welcome-card .webchat__adaptive-card-renderer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nexa-welcome-card .ac-adaptiveCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100% !important;
    max-width: 600px;
    /* Constrain width on ultra-wide screens */
    margin: 0 auto !important;
    /* padding: 20px 15px 15px !important; */
}

/* GenAI Icon */
.nexa-welcome-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}

.nexa-welcome-icon img {
    width: 60px;
    height: 60px;
}

/* "Meet our all new, GenAi" heading */
.nexa-welcome-heading {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--nexa-text-primary);
    margin-bottom: 2px;
    text-align: center;
    width: 100%;
}

/* Centered description text */
.nexa-welcome-description {
    text-align: center !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 4px !important;
}

/* Learn More link */
.nexa-welcome-learn-more {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.nexa-welcome-learn-more a {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.nexa-welcome-learn-more a:hover {
    color: var(--nexa-text-primary);
}

.nexa-welcome-learn-more svg {
    width: 12px;
    height: 12px;
}

/* Welcome Card Video styling */
.nexa-welcome-card .nexa-video-card.is-single {
    margin: 16px auto !important;
    width: 90% !important;
    max-width: 420px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease !important;
}

.nexa-welcome-card .nexa-video-card.is-single:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(81, 120, 235, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px 0 rgba(81, 120, 235, 0.25) !important;
}

/* Helper text */
.nexa-welcome-helper {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-bottom: 6px;
    width: 100%;
    line-height: 1.5;
}

/* Pill-style 3-column grid buttons */
.nexa-welcome-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.nexa-welcome-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: var(--nexa-text-primary);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 6px;
    padding-left: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* line-height: 1.3; */
    width: calc((100% - 16px) / 3);
    min-height: 42px;
    /* Set a fixed height for consistency */
    box-sizing: border-box;
    /* text-align: center; */
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nexa-pill-text {
    width: 100%;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    /* overflow: hidden; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    text-align: left;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
}

.nexa-welcome-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(81, 120, 235, 0.5);
    color: var(--nexa-text-primary);
    box-shadow: 0 0 12px rgba(81, 120, 235, 0.2);
    transform: translateY(-1px);
}

/* Mobile responsiveness for welcome action buttons - 3 columns */
@media (max-width: 600px) {
    .nexa-welcome-buttons {
        gap: 6px 4px;
    }

    .nexa-welcome-pill {
        width: calc((100% - 8px) / 3);
        min-height: 40px;
        padding: 4px 4px 4px 6px;
    }

    .nexa-welcome-pill .btn-icon {
        width: 14px !important;
        height: 14px !important;
        margin-right: 4px !important;
    }

    .nexa-pill-text {
        font-size: 0.68rem;
        line-height: 1.25;
    }
}

/* Brezza pill shimmer - commented out for Register Your Interest */
.nexa-pill-brezza {
    border: none !important;
    border: 1px solid #789AFF !important;
    overflow: hidden;
    position: relative;
}

.nexa-pill-brezza::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 2;
    animation: brezza-shimmer 3s ease-in-out infinite;
}

.nexa-pill-brezza:hover::before {
    animation: brezza-shimmer 1.5s ease-in-out infinite;
}

@keyframes brezza-shimmer {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

*/

/* Tooltip box */
.nexa-welcome-pill::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    max-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

*/

/* Tooltip arrow */
.nexa-welcome-pill::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border: 6px solid transparent;
    border-top-color: rgba(20, 20, 20, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.nexa-welcome-pill:hover::after,
.nexa-welcome-pill:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

*/

/* Hide old separators in welcome card */
.nexa-welcome-card .ac-horizontal-separator,
.nexa-welcome-card .ac-vertical-separator {
    display: none !important;
}

/* ============================================
   TABLES IN MESSAGES
   ============================================ */
.webchat__bubble__content table {
    border-collapse: collapse;
    width: 100%;
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
}

.webchat__bubble__content table th,
.webchat__bubble__content table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
    color: var(--nexa-text-primary);
    font-size: 13px;
}

.webchat__bubble__content table th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.webchat__bubble__content table tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

/* ============================================
   AVATAR & LAYOUT
   ============================================ */
.webchat__imageAvatar,
.webchat__initialsAvatar {
    display: none !important;
}

.webchat__stacked-layout {
    padding: 0 !important;
    margin-bottom: 12px !important;
}

.webchat__stacked-layout__content {
    margin-left: 0 !important;
}

/* Force ALL messages to LEFT alignment */
.webchat__stacked-layout--from-user {
    align-items: flex-start !important;
    margin-top: 14px !important;
    margin-bottom: 8px !important;
}

.webchat__stacked-layout--from-user .webchat__stacked-layout__content {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Ensure the row container is LEFT-aligned for user messages */
.webchat__row--from-user {
    justify-content: flex-start !important;
}

.webchat__row--from-user .webchat__bubble--from-user {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Bot message row - left aligned */
.webchat__row:not(.webchat__row--from-user) {
    justify-content: flex-start !important;
}

.webchat__row:not(.webchat__row--from-user) .webchat__bubble {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Stacked layout status / timestamp */
.webchat__stacked-layout__status {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 11px !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    margin-top: 6px !important;
    margin-left: 10px;
}

/* ============================================
   UPLOAD & MISC
   ============================================ */
.webchat__upload-button {
    display: none !important;
}

.webchat__basic-transcript__filler {
    display: none;
}

/* Typing indicator */
.webchat__typing-indicator {
    padding: 8px 0 !important;
}

.webchat__typing-indicator__dot {
    background: var(--nexa-accent) !important;
}

/* ============================================
   LOADING STATE
   ============================================ */
#loadingMessage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--nexa-primary-bg);
    color: var(--nexa-text-body);
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 16px;
}

/* ============================================
   DISCLAIMER
   ============================================ */
.risclaimer {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 10px;
    color: var(--nexa-text-muted);
    line-height: 1.4;
    padding: 8px 16px;
    text-align: center;
}

.risclaimer .faq-link {
    color: var(--nexa-accent);
    cursor: pointer;
    text-decoration: underline;
}

.disclaimer-label {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--nexa-text-body);
    padding: 4px 16px 0;
    text-align: center;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 480px) {
    .webchat__bubble:not(.webchat__bubble--from-user) .webchat__bubble__content {
        margin: 0 12px !important;
    }

    .webchat__bubble--from-user .webchat__bubble__content {
        margin: 4px 8px 4px 12px !important;
    }

    #webchat-container .bj-booking {
        padding: 0 12px !important;
    }

    .nexa-cta-card {
        width: calc(100% - 24px) !important;
        margin: 8px 12px !important;
    }

    .genai-orb {
        width: 80px;
        height: 80px;
    }

    .welcome-title {
        font-size: 18px;
    }

    .quick-action-btn {
        padding: 10px 12px;
        font-size: 11px;
    }

    .chat-input-wrapper {
        padding: 4px 6px 4px 12px;
    }

    .chat-input-wrapper input {
        font-size: 14px;
        padding: 10px 6px;
    }

    .chat-input-wrapper .mic-btn,
    .chat-input-wrapper .send-btn {
        width: 36px;
        height: 36px;
    }

    .quick-actions {
        gap: 6px;
        padding: 0 16px;
    }

    .quick-action-btn {
        padding: 10px 8px;
        font-size: 11px;
    }
}

/* ============================================
   LEGACY COMPATIBILITY
   ============================================ */
#pre-chat-container {
    display: none;
}

#webchat-header-notch {
    display: none;
}

.polygon {
    display: none;
}

.webchat--css-bxmfr-1xfdib4 {
    background: transparent !important;
}

.webchat--css-bxmfr-p9w3it.webchat__stacked-layout.webchat__stacked-layout--hide-avatar .webchat__stacked-layout__avatar-gutter,
.webchat--css-bxmfr-p9w3it.webchat__stacked-layout.webchat__stacked-layout--show-avatar .webchat__stacked-layout__avatar-gutter {
    display: none;
}

.webchat--css-bxmfr-p9w3it.webchat__stacked-layout.webchat__stacked-layout--hide-avatar .webchat__stacked-layout__content,
.webchat--css-bxmfr-p9w3it.webchat__stacked-layout.webchat__stacked-layout--show-avatar .webchat__stacked-layout__content {
    margin-left: 0 !important;
}

.webchat--css-bxmfr-p9w3it.webchat__stacked-layout.webchat__stacked-layout--hide-avatar .webchat__stacked-layout__avatar-gutter,
.webchat--css-bxmfr-p9w3it.webchat__stacked-layout.webchat__stacked-layout--show-avatar .webchat__stacked-layout__avatar-gutter {
    display: none;
}

.webchat--css-bxmfr-o5ks0k.webchat__bubble.webchat__bubble--hide-nub .webchat__bubble__nub-pad,
.webchat--css-bxmfr-o5ks0k.webchat__bubble.webchat__bubble--show-nub .webchat__bubble__nub-pad {
    display: none;
}

.webchat__stacked-layout__avatar-gutter {
    width: 0 !important;
}

.webchat {
    background: transparent !important;
    border: none !important;
}

.webchat__bubble__nub-pad {
    width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
}


.webchat__basic-transcript,
.webchat__stacked-layout {
    background-color: transparent !important;
}

.webchat__stacked-layout--from-user .webchat__stacked-layout__attachment-row,
.webchat__stacked-layout--from-user .webchat__stacked-layout__main,
.webchat__stacked-layout--from-user .webchat__stacked-layout__message-row,
.webchat__stacked-layout--from-user .webchat__stacked-layout__status {
    flex-direction: unset !important;
}

.webchat__bubble--from-user .webchat__bubble__content {
    min-height: 8px !important;
}

.custom-send-button {
    width: 30px !important;
    height: 30px !important;
    border: none !important;
    border-radius: 76px;
}

.custom-send-button svg {
    vertical-align: unset;
}

/* ============================================
   CUSTOM MICROPHONE ICON
   ============================================ */
/* .webchat__microphone-button__button svg.webchat__microphone-button__icon {
    display: none !important;
} */

.webchat__microphone-button__button {
    background-image: url('/icons/chatbot/nexa_mic.svg') !important;
    background-size: 24px 24px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    background-color: transparent !important;
}

.webchat__microphone-button__button:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    transform: scale(1.05) !important;
}

/* ============================================
   VOICE RECORDING UI — TRANSFORMING CONTAINER
   ============================================ */

/* The main container when dictating: floats over the sendbox */
.webchat__send-box__main:has(.webchat__microphone-button--dictating),
.webchat__send-box__main.recording-active {
    position: absolute !important;
    bottom: 8px;
    /* left: 8px; */
    right: 8px;
    background: #2A2A30;
    /* Dark premium background matching screenshot */
    border-radius: 16px;
    padding: 16px 14px;
    display: flex !important;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideUpRecording 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes slideUpRecording {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hide default buttons during recording */
.webchat__send-box__main:has(.webchat__microphone-button--dictating) .webchat__send-box__microphone-button,
.webchat__send-box__main.recording-active .webchat__send-box__microphone-button,
.webchat__send-box__main:has(.webchat__microphone-button--dictating) .custom-send-button,
.webchat__send-box__main.recording-active .custom-send-button,
.webchat__send-box__main:has(.webchat__microphone-button--dictating) .webchat__send-button,
.webchat__send-box__main.recording-active .webchat__send-button {
    display: none !important;
}

/* The dictation transcript text at the top of the container */
.webchat__send-box__main:has(.webchat__microphone-button--dictating) .webchat__send-box__dictation-interims,
.webchat__send-box__main.recording-active .webchat__send-box__dictation-interims {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 16px 4px !important;
    padding: 0;
    min-height: 22px;
    text-align: left;
    display: block !important;
    line-height: 1.4;
    max-height: 60px;
    overflow-y: auto;
}

/* The inline recording controls row (bottom part of container) */
.recording-ui-inline {
    display: none;
    /* toggled to flex via JS inline style */
}

.webchat__send-box__main:has(.webchat__microphone-button--dictating) .recording-ui-inline,
.webchat__send-box__main.recording-active .recording-ui-inline {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Adjust recording UI spacing in maximized screen */
#webchat-container.maximized .recording-ui-inline {
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Keep input placeholder logic from shifting wildly */
.webchat__send-box__main:has(.webchat__microphone-button--dictating)~.webchat__send-box-text-box__input,
.webchat__send-box__main.recording-active~.webchat__send-box-text-box__input,
.webchat__send-box__main:has(.webchat__microphone-button--dictating)+.webchat__send-box-text-box,
.webchat__send-box__main.recording-active+.webchat__send-box-text-box {
    opacity: 0.5;
    /* Dim the input field behind */
}

/* ---- Cancel (✕) button ---- */
.rec-cancel-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--nexa-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease;
    flex-shrink: 0;
}

.rec-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---- Wave GIF Container ---- */
.rec-wave-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 10px;
    height: 30px;
    width: 100%;
}

.rec-wave-gif {
    height: 100%;
    width: auto;
    opacity: 0.85;
}

/* ---- Mic icon in recording state ---- */
.rec-mic-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.8;
    margin-right: 8px;
}

.rec-mic-icon img {
    width: 20px;
    height: 20px;
}

/* ---- Timer Text ---- */
.rec-timer {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 8px;
    font-variant-numeric: tabular-nums;
}

/* ---- Confirm (✓) button ---- */
.rec-confirm-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: none;
    border-radius: 50%;
    background: var(--nexa-text-primary);
    color: #1D1D1D;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.rec-confirm-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
   AI TEXT ANIMATION
   ============================================ */
@keyframes nexaFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Streaming typewriter — word-level fade-in */
.nexa-word-animation {
    display: inline-block;
    opacity: 0;
}

.nexa-word-animation.visible {
    transition: opacity 0.25s ease;
    opacity: 1;
}

/* ============================================
   STREAMING CURSOR & LOCK
   ============================================ */

/* ---- Blinking cursor inside native WebChat bubble ---- */
.streaming-cursor {
    display: none !important;
    width: 2px;
    height: 16px;
    background: var(--nexa-accent, #5178EB);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: streamCursorBlink 0.7s step-end infinite;
    border-radius: 1px;
}

@keyframes streamCursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ---- Send box locked state ---- */
.webchat__send-box.streaming-locked {
    opacity: 0.55;
    pointer-events: none;
}

.webchat__send-box.streaming-locked .webchat__send-box-text-box__input {
    cursor: not-allowed;
}

/* ---- Hide timestamp and status during active stream ---- */
.webchat__stacked-layout[data-streaming="true"] .webchat__stacked-layout__status {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

.webchat__stacked-layout__status {
    transition: opacity 0.4s ease;
}

/* Hide timestamp/status on flow chunks (isLastChunk without isFinal) */
.webchat__stacked-layout[data-flow-chunk="true"] .webchat__stacked-layout__status {
    display: none;
}

.webchat__stacked-layout__status {
    display: none !important;
}

/* ---- Markdown Table Styles ---- */
.nexa-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 4px 0;
    border-radius: 6px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.nexa-table-container::-webkit-scrollbar {
    display: none;
}

.webchat__render-markdown>table,
.webchat__text-content--is-markdown>table {
    display: block;
    overflow-x: auto;
    width: 100%;
    margin: 4px 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.webchat__render-markdown>table::-webkit-scrollbar,
.webchat__text-content--is-markdown>table::-webkit-scrollbar {
    display: none;
}

.nexa-table-container table,
.webchat__render-markdown table,
.webchat__text-content--is-markdown table {
    width: 100%;
    border-collapse: collapse;
    word-break: normal;
    overflow-wrap: break-word;
}

.nexa-table-container th,
.nexa-table-container td,
.webchat__render-markdown th,
.webchat__render-markdown td,
.webchat__text-content--is-markdown th,
.webchat__text-content--is-markdown td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    font-size: 13.5px;
    color: var(--nexa-text-primary);
    vertical-align: top;
    line-height: 1.5;
}

.nexa-table-container th,
.webchat__render-markdown th,
.webchat__text-content--is-markdown th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    white-space: nowrap;
}

/* Prevent first column from squishing/breaking */
.nexa-table-container td:first-child,
.webchat__render-markdown td:first-child,
.webchat__text-content--is-markdown td:first-child {
    white-space: nowrap;
    font-weight: 500;
}

/* ============================================
   CUSTOM VIDEO CARD
   ============================================ */
.nexa-video-card {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    /* margin-top: 4px; */
    margin-bottom: 0;
    max-width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 100px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 100%;
}

.nexa-video-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(81, 120, 235, 0.3);
}

.nexa-video-thumb {
    position: relative;
    width: 100%;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
}

.nexa-video-thumb img,
.nexa-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexa-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nexa-video-play-overlay svg {
    vertical-align: unset;
}

.nexa-video-card:hover .nexa-video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(81, 120, 235, 0.8);
    border-color: transparent;
}

.nexa-video-info {
    display: none !important;
}

.nexa-video-title {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--nexa-text-primary);
    margin-bottom: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nexa-video-subtitle {
    display: none;
}

.nexa-video-expand {
    display: none;
}

.nexa-video-expand-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexa-video-card:hover .nexa-video-expand-btn {
    background: rgba(255, 255, 255, 0.14);
}

/* Horizontal overrides for single video card layout */
.nexa-video-card.is-single {
    align-items: center;
    justify-content: space-between;
    padding: 4px !important;
    box-sizing: border-box;
    gap: 16px !important;
    border-radius: 16px !important;
    min-height: unset;
}

.nexa-video-card.is-single:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(81, 120, 235, 0.4);
}

.nexa-video-card.is-single .nexa-video-thumb {
    width: 120px !important;
    height: 75px !important;
    border-radius: 12px !important;
}

.nexa-video-card.is-single .nexa-video-play-overlay {
    width: 28px;
    height: 28px;
}

.nexa-video-card.is-single .nexa-video-info {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 0 !important;
}

.nexa-video-card.is-single .nexa-video-title {
    margin-bottom: 0 !important;
    width: 100%;
}

.nexa-video-card.is-single .nexa-video-expand {
    display: block !important;
    flex-shrink: 0;
}

.nexa-video-card.is-single .nexa-video-expand-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    width: 36px;
    height: 36px;
    border-radius: 10px !important;
}

.nexa-video-card.is-single:hover .nexa-video-expand-btn {
    background: rgba(255, 255, 255, 0.16) !important;
}

/* ============================================
   SIMPLE WELCOME VIDEO CARD
   ============================================ */
.nexa-video-outer {
    width: 100%;
    margin: 4px 0;
}

.nexa-video-outer .nexa-video-title {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 700;
    color: var(--nexa-text-primary);
    text-align: left;
    /* margin: 0 0 8px 0; */
    line-height: 1.3;
}

.nexa-welcome-carousel-container {
    position: relative;
    width: 100%;
    margin: 4px 0 4px 0;
}

.nexa-welcome-carousel-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(81, 120, 235, 0.18), 0 0 14px 4px rgba(81, 120, 235, 0.22);
    touch-action: none;
    cursor: grab;
    contain: layout paint;
}

.nexa-welcome-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.nexa-welcome-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
}

/* Image Card (Slide 2) */
.nexa-simple-image-card {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin: 0;
}

.nexa-simple-image-card .nexa-welcome-card-img {
    width: 100%;
    height: 150px;
    object-fit: fill;
    display: block;
    border-radius: 12px;
}

.nexa-image-card-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #000000;
    border-radius: 20px;
    color: #000000;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nexa-image-card-overlay span,
.nexa-image-card-overlay svg {
    position: relative;
    z-index: 2;
}

/* Rotating border gradient ring - Always active */
.nexa-image-card-overlay::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1.5px;
    background: conic-gradient(from var(--nexa-border-angle),
            transparent 0%,
            #5178EB 25%,
            #386AFF 50%,
            #5178EB 75%,
            transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
    animation: nexaSpinBorder 2.5s linear infinite;
}

.nexa-image-card-overlay:hover {
    box-shadow: 0 4px 16px rgba(81, 120, 235, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-1px);
}

.nexa-image-card-overlay .nexa-right-arrow-icon,
.nexa-image-card-overlay .nexa-left-arrow-icon {
    width: 14px;
    height: 14px;
    color: #000000;
    flex-shrink: 0;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.nexa-image-card-overlay:hover .nexa-right-arrow-icon {
    transform: translateX(3px);
}

.nexa-image-card-overlay:hover .nexa-left-arrow-icon {
    transform: translateX(-3px);
}

/* Carousel Dots Indicator */
.nexa-welcome-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.nexa-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nexa-carousel-dot.active {
    width: 22px;
    border-radius: 10px;
    background: var(--nexa-accent, #5178EB);
    box-shadow: 0 0 10px var(--nexa-accent-glow, rgba(81, 120, 235, 0.6));
}

.nexa-simple-video-card {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin: 0;
    touch-action: none;
}

.nexa-simple-video-card .nexa-welcome-video {
    width: 100%;
    height: 150px;
    object-fit: fill;
    display: block;
    border-radius: 12px;
    pointer-events: none;
    touch-action: none;
}

/* Play/Pause Button - Centered on Hover */
.nexa-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
    padding: 0;
}

.nexa-simple-video-card:hover .nexa-video-play-btn {
    opacity: 1;
}

.nexa-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.85);
}

/* Mute/Unmute Button - Top Right Corner on Hover */
.nexa-video-mute-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
    padding: 0;
}

.nexa-simple-video-card:hover .nexa-video-mute-btn {
    opacity: 1;
}

.nexa-video-mute-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.85);
}

/* ============================================
   DOCKED VIDEO PLAYER
   ============================================ */
.docked-video-container {
    width: 100%;
    max-width: 100%;
    align-self: center;
    background: rgba(40, 40, 48, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 10;
    display: none;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto 12px;
    position: relative;
}

.docked-video-container.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

/* --- Minimized Thumbnail Bar --- */
.docked-video-thumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    cursor: pointer;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
}

.docked-thumb-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.docked-thumb-img {
    position: relative;
    width: 60px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.docked-thumb-img>img:first-child,
.docked-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.docked-thumb-play img {
    width: 10px;
    height: 10px;
}

.docked-video-expand-btn {
    flex-shrink: 0;
}

.docked-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: rgba(0, 0, 0, 0.45); */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.docked-video-title {
    color: white;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docked-video-expand-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: background 0.2s;
    padding: 5px 8px;
}

.docked-video-expand-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* --- Expanded Video View --- */
.docked-video-expanded {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    height: 24vh;
}

.docked-video-container.expanded-view {
    border-radius: 14px;
}

.docked-video-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
}

.docked-video-actions {
    display: flex;
    gap: 8px;
}

.docked-video-close-btn,
.docked-video-minimize-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.docked-video-close-btn:hover,
.docked-video-minimize-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.docked-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    border-radius: 14px;
}

@media (max-width: 767px) {
    .docked-video-container.active {
        width: 100% !important;
        margin: 0 auto 10px;
    }
}

/* Adjustments for the chat container when video is docked */
#webchat-container.shrunk {
    height: 74vh !important;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#webchat-container.shrunk-expanded {
    height: 62vh !important;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .docked-thumb-img {
        width: 64px;
        height: 44px;
    }

    .docked-video-title {
        font-size: 13px;
    }

    .docked-video-expand-btn {
        width: 32px;
        height: 32px;
    }

    #webchat-container.shrunk {
        height: 66vh !important;
    }
}

.webchat__basic-transcript {
    background-color: transparent !important;
    height: calc(100% - 110px) !important;
}

#webchat>div {
    background: none !important;
}

[role="complementary"] {
    background: none !important;
}

/* Target the stable class name provided by the library */
.webchat__typingIndicator {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

/* Also hide the 'Showing typing indicator' screen reader text if needed */
.webchat--css-zgwcg-111jw2m {
    display: none !important;
}

/* ============================================
   AI THINKING GLOW
   ============================================ */
.ai-thinking-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    opacity: 0;
    z-index: 3000;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.ai-thinking-glow-img {
    position: absolute;
    left: 50%;
    bottom: -380px;
    width: 200%;
    height: auto;
    display: block;
    transform: translateX(-46%) translateY(100%);
    transition: transform 0.6s ease;
}

.ai-thinking-glow.active {
    opacity: 0.6;
}

.ai-thinking-glow.active .ai-thinking-glow-img {
    transform: translateX(-46%) translateY(0);
}

/* Hide glow in maximized mode */
#webchat-container.maximized .ai-thinking-glow.active {
    opacity: 0 !important;
    display: none !important;
}

/* Highlight matching text */
.highlight {
    color: var(--nexa-text-primary);
    font-weight: 600;
}

/* ============================================
   CLOSE FEEDBACK MODAL
   ============================================ */
.cfm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483647 !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-radius: inherit;
    animation: cfmFadeIn 0.2s ease;
}

@keyframes cfmFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .cfm-action-btn[title="Expand"] {
        display: none !important;
    }
}

.cfm-panel {
    background: var(--nexa-primary-bg);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: inherit;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cfm-panel::-webkit-scrollbar {
    display: none;
}

/* Header — stacks action buttons on top, then title + subtitle below */
.cfm-header {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cfm-title {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 4px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.cfm-subtitle {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.cfm-close-x {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.cfm-close-x:hover {
    opacity: 1;
}

/* Header action buttons group — matches main header style */
.cfm-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: flex-end;
}

.cfm-action-btn {
    background: #FFFFFF0A;
    backdrop-filter: blur(14px);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    padding: 0.4rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.cfm-action-btn:hover {
    opacity: 1;
}

/* Sections — grouped content blocks */
.cfm-section {
    margin-bottom: 6px;
}

/* Section labels — clearly smaller/muted vs title */
.cfm-section-label {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: none;
    letter-spacing: 0.01em;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* Keep old .cfm-label for backward compat */
.cfm-label {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: none;
    letter-spacing: 0.01em;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* Star Rating */
.cfm-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.cfm-star-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    padding: 0;
}

.cfm-star-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.45);
}

.cfm-star-btn.active {
    border-color: rgba(81, 120, 235, 0.6);
    background: rgba(81, 120, 235, 0.14);
}

.cfm-star {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cfm-star-icon {
    width: 14px;
    height: 14px;
    display: block;
    fill: rgba(255, 255, 255, 0.25);
    transition: fill 0.2s ease;
}

.cfm-star-btn:hover .cfm-star-icon,
.cfm-star-btn.active .cfm-star-icon {
    fill: #5178EB;
}

/* Reason pills */
.cfm-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.cfm-reason-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(185, 189, 214, 0.08);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.cfm-reason-item:hover {
    background: rgba(185, 189, 214, 0.16);
}

.cfm-reason-item.selected {
    background: rgba(81, 120, 235, 0.15);
    border-color: rgba(81, 120, 235, 0.4);
}

.cfm-reason-item input[type="radio"] {
    display: none;
}

.cfm-radio-circle {
    width: auto;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    flex-shrink: 0;
}

.cfm-reason-item.selected .cfm-radio-circle {
    border-color: #5178EB;
    background: #5178EB;
}

.cfm-reason-item.selected .cfm-radio-circle::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: white;
}

.cfm-reason-text {
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    color: #ffffff;
}

/* "What went wrong" label spacing */
.cfm-label+.cfm-textarea {
    margin-top: 0;
}

/* Comment textarea */
.cfm-textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(185, 189, 214, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #ffffff;
    resize: none;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 0;
    transition: border-color 0.2s;
    outline: none;
}

.cfm-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cfm-textarea:focus {
    border-color: rgba(81, 120, 235, 0.4);
}

/* Submit button */
.cfm-submit-btn {
    width: 100%;
    padding: 12px;
    background: rgba(81, 120, 235, 0.15);
    border: 1px solid rgba(81, 120, 235, 0.3);
    border-radius: 10px;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, background 0.2s;
    margin-top: auto;
    position: relative;
}

.cfm-submit-btn:hover {
    opacity: 0.9;
    background: rgba(81, 120, 235, 0.25);
    transform: translateY(-1px);
}

.cfm-submit-btn:active {
    transform: translateY(0);
}

.cfm-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    color: transparent;
    min-height: 40px;
}

.cfm-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: cfmSpin 0.6s linear infinite;
}

@keyframes cfmSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsiveness for cfm-panel & faq-popup */
@media (max-width: 767px) {
    .cfm-panel {
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .cfm-header {
        margin-bottom: 4px;
        padding-bottom: 4px;
    }

    .cfm-title {
        font-size: 1.0rem;
        margin: 4px 0 2px;
    }

    .cfm-subtitle {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .cfm-section {
        margin-bottom: 8px;
    }

    .cfm-section-label {
        font-size: 0.7rem;
        margin: 0 0 4px;
    }

    .cfm-rating {
        gap: 4px;
        margin-bottom: 2px;
    }

    .cfm-star-btn {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .cfm-star,
    .cfm-star-icon {
        width: 13px;
        height: 13px;
    }

    .cfm-reasons {
        gap: 5px;
        margin-bottom: 2px;
    }

    .cfm-reason-item {
        padding: 5px 8px;
        gap: 6px;
        border-radius: 8px;
    }

    .cfm-reason-text {
        font-size: 0.75rem;
    }

    .cfm-textarea {
        min-height: 58px;
        height: auto;
        padding: 8px 10px;
        font-size: 0.75rem;
        line-height: 1.5;
        margin-top: 4px;
        border-radius: 8px;
    }

    .cfm-submit-btn {
        padding: 8px 12px;
        font-size: 0.8125rem;
        border-radius: 8px;
        margin-top: 6px;
    }

    /* FAQ Popup Mobile Adjustments */
    .faq-header {
        padding: 0.625rem 0.875rem;
    }

    .faq-header h3 {
        font-size: 0.95rem;
    }

    .faq-search {
        padding: 0.1rem 0.4rem;
    }

    .faq-search input {
        padding: 0.5rem 2rem 0.5rem 0.25rem;
        font-size: 0.75rem;
    }

    .faq-content {
        padding: 6px 10px 14px;
    }

    .faq-item {
        padding: 8px 10px;
        margin-bottom: 6px;
    }

    .faq-question p {
        font-size: 0.8rem;
    }

    .faq-answer p {
        font-size: 0.75rem;
    }
}

/* ============================================
   CONNECTIVITY STATUS (SESSION EXPIRED)
   ============================================ */
.webchat__connectivityStatus {
    position: absolute !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #FFFFFF1A !important;
    backdrop-filter: blur(16px) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    color: var(--nexa-text-body) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    z-index: 100000 !important;
    margin: 0 auto !important;
    border: none !important;
    height: auto !important;
    width: calc(100% - 20px) !important;
    max-width: 528px !important;
    box-sizing: border-box !important;
}

.webchat__connectivityStatus svg {
    display: block !important;
    color: #EF4444 !important;
    fill: #EF4444 !important;
    stroke: none !important;
    /* Red color for warning icon */
    margin-bottom: 12px !important;
    width: 34px !important;
    height: 34px !important;
}

.webchat__connectivityStatus svg path {
    fill-rule: evenodd !important;
}

/* Wider container: keep connectivity status centered and off the send box */
#webchat-container.maximized .webchat__connectivityStatus {
    bottom: 20px !important;
    width: calc(100% - 44px) !important;
    max-width: 100% !important;
}

#chat-icon-nexa-script {
    position: fixed;
    bottom: 10%;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #00000000 !important;
    z-index: 1001;
    /* Make sure the chat icon is above the web chat container */
    border-radius: 50%;
    color: black;
    transition: transform 0.3s ease;

    @media (max-width: 767px) {
        width: 52px !important;
        height: 52px !important;
    }

    @media (min-width: 768px) and (max-width: 1199px) {
        width: 52px !important;
        height: 52px !important;
    }

    @media (min-width: 1200px) and (max-width: 1365px) {
        width: 58px !important;
        height: 58px !important;
    }

    @media (min-width: 1366px) and (max-width: 1919px) {
        width: 64px !important;
        height: 64px !important;
    }

    @media (min-width: 1920px) {
        width: 96px !important;
        height: 96px !important;
    }
}

#chat-icon-nexa-script img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    #chat-icon-nexa-script:hover img {
        transform: translateX(-140px);
    }
}

#chat-icon-nexa-script::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--nexa-accent-glow) 0%, transparent 70%);
    animation: glowPulse 2.5s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    #chat-icon-nexa-script:hover::before {
        margin-left: -140px;
    }
}

#chat-icon-nexa-script::after {
    content: 'Ask us anything';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: #ffffff;
    color: #1a1a1a;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 24px;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(81, 120, 235, 0.2);
    opacity: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease;
    z-index: -1;
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    #chat-icon-nexa-script:hover::after {
        opacity: 1;
        width: calc(100% + 140px);
        pointer-events: auto;
    }
}

.webchat__send-button {
    display: none !important;
}

.ac-container.ac-adaptiveCard {
    padding: 0px !important;
}

.webchat__stacked-layout {
    width: 100% !important;
}

.webchat__basic-transcript {
    width: 100% !important;
}

.webchat__bubble {
    max-width: 100% !important;
}

.bot-autosuggest {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 80px;
    z-index: 110;
    border-radius: 18px;
    border: 1px solid rgba(81, 120, 235, 0.32);
    background: rgba(29, 29, 29, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    max-height: 300px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.bot-autosuggest__list::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    /* background: linear-gradient(transparent, rgba(29, 29, 29, 0.96)); */
    pointer-events: none;
    display: block;
    flex-shrink: 0;
    margin-top: -24px;
    z-index: 1;
}

.bot-autosuggest.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.bot-autosuggest__list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 6px 8px;
    gap: 2px;
}

.bot-autosuggest__list::-webkit-scrollbar {
    width: 3px;
}

.bot-autosuggest__list::-webkit-scrollbar-track {
    background: transparent;
}

.bot-autosuggest__list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.bot-autosuggest__item {
    appearance: none;
    border: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 14px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: background 0.16s ease, transform 0.16s ease;
    touch-action: manipulation;
    /* Prevent iOS double-tap zoom and allow fast taps */
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on iOS */
    user-select: none;
    -webkit-user-select: none;
}

.bot-autosuggest__item:hover,
.bot-autosuggest__item.is-active {
    background: rgba(81, 120, 235, 0.14);
    transform: none;
}

.bot-autosuggest__text {
    line-height: 1.3;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.94);
    flex: 1;
    min-width: 0;
}

.bot-autosuggest__text strong {
    color: #B8CAFF;
    font-weight: 700;
}

.bot-autosuggest__arrow {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.68);
    align-self: center;
}

.bot-autosuggest__arrow svg {
    width: 16px;
    height: 16px;
    vertical-align: unset;
}

.bot-autosuggest__empty {
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.bot-autosuggest__close-btn {
    flex: 0 0 auto;
    align-self: flex-end;
    margin: 6px 8px 0 0;
    z-index: 5;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    padding: 0;
    flex-shrink: 0;
}

.bot-autosuggest__close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Up-arrow toggle button on input right edge */
.bot-autosuggest-toggle-btn {
    position: absolute;
    top: -24%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 101;
    width: 32px;
    height: 24px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.bot-autosuggest-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#webchat .webchat__stacked-layout {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ac-container custom-adaptive-card {
    margin-right: 10px !important;
    margin-left: 10px !important;
}


.nexa-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4px 18px 8px;
}

@keyframes nexaSlideIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nexa-carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    /* height: 130px; */
}

.nexa-carousel-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(81, 120, 235, 0.22);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
    animation: nexaSlideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.nexa-carousel-item video {
    width: 100%;
    border-radius: 0;
    display: block;
    background: #000;
    max-height: 180px;
    object-fit: cover;
}

.nexa-carousel-item img {
    width: 100%;
    display: block;
    border-radius: 0;
    max-height: 260px;
    object-fit: contain;
    background: transparent !important;
    transition: transform 0.38s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nexa-carousel-item.is-image {
    overflow: hidden;
}

.nexa-carousel-item.is-image img:hover {
    transform: scale(1.05);
}

.nexa-carousel-title {
    padding: 6px 8px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #dce4ff;
    text-align: center;
    line-height: 1.3;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.3); */
}

.nexa-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.78);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: background 0.18s, opacity 0.18s, transform 0.18s;
    opacity: 0.94;
    padding: 0;
}

.nexa-carousel-nav:hover {
    background: rgba(17, 17, 17, 0.95);
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
}

.nexa-carousel-nav:disabled {
    opacity: 0.28;
    cursor: not-allowed;
    pointer-events: none;
}

.nexa-carousel-nav img {
    display: block;
    width: 6px;
    height: 12px;
}

.nexa-carousel-prev {
    left: 8px;
}

.nexa-carousel-next {
    right: 8px;
}

.nexa-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.nexa-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, opacity 0.3s;
    cursor: pointer;
}

.nexa-carousel-dot.active {
    background: var(--nexa-accent, #5178EB);
    width: 18px;
    border-radius: 3px;
    opacity: 1;
}

.nexa-cta-card {
    width: calc(100% - 32px);
    box-sizing: border-box;
    border: 1px solid rgba(81, 120, 235, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.98) 0%, rgba(16, 16, 16, 0.98) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    padding: 14px;
    margin: 8px 16px;
}

.nexa-cta-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-left: 4px;
    font-weight: 500;
}

.nexa-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 4px;
}

.nexa-cta-btn {
    border: 1px solid rgba(81, 120, 235, 0.34);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nexa-cta-btn:hover {
    transform: translateY(-1px);
    background: rgba(81, 120, 235, 0.15);
    border-color: rgba(81, 120, 235, 0.62);
}

/* Custom fix for empty space: hide empty paragraphs and markdown containers inside webchat */
.webchat__render-markdown p:empty,
.webchat__text-content--is-markdown p:empty {
    display: none !important;
}

.webchat__text-content:empty,
.webchat__text-content__markdown:empty,
.webchat__render-markdown:empty {
    display: none !important;
}

.nexa-carousel-item.is-image,
.nexa-single-image-container,
.streaming-image-card-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nexa-carousel-item.is-image img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
}

.nexa-single-image-container img,
.streaming-image-card-wrapper img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-height: 260px !important;
    object-fit: contain !important;
}

/* Shimmer Skeleton Loader Animations */
@keyframes nexaShimmerAnimation {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.nexa-shimmer {
    position: relative !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.nexa-shimmer::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%) !important;
    background-size: 200% 100% !important;
    animation: nexaShimmerAnimation 1.5s infinite linear !important;
    z-index: 2 !important;
}

.nexa-shimmer img,
.nexa-shimmer video,
.nexa-shimmer .nexa-video-play-overlay {
    opacity: 0 !important;
}

.nexa-carousel-item img,
.nexa-single-image-container img,
.streaming-image-card-wrapper img,
.nexa-video-thumb-preview {
    transition: opacity 0.3s ease-in-out !important;
}

/* ---- Video.js Custom Skins & Layout Overrides ---- */
.video-container-wrapper .video-js {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    background-color: #000 !important;
}

.video-container-wrapper .video-js .vjs-tech {
    object-fit: cover !important;
    border-radius: 14px;
}

/* Hide Video.js big play button because we have custom play overlay and controls play button */
.video-container-wrapper .video-js .vjs-big-play-button {
    display: none !important;
}

/* Hide native Video.js fullscreen and PIP control buttons */
.video-js .vjs-fullscreen-control,
.video-js .vjs-picture-in-picture-control {
    display: none !important;
}

/* Video.js Control Theme overrides matching chatbot theme variables */
.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
    background-color: var(--nexa-accent, #5178EB) !important;
}

.video-js .vjs-control-bar {
    background-color: rgba(0, 0, 0, 0.75) !important;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.nexa-media-skeleton {
    padding: 6px 12px;
    width: 100%;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.nexa-media-skeleton__inner {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexa-media-skeleton__inner::after {
    content: "" !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: nexaShimmerAnimation 1.5s infinite linear;
    z-index: 1;
}

.nexa-media-skeleton__text {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 500;
}

.ac-actionSet {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
}

.ac-actionSet button {
    width: auto !important;
    flex: 0 1 auto !important;
}

.ac-actionSet:has(button:nth-of-type(2)):not(:has(button:nth-of-type(3))) {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
}

.ac-actionSet:has(button:nth-of-type(2)):not(:has(button:nth-of-type(3))) button {
    width: 100% !important;
    flex: 0 1 auto !important;
}

/* Ensure Submit is displayed first, Cancel second */
.ac-actionSet button[title*="Submit" i],
.ac-actionSet button[aria-label*="Submit" i] {
    order: 1 !important;
}

.ac-actionSet button[title*="Cancel" i],
.ac-actionSet button[aria-label*="Cancel" i] {
    order: 2 !important;
}

/* Hide spacer divs generated by Adaptive Cards to let CSS flex gap handle margins */
.ac-actionSet>div[style*="height"],
.ac-actionSet>div[style*="width"] {
    display: none !important;
}

#copyToClipboard {
    display: none;
}

/* ============================================
   ADAPTIVE CARD FORM INPUTS STYLING (Nexa Dark Theme)
   ============================================ */

/* Container for inputs */
.ac-input-container {
    /* display: flex !important; */
    background: var(--nexa-card-bg) !important;
    border: 1px solid var(--nexa-border) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    min-height: 44px !important;
    align-items: center !important;
}

/* Base input styling */
.ac-input {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    color: var(--nexa-text-primary) !important;
    font-family: "Fira Sans", 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', sans-serif !important;
    font-size: 14px !important;
    height: 44px !important;
    min-height: 44px !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.ac-input:not(:disabled) {
    cursor: pointer !important;
    cursor: text !important;
}

.ac-input:focus,
.ac-input:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(81, 120, 235, 0.3) !important;
}

/* Date input styling */
.ac-dateInput,
input[type="date"].ac-input {
    background-color: transparent !important;
    color: var(--nexa-text-primary) !important;
    border: none !important;
    cursor: pointer !important;
    color-scheme: dark !important;
}

.ac-dateInput::placeholder,
input[type="date"].ac-input::placeholder {
    color: var(--nexa-text-muted) !important;
}

/* Choice/Select styling */
.ac-choiceSetInput,
.ac-choiceSetInput-compact {
    background-color: transparent !important;
    color: var(--nexa-text-primary) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 20px !important;
    padding-right: 36px !important;
}

.ac-choiceSetInput option,
.ac-choiceSetInput-compact option {
    background-color: var(--nexa-card-bg) !important;
    color: var(--nexa-text-primary) !important;
    padding: 8px 12px !important;
}

/* Disabled state */
.ac-input:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    color: var(--nexa-text-muted) !important;
}

/* Text input styling */
.ac-textInput,
input[type="text"].ac-input,
input[type="email"].ac-input,
input[type="tel"].ac-input,
input[type="number"].ac-input {
    background-color: transparent !important;
    color: var(--nexa-text-primary) !important;
}

input[type="text"].ac-input::placeholder,
input[type="email"].ac-input::placeholder,
input[type="tel"].ac-input::placeholder,
input[type="number"].ac-input::placeholder {
    color: var(--nexa-text-muted) !important;
}

/* ============================================
   CUSTOM CHOICE DROPDOWN STYLING
   ============================================ */
.custom-choice-dropdown .nexa-dealer-info {
    /* flex: 1; */
}

.custom-choice-dropdown .nexa-dealer-address {
    display: none;
}

.custom-choice-dropdown .nexa-dealer-item {
    padding: 12px 16px;
    min-height: 44px;
    /* display: flex; */
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-choice-dropdown .nexa-dealer-item:hover {
    background-color: rgba(81, 120, 235, 0.15);
}

.custom-choice-dropdown .nexa-dealer-item.selected {
    background-color: rgba(81, 120, 235, 0.25);
}

.custom-choice-dropdown .nexa-dealer-name {
    font-size: 14px;
    font-weight: 400;
    color: var(--nexa-text-primary);
}

.ac-dateInput::-webkit-calendar-picker-indicator,
input[type="date"].ac-input::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 6px !important;
    padding: 6px !important;
    margin-right: 2px !important;
    cursor: pointer !important;
    opacity: 0.95 !important;
    filter: none !important;
    transition: all 0.2s ease !important;
}

.ac-dateInput::-webkit-calendar-picker-indicator:hover,
input[type="date"].ac-input::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: #FFFFFF !important;
    opacity: 1 !important;
}

.wizard-next-btn:hover {
    background: #6388F0;
    box-shadow: 0 2px 10px rgba(81, 120, 235, 0.25);
}

.wizard-next-btn.disabled,
.wizard-next-btn:disabled {
    opacity: 0.5;
    background: #CCCCCC;
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
}

.wizard-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    color: rgba(39, 39, 39, 0.7);
    font-size: 13px;
}

.wizard-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--nexa-accent, #5178EB);
    border-radius: 50%;
    animation: wizard-spin 0.8s infinite linear;
}

@keyframes wizard-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Color swatches layout */
.wizard-options-wrapper.options-colors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.wizard-color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 8px;
}

.color-swatch-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wizard-color-option.selected .color-swatch-circle {
    border-color: var(--nexa-accent, #5178EB);
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(81, 120, 235, 0.4);
}

.color-swatch-title {
    font-size: 10px;
    font-weight: 500;
    color: #555555;
    text-align: center;
    margin-top: 6px;
    word-break: break-word;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.wizard-color-option.selected .color-swatch-title {
    color: #272727;
    font-weight: 700;
}

/* =====================================================
   FOCUS RING OVERRIDES
   Prevent website-level button:focus rules from adding
   dotted / -webkit-focus-ring-color borders to chatbot
   elements rendered inside .webchat-container
   ===================================================== */
.webchat-container .nexa-welcome-pill:focus,
.webchat-container .nexa-welcome-pill:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.webchat-container button[class*="scroll-to-bottom"]:focus,
.webchat-container [class*="scrollToBottom"]:focus,
.webchat-container .webchat__scroll-to-end-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.webchat-container .ac-pushButton:focus,
.webchat-container .ac-pushButton:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.webchat-container button:focus,
.webchat-container button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Chunk loader styles */
.chunk-loading-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    font-style: italic;
    color: inherit;
    opacity: 0.8;
    vertical-align: middle;
    width: 100%;
}

.chunk-loading-gif {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.chunk-loading-text {
    animation: chunkFade 1.2s ease-in-out infinite alternate;
    vertical-align: middle;
}

@keyframes chunkFade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* Streaming glow overlay */
@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes sweepBorder {
    to {
        --glow-angle: 360deg;
    }
}

.streaming-glow-overlay {
    position: absolute;
    inset: 0px;
    border-radius: inherit;
    padding: 2px;
    /* Inner animated edge light */
    pointer-events: none;
    z-index: 99998;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.streaming-glow-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from var(--glow-angle, 0deg),
            transparent 0%,
            transparent 40%,
            rgba(81, 120, 235, 1) 70%,
            rgba(140, 180, 255, 1) 90%,
            rgba(255, 255, 255, 1) 100%);
    border-radius: inherit;
    animation: sweepBorder 4s linear infinite;
}

.streaming-glow-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from var(--glow-angle, 0deg),
            transparent 0%,
            transparent 40%,
            rgba(81, 120, 235, 1) 70%,
            rgba(140, 180, 255, 1) 90%,
            rgba(255, 255, 255, 1) 100%);
    border-radius: inherit;
    animation: sweepBorder 4s linear infinite;
    filter: blur(6px);
    opacity: 0.8;
}

.nexa-carousel-video-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.nexa-carousel-video-shell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    opacity: 0;
    transition: opacity 0.22s ease;
    background: transparent;
}

.nexa-carousel-video-shell.is-ready video {
    opacity: 1;
}

.nexa-carousel-video-shell.is-ready .nexa-carousel-video-skeleton {
    opacity: 0;
    transition: opacity 0.18s ease;
}

.nexa-carousel-video-skeleton {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.nexa-carousel-video-skeleton__panel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #1D1D1D 0%, #202020 100%);
}

.nexa-carousel-video-skeleton__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(179, 179, 179, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 220% 100%;
    animation: nexaShimmerAnimation 1.25s infinite linear;
    opacity: 0.95;
}

.nexa-carousel-video-skeleton__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(179, 179, 179, 0.10);
    border: 1px solid rgba(179, 179, 179, 0.18);
    box-shadow: 0 0 0 6px rgba(179, 179, 179, 0.05);
}

.nexa-carousel-video-skeleton__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-left: 13px solid rgba(179, 179, 179, 0.92);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.nexa-cta-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 12px;
    padding-left: 14px;
}


.nexa-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nexa-cta-btn {
    border: 1px solid rgba(81, 120, 235, 0.34);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nexa-cta-btn:hover {
    transform: translateY(-1px);
    background: rgba(81, 120, 235, 0.15);
    border-color: rgba(81, 120, 235, 0.62);
}

.nexa-single-image-container,
.streaming-image-card-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nexa-single-image-container img,
.streaming-image-card-wrapper img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-height: 260px !important;
    object-fit: contain !important;
}

@keyframes nexaShimmerAnimation {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.nexa-shimmer {
    position: relative !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.nexa-shimmer::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%) !important;
    background-size: 200% 100% !important;
    animation: nexaShimmerAnimation 1.5s infinite linear !important;
    z-index: 2 !important;
}

.nexa-shimmer img,
.nexa-shimmer video,
.nexa-shimmer .nexa-video-play-overlay {
    opacity: 0 !important;
}

.nexa-carousel-item img,
.nexa-single-image-container img,
.streaming-image-card-wrapper img,
.nexa-video-thumb-preview {
    transition: opacity 0.3s ease-in-out !important;
}

.webchat__stacked-layout__content .ac-actionset {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.webchat__stacked-layout__content button.ac-pushButton.style-default {
    border: 1px solid rgba(81, 120, 235, 0.34) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
}

.webchat__stacked-layout__content button.ac-pushButton.style-default:hover {
    /* transform: translateY(-1px); */
    background: rgba(81, 120, 235, 0.15) !important;
    border-color: rgba(81, 120, 235, 0.62) !important;
}