.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, #0099ff 0%, #a033ff 50%, #ff5280 90%, #ff7061 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    outline: none;
}

.floating-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.floating-action-btn svg {
    transition: transform 0.3s ease;
}

.floating-action-btn:hover svg {
    transform: scale(1.2);
}

/* Modal Styles and Animation */
.expanding-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    /* backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanding-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.expanding-modal-container {
    width: 80%;
    height: 90%;
    max-width: 95%;
    max-height: 90%;
    background: var(--bg-card, #fff);
    border-radius: 14px;
    box-shadow: 0 25px 70px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    /* Precisely align initial state with the button center (30px + 30px = 60px from edges) */
    transform: translate(calc(50vw - 60px), calc(50vh - 60px)) scale(0);
    transform-origin: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.expanding-modal-overlay.active .expanding-modal-container {
    transform: translate(0, 0) scale(1);
}

.modal-header-custom {
    padding: 8px 12px;
    color: var(--text-dark, #1e293b);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: var(--bg-body, #f8fafc);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-content h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-dark2);
}


.icon-pulse {
    background: linear-gradient(135deg, #0099ff 0%, #a033ff 50%, #ff5280 100%);
    padding: 7px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: headerIconPulse 3s infinite ease-in-out;
}

@keyframes headerIconPulse {

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

    50% {
        transform: scale(1.05);
    }
}

.close-modal-btn {
    background: rgba(0, 0, 0, 0.04);
    border: none;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-modal-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1e293b;
    transform: rotate(90deg);
}

.modal-body-custom {
    padding: 0;
    flex: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg-body, #f8fafc);
    position: relative;
    transition: all 0.5s ease;
}

/* New Chat / Empty State Layout */
.modal-body-custom.new-chat-mode {
    justify-content: center;
    align-items: center;
}

.ai-welcome-content {
    display: none;
    text-align: center;
    margin-bottom: 24px;
    animation: fadeIn 0.8s ease;
}

.modal-body-custom.new-chat-mode .ai-welcome-content {
    display: block;
}



.welcome-heading {
    font-weight: 500;
    font-size: 28px;
    color: var(--textdark2);
    line-height: 36px;
}

/* Capabilities Banner replaced by Image */
.ai-welcome-banner {
    width: 100%;
    max-width: 420px;
    margin: 30px auto 20px;
    overflow: hidden;
}

.ai-welcome-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ai-welcome-banner:hover img {
    transform: scale(1.05);
}



/* Interactive Area (Input + Chips) */
.ai-interactive-area {
    width: 100%;
    max-width: 850px;
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.modal-body-custom.new-chat-mode .ai-interactive-area {
    transform: translateY(-20px);
}

/* Conversation Area */
.ai-chat-conversation {
    flex: 1;
    overflow-y: auto;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    display: none;
    /* Hidden in new-chat-mode */
    margin: 0 auto;
    min-width: 880px;
}

.modal-body-custom:not(.new-chat-mode) .ai-chat-conversation {
    display: flex;
}

.ai-chat-conversation::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-conversation::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-conversation::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Message Styles */
.ai-message {
    display: flex;
    gap: 16px;
    max-width: 850px;
    width: 100%;
    animation: messageSlideIn 0.4s ease forwards;
}

/* Gemini & Image-Gen Style Thinking Box */
.thinking-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 3px 0;
}

.gemini-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-status-text {
    font-size: 13px;
    font-weight: 400;
    color: #475569;
    background: linear-gradient(90deg, #0099ff 0%, #a033ff 50%, #ff7061 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 2s linear infinite;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

@keyframes textShimmer {
    0% {
        background-position: 200% 0;
    }

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

/* Image/Chart Generation Skeleton - ChatGPT Mesh Style */
.chart-generation-placeholder {
    width: 100%;
    max-width: 500px;
    min-width: 400px;
    height: 350px;
    background:
        radial-gradient(600px circle at 20% 30%, rgba(255, 120, 120, 0.25), transparent 60%),
        radial-gradient(700px circle at 70% 40%, rgba(160, 51, 255, 0.20), transparent 60%),
        radial-gradient(600px circle at 40% 75%, rgba(255, 82, 128, 0.17), transparent 60%),
        radial-gradient(800px circle at 80% 80%, rgba(0, 153, 255, 0.15), transparent 60%),
        #f7f4fb;
    background-color: #fbfcfe;
    background-size: 200% 200%;
    animation: meshGradient 8s ease infinite;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.5);
}

.chart-generation-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.2;
    /* control noise strength here */

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


.chart-generation-placeholder::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: inherit;
    filter: blur(60px);
    z-index: -1;
}



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

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

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





.ai-message.user-msg {
    flex-direction: row-reverse;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.avatar-ai,
.avatar-user {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 14px;
}

.avatar-ai {
    background: linear-gradient(135deg, #0099ff, #a033ff);
}

.avatar-user {
    background: #64748b;
}

.response-filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.filters-title {
    width: 100%;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0px;
}

.response-filter-chip {
    display: inline-flex;
    align-items: center;
    background: #00000005;
    padding: 3px 5px;
    border-radius: 6px;
    font-size: 11px;
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    cursor: pointer;
}

.response-filter-chip:hover {
    background: #fff;
    border-color: var(--highlightCountBgß);
    color: var(--activeBg);
}

.message-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 80%;
}

.message-bubble:has(.split-response-container) {
    max-width: 100%;
}

.ai-message.system-msg .message-bubble {
    background: transparent;
    color: var(--text-dark, #1e293b);
    padding: 0;
}

.ai-message.user-msg .message-bubble {
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-right-radius: 4px;
}

/* Suggested Prompts */
.suggested-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.modal-body-custom:not(.new-chat-mode) .suggested-prompts {
    display: none;
    /* Hide suggestions once chat starts */
}

.prompt-chip {
    padding: 6px 14px;
    background: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    color: var(--textGray);
    cursor: pointer;
    transition: all 0.2s;

}

.prompt-chip:hover {
    background: #fff;
    border-color: var(--activeBg);
    color: var(--activeBg);
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgb(66 64 67 / 10%);
}

/* Input Area */
.ai-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-container-inner {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    box-shadow: 0 4px 20px var(--themeLightBg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-container-inner:focus-within {
    border-color: var(--activeBg);
    box-shadow: 0 10px 30px var(--themeLightBg);
}

.ai-prompt-input {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    padding: 10px 4px;
    font-size: 1rem;
    color: #1e293b;
    max-height: 200px;
    background: transparent;
    line-height: 1.5;
}

.ai-prompt-input::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

.input-actions {
    display: flex;
    gap: 10px;
    padding-bottom: 2px;
}

.action-btn-ai {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 10px;
    transition: all 0.2s;
}

.action-btn-ai:hover {
    background: #f1f5f9;
    color: #a033ff;
}

.send-btn-ai {
    background: transparent;
    border: none;
    color: var(--textTheme);
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1;
}

.send-btn-ai:hover:not(:disabled) {
    transform: scale(1.1);
    color: #0099ff;
}

.send-btn-ai:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ai-disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Theme adaptation */
[data-theme="dark"] .modal-header-custom {
    background: #2d2f30;
    color: #f1f5f9;
}

[data-theme="dark"] .close-modal-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

[data-theme="dark"] .close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .modal-body-custom {
    background: #2d2f30;
}

[data-theme="dark"] .input-container-inner {
    background: #3c3e40;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ai-prompt-input {
    color: #cdcdcd;
}

[data-theme="dark"] .prompt-chip {
    background: #252525;
    color: #cdcdcd;
}

[data-theme="dark"] .prompt-chip:hover {
    background: #111;
    color: #fff;
}

[data-theme="dark"] .ai-message.user-msg .message-bubble {
    background: #454647;
    color: #f1f5f9;
}

[data-theme="dark"] .message-bubble {
    color: #f1f5f9;
}

[data-theme="dark"] .welcome-heading {
    color: #fff;
}

[data-theme="dark"] .chart-generation-placeholder {
    background: radial-gradient(circle at 10% 20%, rgba(30, 27, 75, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(49, 46, 129, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(76, 29, 149, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.4) 0%, transparent 50%);
    background-color: #0f172a;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.response-header {
    font-size: 13px;
    color: var(--textGray)
}

.ai-chart-response {
    background: var(--themeLightBg);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--highlighProgresBgActive);
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    min-width: 595px;
    height: 350px;
    min-height: 200px;
    resize: both;
    max-width: 755px;
    overflow: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.ai-chart-response::-webkit-resizer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a033ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15L15 21M21 8L8 21'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px bottom 5px;
}

/* Action Menu Styles */
.ai-chart-response-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;

}

.response-action-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
    width: 32px;
    /* Fixed width to prevent chart resizing */
    flex-shrink: 0;
}

.action-item-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--BorderColor2);
    border-radius: 20px;
    height: 32px;
    width: 32px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* Anchor for absolute label */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    justify-content: center;
}

.ai-chart-response .widgetBox {
    height: 100%;
}

.action-item-wrapper:hover {
    width: 32px;
    /* Width stays same to not push siblings */
    border-color: var(--activeBg);
    background: var(--themeLightBg);
}

.action-icon {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--activeBg);
    flex-shrink: 0;
}

.action-label {
    position: absolute;
    left: 40px;
    /* Start outside the icon */
    background: #ffffff;
    border: 1px solid var(--BorderColor2);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    color: var(--textGray);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-15px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.action-item-wrapper:hover .action-label {
    opacity: 1;
    transform: translateX(0);
}

/* Tooltip Arrow for Label */
.action-label::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid var(--BorderColor2);
}

[data-theme="dark"] .action-item-wrapper {
    background: #26292b;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .action-label {
    background: #26292b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #cdcdcd;
}

/* Response Meta Styles */
.meta-drawer {
    background: #fbfcfe;
    border: 1px solid var(--highlighProgresBgActive);
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin: 0 12px;
    /* Recessed look from sides */
    padding: 12px 15px 8px;
    z-index: 1;
    transform: translateY(-100%);
    opacity: 0;
    animation: slideDownMeta 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

@keyframes slideDownMeta {
    to {
        transform: translateY(-2px);
        opacity: 1;
    }
}

.response-card-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.response-meta-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.meta-item-mini {
    position: relative;
    color: #94a3b8;
    font-size: 11px;
    cursor: help;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

.meta-item-mini:hover {
    color: var(--activeBg);
    transform: translateY(-2px);
}

.meta-cost {
    margin-left: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.meta-drawer:hover .meta-cost {
    opacity: 1;
    visibility: visible;
}

/* Custom Tooltip for Meta Icons */
.meta-item-mini .meta-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1e293b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

.meta-item-mini:hover .meta-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.meta-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1e293b;
}

[data-theme="dark"] .meta-drawer {
    background: #464646;
    border-color: var(--highlighProgresBgActive);
}

[data-theme="dark"] .response-filter-chip {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .filters-title {
    color: #64748b;
}

[data-theme="dark"] .meta-tooltip::after {
    border-bottom-color: #334155;
}


.chartLoader {
    width: 80px;
    aspect-ratio: 1;
    color: #9386ab2b;
    background: conic-gradient(currentColor 0 270deg, #0000 0);
    border-radius: 50%;
    animation: l14-0 4s infinite linear;
}

.chartLoader::before {
    content: "";
    display: block;
    height: 50%;
    width: 50%;
    border-top-left-radius: 100px;
    background: currentColor;
    animation: l14 0.5s infinite alternate;
}

@keyframes l14-0 {

    0%,
    24.99% {
        transform: rotate(0deg)
    }

    25%,
    49.99% {
        transform: rotate(90deg)
    }

    50%,
    74.99% {
        transform: rotate(180deg)
    }

    75%,
    100% {
        transform: rotate(270deg)
    }
}

@keyframes l14 {
    100% {
        transform: translate(-10px, -10px)
    }
}

.response-card-main .chartBox {
    min-height: 300px;
    max-height: 100% !important;
    overflow: auto;
}

.response-card-main .chartBox:has(.counterData) {
    display: flex;
    flex-direction: column;
}

.response-card-main .counterData {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.responseReplyBox {
    background: #f1f2f5;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 18px 18px 18px 0px;
    margin-bottom: 10px;
    color: var(--textGray);
    width: fit-content;
    max-width: 100%;
}

[data-theme="dark"] .responseReplyBox {
    background: #3c3d3d;
    color: #cdcdcd;
}

.MsgBox {
    position: relative;
    padding-left: 20px
}

.MsgBox i {
    position: absolute;
    left: 0;
    top: 5px;
}

.responseReplyBox .errorMsg i {
    color: rgb(202, 81, 81);
}

.responseReplyBox .successMsg i {
    color: rgb(77, 161, 77);
}

.suggetionList {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 350px;
    overflow: auto;
    padding: 0px 5px;
}

.suggetionItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #ffffffb3;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.1s ease;
    margin: 0;
}

.suggetionItem:hover {
    background: #f8fafc;
    border-color: var(--highlightCountBg);
    transform: translateX(1px);
}

.suggetionItem input[type="checkbox"],
.suggetionItem input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--activeBg);
}

.suggetionLabel {
    font-size: 13px;
    color: var(--text-dark2);
    font-weight: 400;
    line-height: 1.2;
}

.suggetionContent {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggetionSubLabel {
    color: #94a3b8;
    font-weight: 400;
}

[data-theme="dark"] .suggetionSubLabel {
    color: #787a7e;
}

.suggestion-btn {
    background: #353535;
    border: 1px solid rgba(0, 0, 0, 0.03);
    color: #fff;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    height: 34px;
}

.suggestion-btn:hover {
    background: var(--activeBg);
    border-color: var(--activeBg);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

[data-theme="dark"] .suggestion-btn {
    background: #222;
    border-color: #222;
    color: #cdcdcd;
}

[data-theme="dark"] .suggestion-btn:hover {
    color: var(--textTheme);
}

[data-theme="dark"] .suggetionItem {
    background: #444444;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .suggetionItem:hover {
    background: #353637;
    border-color: #666;
}

[data-theme="dark"] .suggetionLabel {
    color: #cdcdcd;
}

.stringModuletitle {
    width: 100%;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0px;
    margin-top: 15px;
    padding-left: 15px;
}

.suggetionActions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.suggetionActions>div {
    flex: 1;
}

[data-theme="dark"] .suggetionActions {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.tableData {
    width: 100%;
    margin-top: 10px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tableData table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.tableData th {
    font-weight: 400;
    color: #334155;
    padding: 12px 15px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    text-transform: none;
    letter-spacing: normal;
}

.tableData td {
    padding: 12px 15px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
    vertical-align: top;
    transition: none !important;
}

.tableData tbody tr:last-child td {
    border-bottom: none;
}

.tableData tbody tr:hover td {
    background: #f1f2f5;
}

[data-theme="dark"] .tableData {
    background: #2e2f30;
    border-color: rgb(233 233 233 / 11%);
}

[data-theme="dark"] .tableData th {
    background: #26292b;
    color: #999;
    border-bottom-color: rgb(233 233 233 / 11%);
}

[data-theme="dark"] .tableData td {
    color: #ddd;
    border-bottom-color: rgb(233 233 233 / 11%);
}

[data-theme="dark"] .tableData tbody tr:hover td {
    background: #2a2a2b;
}

.infoListingArea {
    width: 100%;
}

.listTitle {
    font-weight: 500;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 12px;
}

.dataInsightsList {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dataInsightsList li {
    position: relative;
    padding-left: 20px;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.dataInsightsList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--activeBg);
    border-radius: 50%;
    opacity: 0.6;
}


.dataInsightsList li:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

[data-theme="dark"] .dataInsightsList li {
    color: #94a3b8;
}

[data-theme="dark"] .dataInsightsList li:hover {
    color: #ffffff;
}

[data-theme="dark"] .listTitle {
    color: #f1f5f9;
}



.dataResponseBox {
    border: solid 1px #ddd;
    padding: 0px;
    font-size: 14px;
    border-radius: 18px 18px 18px 0px;
    margin-bottom: 10px;
    color: var(--textGray);
    width: 885px;
    margin-left: -85px;
    margin-top: 20px;
    overflow: hidden;
}

.split-response-container {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.split-left {
    border-right: solid 1px #ddd;
    width: 25%;
}

.split-left::-webkit-scrollbar {
    width: 4px;
}

.split-left::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.dataResponseBox .listTitle {
    margin-bottom: 5px;
    padding-top: 10px;
    padding-left: 10px;
}

.datasourceList {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
}

.datasourceList li {
    padding: 5px 10px 5px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-dark);
}

.datasourceList li:last-child {
    border-bottom: none
}

.datasourceList li:hover,
.datasourceList li.active {
    background: #f1f2f5;
}



[data-theme="dark"] .datasourceList li {
    border-color: rgba(255, 255, 255, 0.05);
    color: #cdcdcd;
}



.split-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 75%;
}

.dataResponseBox .tableData table {
    width: 100%;
    border-collapse: collapse;
}

.dataResponseBox .tableData {
    margin-top: 0px;
    max-height: 435px;
    overflow: auto;
    border-radius: 0px 18px 18px 0px;
    border: none;
    padding: 0;
}

.dataResponseBox .tableData tr th {
    padding: 5px 10px;
}

.dataResponseBox .tableData tr td {
    padding: 7px 10px;
}

.exam_badge {
    background: #f2f2f2;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    border: solid 1px #ddd;
    margin-right: 4px;
    font-size: 11px;
    margin-bottom: 4px;
}

[data-theme="dark"] .exam_badge {
    background: #26292b;
    border-color: rgba(255, 255, 255, 0.05);
}



[data-theme="dark"] .dataInsightsList li span {
    color: #cdcdcd;
}

[data-theme="dark"] .dataResponseBox {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dataResponseBox .split-left {
    border-right-color: rgba(255, 255, 255, 0.1);
}

/* Add to Board Split Transition */
.chart-action-context {
    transition: all 0.6s ease;
    width: 100%;
}

.chart-action-context.active-split-view {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.chart-action-context.active-split-view .ai-chart-response-wrapper {
    flex: 1;
    margin-left: -80px !important;
    animation: slideInLeft 0.6s ease forwards;
}


.chart-action-context.active-split-view .ai-chart-response {
    min-width: 500px;
}

.chart-action-context.active-split-view .board-selection-context {
    flex: 0.8;
    display: block !important;
    animation: slideInRight 0.6s ease forwards;
}

.chart-action-context.closing-split-view .board-selection-context {
    animation: slideOutRight 0.6s ease forwards;
}

.ai-message.extended-view {
    max-width: 950px !important;
}

.wide-bubble {
    max-width: 950px !important;
    width: 100% !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

@keyframes slideInLeftTransition {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes slideOutLeftTransition {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@media (max-width: 768px) {
    .chart-action-context.active-split-view {
        flex-direction: column;
    }

    .wide-bubble {
        width: 100% !important;
    }
}


.pulseLoading {
    width: 13px;
    height: 13px;
    background: #908e8e;
    border-radius: 50%;
    animation: 1.25s ease-in-out infinite pulseSize
}


@keyframes pulseSize {

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

    50% {
        transform: scale(1.25);
    }
}