:root {
    --mw-primary-soft: #000000;
    --mw-primary-soft-light: #474747;
    --mw-primary-soft-lighter: #a5b4fc;
    --mw-secondary-soft: #6c6c6c;
    --mw-secondary-soft-light: #b1b1b1;
    --mw-bg-soft: #fafbfc;
    --mw-bg-card: #ffffff;
    --mw-text-primary: #1e293b;
    --mw-text-secondary: #64748b;
    --mw-text-tertiary: #94a3b8;
    --mw-border-soft: #e2e8f0;
    --mw-text-dark: #0d0d0d;
    --mw-shadow-soft: rgba(15, 23, 42, 0.08);
    --mw-bot-message-bg: #f8fafc;
    --mw-user-message-bg: #e9e9e980;
    --mw-user-message-text: #1e293b;
    --mw-success-soft: #10b981;
    --mw-warning-soft: #f59e0b;
    --mw-error-soft: #ef4444;
    --mw-info-soft: #3b82f6;
}

#mindweb-chatbot-root[data-theme="dark"] {
    --mw-bg-soft: #0f172a;
    --mw-bg-card: #1e293b;
    --mw-text-primary: #f1f5f9;
    --mw-text-secondary: #cbd5e1;
    --mw-text-tertiary: #94a3b8;
    --mw-border-soft: #334155;
    --mw-shadow-soft: rgba(0, 0, 0, 0.3);
    --mw-bot-message-bg: #1e293b;
    --mw-user-message-bg: #e9e9e980;
    --mw-user-message-text: #ffffff;
    --mw-primary-soft: #ffffff;
    --mw-primary-soft-light: #f5f5f5;
    --mw-primary-soft-lighter: #c7d2fe;
    --mw-primary-soft-dark: #e5e5e5;
    --mw-text-dark: #ffffff;
}

@media (prefers-color-scheme: dark) {
    #mindweb-chatbot-root:not([data-theme="light"]):not([data-theme="dark"]) {
        --mw-bg-soft: #0f172a;
        --mw-bg-card: #1e293b;
        --mw-text-primary: #f1f5f9;
        --mw-text-secondary: #cbd5e1;
        --mw-text-tertiary: #94a3b8;
        --mw-border-soft: #334155;
        --mw-shadow-soft: rgba(0, 0, 0, 0.3);
        --mw-bot-message-bg: #1e293b;
        --mw-user-message-bg: #e9e9e980;
        --mw-user-message-text: #ffffff;
        --mw-primary-soft: #818cf8;
        --mw-primary-soft-light: #a5b4fc;
        --mw-primary-soft-lighter: #c7d2fe;
        --mw-text-dark: #ffffff;
    }
}

html.no-transition,
html.no-transition *,
html.no-transition *::before,
html.no-transition *::after,
#mindweb-chatbot-root .no-transition,
#mindweb-chatbot-root .no-transition *,
#mindweb-chatbot-root .no-transition *::before,
#mindweb-chatbot-root .no-transition *::after,
.chatbot-trigger-container .no-transition,
.chatbot-trigger-container .no-transition * {
    transition: none !important;
    animation: none !important;
}

#mindweb-chatbot-root *:not([data-theme-transition]),
.chatbot-trigger-container * {
    transition:
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mindweb-chatbot-root,
#mindweb-chatbot-root *,
.chatbot-trigger-container * {
    transition-property: transform, opacity, box-shadow !important;
}

body.chatbot-modal-open {
    overflow: hidden !important;
}

#mindweb-chatbot-root .chatbot-container {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    font-size: 14px;
    line-height: 1.6;
    width: 28%;
    max-width: calc(100vw - 40px);
    height: 80%;
    max-height: 100vh;
    background: var(--mw-bg-card);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    position: fixed;
    right: 0;
    bottom: 0;
    overflow: hidden;
    margin: 5px;
    overscroll-behavior: contain;
    box-shadow:
        0 20px 60px var(--mw-shadow-soft),
        0 8px 24px rgba(99, 102, 241, 0.1);
    animation: mw-openChatSmooth 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    backdrop-filter: blur(20px);
    border: 1px solid var(--mw-border-soft);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-container {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 8px 24px rgba(99, 102, 241, 0.15);
}

#mindweb-chatbot-root .chatbot-container.minimized {
    width: 28% !important;
    height: 70% !important;
}

#mindweb-chatbot-root .chatbot-container.maximized {
    width: 35% !important;
    height: 80% !important;
}

@keyframes mw-openChatSmooth {
    from {
        transform: scale(0.92) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

#mindweb-chatbot-root .chatbot-container.closing {
    animation: mw-closeChatSmooth 0.4s ease-in forwards;
}

@keyframes mw-closeChatSmooth {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
}

#mindweb-chatbot-root .chatbot-header {
    background: var(--mw-bg-card);
    color: var(--mw-text-primary);
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--mw-border-soft);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px var(--mw-shadow-soft);
    position: relative;
}

#mindweb-chatbot-root .header-status {
    display: flex;
    gap: 5px;
}

#mindweb-chatbot-root .chatbot-header-content {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

#mindweb-chatbot-root .chatbot-header-content img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    border: 1px solid var(--mw-border-soft);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-header-content img {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

#mindweb-chatbot-root .chatbot-header-content img:hover {
    transform: scale(1.05);
}

#mindweb-chatbot-root .web-assist-header {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

#mindweb-chatbot-root .web-assist-header span {
    font-size: 19px;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--mw-primary-soft),
        var(--mw-secondary-soft)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

#mindweb-chatbot-root[data-theme="dark"] .web-assist-header span {
    background: linear-gradient(135deg, var(--mw-primary-soft), #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#mindweb-chatbot-root .web-assist-header i {
    font-size: 14px;
    color: var(--mw-text-secondary);
    font-style: italic;
    font-weight: 400;
}

#mindweb-chatbot-root .status-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

#mindweb-chatbot-root .status-dot {
    width: 8px;
    height: 8px;
    background: var(--mw-success-soft);
    border-radius: 50%;
    animation: mw-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

#mindweb-chatbot-root[data-theme="dark"] .status-dot {
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
}

@keyframes mw-pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

#mindweb-chatbot-root .chatbot-header-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

#mindweb-chatbot-root .chatbot-close,
#mindweb-chatbot-root .clear-chat-history,
#mindweb-chatbot-root .chatbot-resize,
#mindweb-chatbot-root .chatbot-theme-toggle {
    background: var(--mw-bg-soft);
    border: none;
    color: var(--mw-text-primary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: none;
}

#mindweb-chatbot-root .chatbot-close svg,
#mindweb-chatbot-root .clear-chat-history svg,
#mindweb-chatbot-root .chatbot-resize svg,
#mindweb-chatbot-root .chatbot-theme-toggle svg {
    fill: currentColor;
    opacity: 1;
}

#mindweb-chatbot-root .chatbot-theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    color: #f59e0b;
}

#mindweb-chatbot-root .chatbot-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #f59e0b;
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #818cf8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #a5b4fc;
    border-color: rgba(148, 163, 184, 0.3);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-close,
#mindweb-chatbot-root[data-theme="dark"] .clear-chat-history,
#mindweb-chatbot-root[data-theme="dark"] .chatbot-resize {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-close:hover,
#mindweb-chatbot-root[data-theme="dark"] .clear-chat-history:hover,
#mindweb-chatbot-root[data-theme="dark"] .chatbot-resize:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.3);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-close:hover svg,
#mindweb-chatbot-root[data-theme="dark"] .clear-chat-history:hover svg,
#mindweb-chatbot-root[data-theme="dark"] .chatbot-resize:hover svg {
    fill: white;
    color: white;
    opacity: 1;
}

#mindweb-chatbot-root .chatbot-close:active,
#mindweb-chatbot-root .clear-chat-history:active,
#mindweb-chatbot-root .chatbot-resize:active,
#mindweb-chatbot-root .chatbot-theme-toggle:active {
    transform: translateY(0) scale(0.95);
}

#mindweb-chatbot-root .chatbot-theme-toggle svg {
    transition: opacity 0.2s ease;
}

#mindweb-chatbot-root .chatbot-theme-toggle:hover svg {
    opacity: 0.85;
}

#mindweb-chatbot-root .chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--mw-bg-soft);
    font-size: 14px;
    overscroll-behavior: contain;
}

#mindweb-chatbot-root .chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

#mindweb-chatbot-root .chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

#mindweb-chatbot-root .chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--mw-border-soft);
    border-radius: 3px;
}

#mindweb-chatbot-root .chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--mw-text-tertiary);
}

#mindweb-chatbot-root[data-theme="dark"]
    .chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--mw-text-secondary);
}

#mindweb-chatbot-root .chatbot-message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
    animation: mw-messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mw-messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mindweb-chatbot-root .user-message {
    flex-direction: row-reverse;
}

#mindweb-chatbot-root .message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

#mindweb-chatbot-root .chatbot-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#mindweb-chatbot-root .message-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
}

#mindweb-chatbot-root .user-message .message-wrapper {
    align-items: flex-end;
}

#mindweb-chatbot-root .bot-message .message-wrapper {
    align-items: flex-start;
}

#mindweb-chatbot-root .message-content {
    background: var(--mw-bot-message-bg);
    color: var(--mw-text-primary);
    padding: 14px 18px;
    border-radius: 18px;
    max-width: 100%;
    box-shadow: 0 2px 8px var(--mw-shadow-soft);
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
}

#mindweb-chatbot-root[data-theme="dark"] .message-content {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

#mindweb-chatbot-root .user-message .message-content {
    background: var(--mw-user-message-bg);
    color: var(--mw-text-dark);
    border-radius: 18px 18px 4px 18px;
    width: 100%;
}

#mindweb-chatbot-root[data-theme="dark"] .user-message .message-content {
    color: var(--mw-user-message-text);
}

#mindweb-chatbot-root .bot-message .message-content {
    border-radius: 18px 18px 18px 4px;
}

#mindweb-chatbot-root .message-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--mw-shadow-soft);
}

#mindweb-chatbot-root[data-theme="dark"] .message-content:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

#mindweb-chatbot-root .message-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: var(--mw-text-tertiary);
}

#mindweb-chatbot-root .message-timestamp {
    font-size: 11px;
    color: var(--mw-text-tertiary);
    margin-right: 6px;
    white-space: nowrap;
    font-weight: 500;
}

#mindweb-chatbot-root .copy-response,
#mindweb-chatbot-root .pin-response {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--mw-text-tertiary);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

#mindweb-chatbot-root .copy-response:hover,
#mindweb-chatbot-root .pin-response:hover {
    color: var(--mw-primary-soft);
    background: var(--mw-bg-soft);
}

#mindweb-chatbot-root .copy-response,
#mindweb-chatbot-root .pin-response,
#mindweb-chatbot-root .copy-response svg,
#mindweb-chatbot-root .pin-response svg {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    vertical-align: middle !important;
}

#mindweb-chatbot-root .chatbot-message.pinned .message-content {
    border: 1px solid #adadad;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1);
    padding-right: 35px;
    position: relative;
}

#mindweb-chatbot-root[data-theme="dark"]
    .chatbot-message.pinned
    .message-content {
    border-color: #efefef;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
}

#mindweb-chatbot-root .chatbot-message.pinned .message-content::after {
    content: "\1F4CC";
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 16px;
    opacity: 0.6;
    filter: grayscale(100%) brightness(0.6);
}

#mindweb-chatbot-root[data-theme="dark"]
    .chatbot-message.pinned
    .message-content::after {
    filter: grayscale(100%) brightness(0.9);
}

#mindweb-chatbot-root .chatbot-typing {
    background: var(--mw-bg-soft);
    padding: 10px 20px;
}

#mindweb-chatbot-root .typing-indicator {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    width: fit-content;
    background: var(--mw-bot-message-bg);
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 2px 8px var(--mw-shadow-soft);
}

#mindweb-chatbot-root .typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mw-primary-soft);
    animation: mw-typing 1.4s infinite;
}

#mindweb-chatbot-root .typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

#mindweb-chatbot-root .typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes mw-typing {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

#mindweb-chatbot-root .tooltip-container {
    position: relative;
    display: inline-block;
}

#mindweb-chatbot-root .tooltip-container button {
    border: 1px solid var(--mw-border-soft);
    background: var(--mw-bg-soft);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mw-text-secondary);
    font-size: 10px;
    padding: 0;
    line-height: 1;
}

#mindweb-chatbot-root .tooltip-container button:hover {
    color: var(--mw-primary-soft);
    border-color: var(--mw-primary-soft);
    background: rgba(99, 102, 241, 0.05);
}

#mindweb-chatbot-root[data-theme="dark"] .tooltip-container button {
    color: var(--mw-text-primary);
}

#mindweb-chatbot-root[data-theme="dark"] .tooltip-container button:hover {
    color: #fff;
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.3);
}

#mindweb-chatbot-root .tooltip-container span[role="status"] {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    max-width: 280px;
    background: var(--mw-text-primary);
    color: var(--mw-bg-card);
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.2s ease;
    font-size: 12px;
    box-shadow: 0 4px 12px var(--mw-shadow-soft);
}

#mindweb-chatbot-root[data-theme="dark"]
    .tooltip-container
    span[role="status"] {
    background: var(--mw-bg-card);
    color: var(--mw-text-primary);
    border: 1px solid var(--mw-border-soft);
}

#mindweb-chatbot-root .tooltip-container:hover span[role="status"] {
    visibility: visible;
    opacity: 1;
}

#mindweb-chatbot-root .chatbot-input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 11px;
    background: var(--mw-bg-card);
    border-top: 1px solid var(--mw-border-soft);
}

#mindweb-chatbot-root .chatbot-checkbox-wrapper {
    display: flex;
    align-items: center;
    font-family: inherit;
    margin: 0;
    position: relative;
}

#mindweb-chatbot-root .chatbot-checkbox-wrapper label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    gap: 10px;
    color: var(--mw-text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif !important ;
}

#mindweb-chatbot-root .chatbot-checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--mw-border-soft);
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

#mindweb-chatbot-root .chatbot-checkbox-wrapper input[type="checkbox"]:checked {
    border-color: var(--mw-primary-soft);
    background: none !important;
}

#mindweb-chatbot-root
    .chatbot-checkbox-wrapper
    input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #009689;
    font-size: 18px;
    font-weight: bold;
}

#mindweb-chatbot-root .chatbot-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    position: relative;
}

#mindweb-chatbot-root .chatbot-input.chatbot-textarea {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    border-radius: 20px;
    border: 2px solid var(--mw-border-soft);
    background: var(--mw-bg-card);
    color: var(--mw-text-primary);
    font-size: 14px;
    line-height: 1.5;
    min-height: 48px;
    max-height: 160px;
    box-sizing: border-box;
    overflow-y: hidden;
    resize: none !important;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

#mindweb-chatbot-root .chatbot-input:focus {
    outline: none;
    border-color: var(--mw-primary-soft);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-input:focus {
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
}

#mindweb-chatbot-root .chatbot-input::placeholder {
    color: var(--mw-text-tertiary);
}

#mindweb-chatbot-root .chatbot-send-btn {
    background: linear-gradient(135deg, #101010, #58595b);
    color: white;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

#mindweb-chatbot-root .chatbot-send-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

#mindweb-chatbot-root .chatbot-send-btn:active {
    transform: scale(1) translateY(0);
}

#mindweb-chatbot-root .chatbot-send-btn svg {
    width: 20px;
    height: 20px;
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-send-btn {
    background: linear-gradient(135deg, #e5e5e5, #f5f5f5);
    box-shadow: 0 4px 12px rgba(229, 229, 229, 0.2);
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-send-btn svg {
    fill: #0f172a;
    color: #0f172a;
}

#mindweb-chatbot-root[data-theme="dark"] .chatbot-send-btn:hover {
    box-shadow: 0 8px 20px rgba(245, 245, 245, 0.3);
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
}

#mindweb-chatbot-root .chatbot-footer {
    background: var(--mw-bg-card);
    color: var(--mw-text-tertiary);
    text-align: center;
    font-size: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--mw-border-soft);
    font-style: italic;
    box-shadow: 0 -2px 10px var(--mw-shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#mindweb-chatbot-root .chatbot-footer .powered-by {
    color: var(--mw-text-tertiary);
    font-weight: 400;
}

#mindweb-chatbot-root .chatbot-footer .powered-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--mw-primary-soft);
    position: relative;
}

#mindweb-chatbot-root .chatbot-footer .powered-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--mw-primary-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#mindweb-chatbot-root .chatbot-footer .powered-link:hover {
    color: var(--mw-primary-soft-light);
}

#mindweb-chatbot-root .chatbot-footer .powered-link:hover::after {
    transform: scaleX(1);
}

.chatbot-trigger-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatbot-trigger-container .chatbot-trigger-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: linear-gradient(
        135deg,
        var(--wp--preset--color--secondary),
        var(--wp--preset--color--primary),
        transparent 90%
    );
    box-shadow:
        0 4px 8px rgba(33, 117, 170, 0.2),
        0 2px 4px rgba(0, 160, 210, 0.15);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.chatbot-trigger-container .chatbot-trigger-btn::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(
        from 0deg,
        transparent 60%,
        #667eea,
        #764ba2,
        #f093fb,
        transparent 90%
    );
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 2px),
        #000 calc(100% - 1px)
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 2px),
        #000 calc(100% - 1px)
    );
    animation: mw-borderSpin 4s linear infinite;
    opacity: 0.6;
}

@keyframes mw-borderSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.chatbot-trigger-container .chatbot-trigger-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
}

.chatbot-trigger-container .chatbot-trigger-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 6px 12px rgba(33, 117, 170, 0.25),
        0 3px 6px rgba(0, 160, 210, 0.2);
}

.chatbot-trigger-container .chatbot-trigger-btn:active {
    transform: scale(0.98);
}

#mindweb-chatbot-root #startNewChatModal {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 10000 !important;
    background-color: rgba(15, 23, 42, 0.85);
    border-radius: inherit;
    pointer-events: none;
    display: none;
    overflow: hidden;
}

#mindweb-chatbot-root #startNewChatModal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
}

#mindweb-chatbot-root[data-theme="dark"] #startNewChatModal {
    background-color: rgba(15, 23, 42, 0.85);
}

#mindweb-chatbot-root #startNewChatModal .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#mindweb-chatbot-root #startNewChatModal .modal-content {
    background: var(--mw-bg-card);
    border: 1px solid var(--mw-border-soft);
    box-shadow: 0 12px 48px var(--mw-shadow-soft);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    animation: mw-modalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    padding: 0;
    pointer-events: auto;
    position: relative;
}

@keyframes mw-modalPopIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

body.chatbot-modal-open {
    overflow: hidden !important;
}
#mindweb-chatbot-root[data-theme="dark"] #startNewChatModal .modal-content {
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(148, 163, 184, 0.1);
}

#mindweb-chatbot-root #startNewChatModal .modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--mw-border-soft);
    background: var(--mw-bg-card);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mindweb-chatbot-root #startNewChatModal .modal-title {
    font-size: 18px;
    color: var(--mw-text-primary);
    font-weight: 600;
    margin: 0;
}

#mindweb-chatbot-root #startNewChatModal .modal-body {
    padding: 20px;
    background: var(--mw-bg-card);
}

#mindweb-chatbot-root #startNewChatModal .modal-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--mw-text-secondary) !important;
    margin-bottom: 0;
}

#mindweb-chatbot-root #startNewChatModal .modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px;
    border-top: 1px solid var(--mw-border-soft);
    background: var(--mw-bg-card);
    border-radius: 0 0 20px 20px;
}

#mindweb-chatbot-root #startNewChatModal #confirmNewChatBtn {
    background: var(--mw-primary-soft);
    color: #8c939f;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

#mindweb-chatbot-root #startNewChatModal #confirmNewChatBtn:hover {
    background: var(--mw-primary-soft-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

#mindweb-chatbot-root[data-theme="dark"] #startNewChatModal #confirmNewChatBtn {
    color: #000000;
}

#mindweb-chatbot-root[data-theme="dark"]
    #startNewChatModal
    #confirmNewChatBtn:hover {
    background: #fff9f9;
    box-shadow: 0 6px 16px rgba(129, 140, 248, 0.5);
}
#mindweb-chatbot-root #startNewChatModal .btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mw-text-primary);
}

#mindweb-chatbot-root #startNewChatModal .btn-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

#mindweb-chatbot-root[data-theme="dark"] #startNewChatModal .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media print {
    #mindweb-chatbot-root,
    .chatbot-trigger-container {
        display: none !important;
    }
}

@media (min-width: 2560px) {
    #mindweb-chatbot-root .chatbot-container {
        width: 25% !important;
        height: 70% !important;
    }

    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 25% !important;
        height: 70% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 28% !important;
        height: 80% !important;
    }
}

@media (min-width: 1920px) and (max-width: 2559px) {
    #mindweb-chatbot-root .chatbot-container {
        width: 25% !important;
        height: 70% !important;
    }

    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 25% !important;
        height: 70% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 30% !important;
        height: 75% !important;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    #mindweb-chatbot-root .chatbot-container {
        width: 30% !important;
        height: 80% !important;
    }

    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 30% !important;
        height: 80% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 32% !important;
        height: 83% !important;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    #mindweb-chatbot-root .chatbot-container {
        width: 35% !important;
        height: 84% !important;
    }

    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 35% !important;
        height: 84% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 40% !important;
        height: 85% !important;
    }

    #mindweb-chatbot-root .web-assist-header {
        display: flex;
        flex-direction: column;
        gap: 0px !important;
    }

    #mindweb-chatbot-root .status-indicator {
        margin-left: 0 !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 15px !important;
    }
    #mindweb-chatbot-root .web-assist-header i {
        margin-top: 0px !important;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    #mindweb-chatbot-root .chatbot-container {
        width: 50% !important;
        height: 80% !important;
    }

    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 50% !important;
        height: 80% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 60% !important;
        height: 88% !important;
    }

    #mindweb-chatbot-root .chatbot-header-content img {
        width: 44px !important;
        height: 44px !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 17px !important;
    }

    #mindweb-chatbot-root .chatbot-close,
    #mindweb-chatbot-root .clear-chat-history,
    #mindweb-chatbot-root .chatbot-resize,
    #mindweb-chatbot-root .chatbot-theme-toggle {
        width: 34px !important;
        height: 34px !important;
    }

    #mindweb-chatbot-root .message-content {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    #mindweb-chatbot-root .chatbot-container,
    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 72% !important;
        height: 85% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 80% !important;
        height: 92% !important;
    }

    #mindweb-chatbot-root .chatbot-header {
        padding: 12px 14px !important;
    }

    #mindweb-chatbot-root .chatbot-header-content img {
        width: 42px !important;
        height: 42px !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 16px !important;
    }

    #mindweb-chatbot-root .web-assist-header i {
        font-size: 12px !important;
    }

    #mindweb-chatbot-root .chatbot-close,
    #mindweb-chatbot-root .clear-chat-history,
    #mindweb-chatbot-root .chatbot-resize,
    #mindweb-chatbot-root .chatbot-theme-toggle {
        width: 32px !important;
        height: 32px !important;
    }

    #mindweb-chatbot-root .chatbot-messages {
        padding: 14px !important;
    }

    #mindweb-chatbot-root .message-content {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }

    #mindweb-chatbot-root .chatbot-input-container {
        padding: 10px 12px !important;
    }

    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
        padding: 12px 14px !important;
        min-height: 46px !important;
        max-height: 130px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
    }

    .chatbot-trigger-container .chatbot-trigger-btn {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    #mindweb-chatbot-root .chatbot-container,
    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 88% !important;
        height: 86% !important;
        margin: 5px !important;
        border-radius: 18px !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 96% !important;
        height: 93% !important;
    }

    #mindweb-chatbot-root .chatbot-header {
        padding: 10px 12px !important;
    }

    #mindweb-chatbot-root .chatbot-header-content {
        gap: 10px !important;
    }

    #mindweb-chatbot-root .chatbot-header-content img {
        width: 40px !important;
        height: 40px !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 15px !important;
    }

    #mindweb-chatbot-root .web-assist-header i {
        font-size: 11px !important;
    }

    #mindweb-chatbot-root .chatbot-close,
    #mindweb-chatbot-root .clear-chat-history,
    #mindweb-chatbot-root .chatbot-resize,
    #mindweb-chatbot-root .chatbot-theme-toggle {
        width: 32px !important;
        height: 32px !important;
    }

    #mindweb-chatbot-root .chatbot-close svg,
    #mindweb-chatbot-root .chatbot-resize svg,
    #mindweb-chatbot-root .clear-chat-history svg,
    #mindweb-chatbot-root .chatbot-theme-toggle svg {
        width: 16px !important;
        height: 16px !important;
    }

    #mindweb-chatbot-root .chatbot-messages {
        padding: 12px !important;
    }

    #mindweb-chatbot-root .message-content {
        font-size: 14px !important;
        padding: 11px 14px !important;
        border-radius: 16px !important;
    }

    #mindweb-chatbot-root .chatbot-input-container {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
        padding: 10px 14px !important;
        border-radius: 18px !important;
        min-height: 44px !important;
        max-height: 120px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .chatbot-trigger-container .chatbot-trigger-btn {
        width: 58px !important;
        height: 58px !important;
    }

    #mindweb-chatbot-root .chatbot-footer {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-content {
        max-width: 92% !important;
        width: 92% !important;
    }
}

@media (min-width: 361px) and (max-width: 480px) {
    #mindweb-chatbot-root .chatbot-container,
    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 93% !important;
        height: 84% !important;
        margin: 0 3% 3% 0 !important;
        border-radius: 16px !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 98% !important;
        height: 85% !important;
    }

    #mindweb-chatbot-root .chatbot-header {
        padding: 8px 10px !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    #mindweb-chatbot-root .chatbot-header-content {
        flex: 1 !important;
        min-width: 0 !important;
        gap: 8px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    #mindweb-chatbot-root .chatbot-header-content img {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }

    #mindweb-chatbot-root .web-assist-header {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        line-height: 1.2 !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 14px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        display: block !important;
    }

    #mindweb-chatbot-root .web-assist-header i {
        font-size: 10px !important;
        font-weight: 400 !important;
        opacity: 0.8 !important;
    }

    #mindweb-chatbot-root .status-indicator {
        display: inline-flex !important;
        align-items: center !important;
        margin-left: 0 !important;
    }

    #mindweb-chatbot-root .status-dot {
        width: 6px !important;
        height: 6px !important;
    }

    #mindweb-chatbot-root .chatbot-header-actions {
        display: flex !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
        align-items: center !important;
    }

    #mindweb-chatbot-root .chatbot-close,
    #mindweb-chatbot-root .clear-chat-history,
    #mindweb-chatbot-root .chatbot-resize,
    #mindweb-chatbot-root .chatbot-theme-toggle {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        padding: 0 !important;
    }

    #mindweb-chatbot-root .chatbot-close svg,
    #mindweb-chatbot-root .chatbot-resize svg,
    #mindweb-chatbot-root .clear-chat-history svg,
    #mindweb-chatbot-root .chatbot-theme-toggle svg {
        width: 15px !important;
        height: 15px !important;
    }

    #mindweb-chatbot-root .chatbot-messages {
        padding: 12px !important;
    }

    #mindweb-chatbot-root .message-content {
        font-size: 13px !important;
        padding: 10px 13px !important;
        border-radius: 14px !important;
        max-width: 88% !important;
    }

    #mindweb-chatbot-root .message-wrapper {
        max-width: 88% !important;
    }

    #mindweb-chatbot-root .message-actions {
        gap: 2px !important;
    }

    #mindweb-chatbot-root .message-timestamp {
        font-size: 10px !important;
    }

    #mindweb-chatbot-root .copy-response,
    #mindweb-chatbot-root .pin-response {
        padding: 0 !important;
        width: 28px !important;
        height: 28px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #mindweb-chatbot-root .copy-response svg,
    #mindweb-chatbot-root .pin-response svg {
        width: 16px !important;
        height: 16px !important;
    }

    #mindweb-chatbot-root .chatbot-input-container {
        padding: 8px 10px !important;
        gap: 7px !important;
    }

    #mindweb-chatbot-root .chatbot-checkbox-wrapper {
        margin: 0 !important;
    }

    #mindweb-chatbot-root .chatbot-checkbox-wrapper label {
        font-size: 12px !important;
        gap: 7px !important;
    }

    #mindweb-chatbot-root .chatbot-checkbox-wrapper input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
    }

    #mindweb-chatbot-root .tooltip-container button {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
    }

    #mindweb-chatbot-root .chatbot-input-wrapper {
        gap: 8px !important;
    }

    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
        padding: 10px 13px !important;
        border-radius: 16px !important;
        min-height: 44px !important;
        max-height: 110px !important;
        line-height: 1.4 !important;
    }

    #mindweb-chatbot-root .chatbot-input::placeholder {
        font-size: 14px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    #mindweb-chatbot-root .chatbot-footer {
        font-size: 11px !important;
        padding: 8px 10px !important;
    }

    .chatbot-trigger-container .chatbot-trigger-btn {
        width: 56px !important;
        height: 56px !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-content {
        max-width: 90% !important;
        width: 90% !important;
        border-radius: 16px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-header {
        padding: 14px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-title {
        font-size: 15px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-body {
        padding: 14px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-body p {
        font-size: 13px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-footer {
        padding: 14px !important;
    }

    #mindweb-chatbot-root #startNewChatModal #confirmNewChatBtn {
        padding: 8px 18px !important;
        font-size: 13px !important;
        min-width: 110px !important;
    }

    #mindweb-chatbot-root .tooltip-container:hover span[role="status"] {
        font-size: 11px !important;
        margin-left: 18px !important;
    }
}

@media (max-width: 360px) {
    #mindweb-chatbot-root .chatbot-container,
    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 95% !important;
        height: 84% !important;
        margin: 0 2% 2% 0 !important;
        border-radius: 14px !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 99% !important;
        height: 85% !important;
    }

    #mindweb-chatbot-root .chatbot-header {
        padding: 6px 8px !important;
        flex-wrap: nowrap !important;
    }

    #mindweb-chatbot-root .chatbot-header-content img {
        width: 32px !important;
        height: 32px !important;
    }

    #mindweb-chatbot-root .web-assist-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 0px !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 10px !important;
    }

    #mindweb-chatbot-root .web-assist-header i {
        font-size: 10px !important;
    }

    #mindweb-chatbot-root .chatbot-close,
    #mindweb-chatbot-root .clear-chat-history,
    #mindweb-chatbot-root .chatbot-resize,
    #mindweb-chatbot-root .chatbot-theme-toggle {
        width: 28px !important;
        height: 28px !important;
    }

    #mindweb-chatbot-root .chatbot-close svg,
    #mindweb-chatbot-root .chatbot-resize svg,
    #mindweb-chatbot-root .clear-chat-history svg,
    #mindweb-chatbot-root .chatbot-theme-toggle svg {
        width: 14px !important;
        height: 14px !important;
    }

    #mindweb-chatbot-root .chatbot-messages {
        padding: 10px !important;
    }

    #mindweb-chatbot-root .message-avatar {
        width: 32px !important;
        height: 32px !important;
    }

    #mindweb-chatbot-root .chatbot-avatar-img {
        width: 32px !important;
        height: 32px !important;
    }

    #mindweb-chatbot-root .message-content {
        font-size: 12px !important;
        padding: 8px 11px !important;
        border-radius: 12px !important;
    }

    #mindweb-chatbot-root .message-timestamp {
        font-size: 9px !important;
    }

    #mindweb-chatbot-root .chatbot-input-container {
        padding: 7px 8px !important;
    }

    #mindweb-chatbot-root .chatbot-checkbox-wrapper label {
        font-size: 11px !important;
    }

    #mindweb-chatbot-root .chatbot-checkbox-wrapper input[type="checkbox"] {
        width: 15px !important;
        height: 15px !important;
    }

    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
        padding: 8px 11px !important;
        min-height: 40px !important;
        border-radius: 13px !important;
        max-height: 100px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    #mindweb-chatbot-root .chatbot-send-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    #mindweb-chatbot-root .chatbot-footer {
        font-size: 10px !important;
        padding: 7px 8px !important;
    }

    .chatbot-trigger-container .chatbot-trigger-btn {
        width: 52px !important;
        height: 52px !important;
        bottom: 14px !important;
        right: 14px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-content {
        max-width: 92% !important;
        width: 92% !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-title {
        font-size: 14px !important;
    }

    #mindweb-chatbot-root #startNewChatModal .modal-body p {
        font-size: 12px !important;
    }

    #mindweb-chatbot-root #startNewChatModal #confirmNewChatBtn {
        font-size: 12px !important;
        padding: 7px 14px !important;
        min-width: 90px !important;
    }
    #mindweb-chatbot-root .tooltip-container:hover span[role="status"] {
        font-size: 11px !important;
        margin-left: 18px !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    #mindweb-chatbot-root .chatbot-container,
    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 58% !important;
        height: 85% !important;
    }

    #mindweb-chatbot-root .chatbot-container.maximized {
        width: 60% !important;
        height: 88% !important;
    }

    #mindweb-chatbot-root .chatbot-messages {
        padding: 10px !important;
    }

    #mindweb-chatbot-root .message-content {
        font-size: 13px !important;
    }

    #mindweb-chatbot-root .chatbot-input-container {
        padding: 8px 10px !important;
    }

    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
        min-height: 40px !important;
        max-height: 90px !important;
    }
}

@media (max-width: 280px) {
    #mindweb-chatbot-root .chatbot-container,
    #mindweb-chatbot-root .chatbot-container.minimized {
        width: 98% !important;
        height: 92% !important;
        margin: 1% !important;
    }

    #mindweb-chatbot-root .chatbot-header {
        padding: 5px 6px !important;
    }

    #mindweb-chatbot-root .web-assist-header span {
        font-size: 12px !important;
    }

    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
    }

    .chatbot-trigger-container .chatbot-trigger-btn {
        width: 48px !important;
        height: 48px !important;
    }
}

@media (max-width: 768px) {
    #mindweb-chatbot-root .chatbot-input.chatbot-textarea {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    #mindweb-chatbot-root .chatbot-container {
        bottom: 0 !important;
        right: 0 !important;
        margin: 4px !important;
    }

    #mindweb-chatbot-root .chatbot-theme-toggle:hover svg {
        opacity: 1 !important;
        transform: none !important;
    }

    #mindweb-chatbot-root .chatbot-input-container {
        position: relative;
    }
}

#mind-web-settings-wrapper #progress-bar.progress-active {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%);
}

#mind-web-settings-wrapper #progress-bar.progress-empty {
    background: none;
}
