.chatbot-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif ;
    font-size: 14px ;
    line-height: 1.6 ;
    width: 25% ;
    max-width: calc(100vw - 40px) ;
    height: 70% ;
    max-height: 100vh ;
    background: var(--wp--preset--color--base, #ffffff) ;
    border-radius: 20px ;
    display: flex ;
    flex-direction: column ;
    z-index: 9999 ;
    position: fixed ;
    right: 0 ;
    bottom: 0 ;
    overflow: hidden ;
    margin: 5px ;
    overscroll-behavior: contain ;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.25) ;
    animation: openChatSmooth 0.5s ease-in forwards ;
    transition: all 0.4s -bezier(0.4, 0, 0.2, 1) ;
    backdrop-filter: blur(10px) ;
    border: 1px solid rgba(0, 0, 0, 0.06) ;
}
.chatbot-container.minimized{
    width: 25%;
    height: 70%;
}
.chatbot-container.maximized{
    width: 30%;
    height: 80%;

}
#startNewChatModal.minimized {
    width: 25% !important;
    height: 70% !important;
}

#startNewChatModal.maximized {
    width: 30% !important;
    height: 80% !important;
    right: 0 !important; 
    left: auto !important;
    bottom: 0 !important;
}


@keyframes openChatSmooth {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.chatbot-header {
    background: linear-gradient(135deg, var(--wp--preset--color--base, #ffffff) 0%, var(--wp--preset--color--tertiary, #f8f9fa) 100%) !important;
    color: var(--wp--preset--color--contrast, #000000) !important;
    padding: 18px 20px !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.chatbot-trigger-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.chatbot-trigger-container.visible {
    pointer-events: auto;
}
.chatbot-trigger-btn {
    border-radius: 50% !important;
    padding: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}
.chatbot-trigger-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--wp--preset--color--primary, #2563eb) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: transform 0.5s ease !important;
    opacity: 0.1 !important;
}

.chatbot-trigger-btn:hover::before {
    transform: translate(-50%, -50%) scale(1) !important;
}

.chatbot-trigger-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
}


.chatbot-trigger-btn:hover {
   transform: scale(1.15) translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4), 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    border-color: var(--wp--preset--color--primary, #1d4ed8) !important;
}
.chatbot-trigger-btn:active {
    transform: scale(1.05) translateY(-2px) !important;
}

.chatbot-trigger-btn svg {
    width: 24px;
    height: 24px;
}
.chatbot-trigger-btn i {
    animation: bounce 2s infinite !important;
    font-size: 18px !important;
}

.chatbot-header-content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.chatbot-header-content img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
    transition: transform 0.3s ease !important;
}
.chatbot-header-content img:hover {
    transform: scale(1.05) !important;
}
.chatbot-avatar-img {
    width: 40px;
    height: 40px !important;
    border-radius: 50%;
    object-fit: cover !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}
.message-avatar svg {
    width: 40px;
    height: 40px;
}
.chatbot-header-content i {
    font-size: 20px;
}
.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: linear-gradient(180deg, var(--wp--preset--color--background, rgb(242,242,242)) 0%, var(--wp--preset--color--tertiary, #f0f0f0) 100%) !important;
    font-size: 14px;
    overscroll-behavior: contain;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #999;
}
.chatbot-close-svg {
    cursor: pointer;
}
.chatbot-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.message-avatar {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.message-avatar i {
    font-size: 20px;
    color: #ffebf2;
}
.user-message {
    flex-direction: row-reverse;
}
.user-message .message-avatar {
    background: linear-gradient(135deg, #e0e0e0, #d0d0d0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.chatbot-message .message-content {
white-space: pre-line; 
}
.chatbot-message, .user-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
    padding: 6px;
 animation: messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.chatbot-clear-btn i {
    font-size: 18px;
}
.chatbot-input {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    resize: none;
    max-height: 120px;
    transition: border-color 0.2s;
}

.typing-indicator {
    display: flex !important;
    gap: 4px !important;
    padding: 12px 16px !important;
    background: var(--wp--preset--color--tertiary, #f5f5f5) !important;
    border-radius: 18px !important;
    width: fit-content !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
}

.typing-indicator span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--wp--preset--color--primary, #66b5ea) !important;
    animation: typing 1.4s infinite !important;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s !important;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s !important;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* .web-assist-header {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    margin-left: 10px;
} */

.web-assist-header span {
    font-size: 19px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--wp--preset--color--primary, #2563eb), var(--wp--preset--color--secondary, #1d4ed8)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}


.web-assist-header i:hover{
    transform: translateY(-2px) !important;
}
.toast-container {
    z-index: 9999;
}
.toast-body {
    font-weight: 500;
    font-size: 14px;
}
#mindweb-chatbot-root input[type="text"], input[type="number"] {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.25s;
}
#mindweb-chatbot-root input[type="text"]:focus, input[type="number"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    outline: none;
}
.chatbot-plugin-settings h1 {
    color: #0073aa;
    margin-bottom: 25px;
    font-size: 28px;
}
.chatbot-input, .chatbot-input-readonly {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    transition: all 0.3s;
}
.chatbot-input-container {
    padding: 20px 20px 0px 10px;
    background: var(--wp--preset--color--base, #ffffff);
    border-top: 1px solid #ddd;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chatbot-input.chatbot-textarea {
    flex: 1;                
    width: 100%;
    max-width: 100%;       
    padding: 12px 14px;
    border-radius: 20px;
    border: 2px solid var(--wp--preset--color--secondary, #cbd5e1);
    background: var(--wp--preset--color--base, #ffffff);
    color: var(--wp--preset--color--contrast, #000000);
    font-size: 14px;
    line-height: 1.4;
    min-height: 44px;
    max-height: 160px;    
    box-sizing: border-box;
    overflow-y: hidden;       
    resize: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        border-color: var(--wp--preset--color--primary, #2563eb);
    }
    50% {
        border-color: var(--wp--preset--color--secondary, #cbd5e1);
    }
}


.chatbot-send-btn,
.chatbot-clear-btn {
    flex-shrink: 0;
}
.chatbot-input-readonly {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}
#chatbot-btn-wrapper {
    display: none;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
#chatbot-btn-wrapper.visible {
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
.chatbot-btn-primary {
    background: #2563eb;
    color: #fff;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.chatbot-btn-primary:hover {
    transform: translateY(-2px);
}
.chatbot-btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.chatbot-btn-secondary:hover {
    background: #cbd5e1;
    color: #111827;
}
.chatbot-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}
@media (max-width: 600px) {
    .chatbot-header-card {
        padding: 15px 18px;
    }
    .chatbot-header-card h4 {
        font-size: 20px;
    }
    .chatbot-nav-tabs {
        flex-direction: column;
    }
    .chatbot-nav-tab {
        min-width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    .chatbot-nav-tab.nav-tab-active {
        border-bottom: none;
        border-left: 4px solid #1a5cd3;
    }
    .chatbot-card {
        padding: 20px 15px;
    }
    .chatbot-container {
        width: 85%;
        height: 80%;
        bottom: 0;
        right: 0;
    }
    .chatbot-container.maximized {
        width: 100%;
        height: 85%;
    }
    .chatbot-container.minimized {
        width: 85%;
        height: 80%;
    }
    #startNewChatModal.minimized {
        width: 85% !important;
        height: 80% !important;
    }
    #startNewChatModal.maximized {
        width: 100% !important;
        height: 85% !important;
    }
    #startNewChatModal {
        width: 85% !important;
        height: 80% !important;
        right: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    #chatbot-btn-wrapper.visible, .chatbot-trigger-container.visible {
        bottom: 18px !important;
        right: 18px !important;
        z-index: 99999 !important;
    }
    .chatbot-trigger-btn {
        width: 56px !important;
        height: 56px !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
    }
    .chatbot-trigger-btn img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }
    .message-content{
        padding: 4px 10px;
    }
    .chatbot-header{
        padding: 8px;
    }
    .chatbot-header-content img{
        width: 40px;
        height: 40px;
        border-radius: 50px;
    }
    .chatbot-clear-btn{
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }
    .chatbot-send-btn {
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }
    .chatbot-input,
    .chatbot-input.chatbot-textarea,
    textarea {
        font-size: 16px !important;
    }
    .web-assist-header span {
        font-size: 16px !important;
    }
    .web-assist-header i {
        font-size: 10px !important;
    }
    .chatbot-close{
        font-size: 18px;
    }
}
@media(max-width:768px) {
    .chatbot-grid {
        grid-template-columns:1fr;
    }
    .chatbot-input,
  .chatbot-input.chatbot-textarea,
  textarea {
    font-size: 16px !important;
  }
}


.chatbot-header-actions {
    display: flex;
    align-items: center;
}

.chatbot-close{
    font-size: 24px;
}
.clear-chat-history,
.chatbot-resize{
    font-size: 14px;
}
.chatbot-close,
.clear-chat-history,
.chatbot-resize {
    background: none !important;
    border: none !important;
    color: var(--wp--preset--color--contrast, #000000) !important;
    cursor: pointer !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
}

.chatbot-close:hover,
.clear-chat-history:hover,
.chatbot-resize:hover {
    background: none !important;
    transform: translateY(-2px) !important;
    opacity: 1 !important;
    color: var(--wp--preset--color--contrast, #000000) !important;
}

.chatbot-close:focus,
.chatbot-resize:focus,
.chatbot-resize:active {
    color: var(--wp--preset--color--contrast, #000000) !important;
}


.chatbot-header-actions span {
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.chatbot-header-actions span:hover {
    opacity: 1 !important;
}

.chatbot-close:hover {
    color: var(--wp--preset--color--contrast, #000000) !important;
}

.chatbot-container.closing {
  animation: closeChatSmooth 0.5s ease-in forwards;
}

@keyframes closeChatSmooth {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.8);
    opacity: 0;
  }
}
.message-content {
    background: var(--wp--preset--color--base, #ffffff);
    color: var(--wp--preset--color--contrast, #000000);
    padding: 10px 16px;
    border-radius: 16px;
    max-width: 70%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}
.message-content:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}
.chatbot-send-btn {
    background:linear-gradient(135deg, var(--wp--preset--color--primary, #2563eb), var(--wp--preset--color--secondary, #1d4ed8)) !important;
    color: var(--wp--preset--color--base, #ffffff);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.chatbot-send-btn:hover {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    background: var(--wp--preset--color--primary-hover, #1d4ed8) !important;
}

.chatbot-send-btn svg path {
    fill: var(--wp--preset--color--base, #ffffff);
    stroke: var(--wp--preset--color--base, #ffffff);
}

/* .chatbot-send-btn svg path {
    fill: var(--wp--preset--color--contrast, #000000) ;
    stroke: var(--wp--preset--color--contrast, #000000) ;
    fill: #000000 ;
    stroke: #000000 ;
} */


.chatbot-clear-btn {
    background: var(--wp--preset--color--base, #ffffff);
    color: var(--wp--preset--color--contrast, #000000);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--wp--preset--color--secondary, #e0e0e0);
    cursor: pointer;
    transition: all 0.2s ease;
}


.chatbot-clear-btn:hover {
    transform: scale(1.08);
    background: var(--wp--preset--color--tertiary, #f8f9fa) !important;
}

.chatbot-clear-btn svg path {
    fill: var(--wp--preset--color--contrast, #5f6368);
}

.chatbot-clear-btn svg line {
    stroke: #5f6368 ;
    stroke: var(--wp--preset--color--secondary);
}


.user-message .message-content {
    background: linear-gradient(135deg, var(--wp--preset--color--primary, #2563eb), var(--wp--preset--color--secondary, #1d4ed8)) !important;
    color: var(--wp--preset--color--base, #ffffff) !important;
}



.chatbot-input:focus {
    outline: none;
    border-color: #2563eb;
    border-color: var(--wp--preset--color--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.chatbot-footer {
    background: var(--wp--preset--color--base, #ffffff); 
    color: var(--wp--preset--color--secondary, #6c757d); 
    padding: 5px 0; 
    border-top: 1px solid var(--wp--preset--color--secondary, rgba(0,0,0,0.1));
    text-align: left; 
    font-size: 13px; 
    padding: 12px 18px; 
    border: none; 
    font-style: italic;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.chatbot-footer .powered-by {
    color: #6c757d;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.chatbot-footer .powered-link {
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, var(--wp--preset--color--primary, #2563eb), var(--wp--preset--color--secondary, #1d4ed8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.chatbot-footer .powered-link:hover {
    transform: translateX(3px);
    filter: brightness(1.2);
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}
#startNewChatModal {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 25% !important;
    max-width: calc(100vw - 40px) !important;
    height: 70% !important;
    max-height: 100vh !important;
    margin: 5px !important;
    z-index: 10000 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px !important;
    pointer-events: auto !important;
    transition: all 0.3s ease;
}

#startNewChatModal .modal-dialog {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


#startNewChatModal .modal-content {
    background-color: var(--wp--preset--color--base, #f8f9fa);
    border: 1px solid var(--wp--preset--color--secondary, #dee2e6);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    animation: openChatSmooth 0.5s;
}
@media (max-width: 768px) {
    #startNewChatModal {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 85% !important;
    max-width: calc(100vw - 40px) !important;
    height: 80% !important;
    max-height: 100vh !important;
    margin: 5px !important;
    z-index: 10000 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px !important;
    pointer-events: auto !important;
    transition: all 0.3s ease;
    }
    #startNewChatModal .modal-content {
        max-width: calc(100vw - 40px);
        width: 80%;
}
#startNewChatModal .modal-body .text-muted{
    font-size: 14px !important;
}
}

#startNewChatModal ~ .modal-backdrop,
.modal-backdrop {
    display: none !important;
}


#chatbot-container {
    z-index: 9999 !important;
}

#startNewChatModal .modal-header {
    background-color: var(--wp--preset--color--tertiary, #e9ecef);
    color: var(--wp--preset--color--contrast, #1a1a1a);
    border-bottom: 1px solid var(--wp--preset--color--secondary, #dee2e6);
    border-radius: 12px 12px 0 0;
}

#startNewChatModal .modal-title {
    color: var(--wp--preset--color--contrast, #1a1a1a);
}

#startNewChatModal .modal-body {
    background-color: var(--wp--preset--color--base, #ffffff);
    color: var(--wp--preset--color--contrast, #1a1a1a);
    margin-bottom: 5px;
}

#startNewChatModal .modal-body .text-muted {
    color: var(--wp--preset--color--secondary, #6c757d) !important;
}

#startNewChatModal .modal-footer {
    background-color: var(--wp--preset--color--tertiary, #f8f9fa);
    border-top: 1px solid var(--wp--preset--color--secondary, #dee2e6);
    border-radius: 0 0 12px 12px;
}

/* @media (max-width: 768px) {
    #startNewChatModal {
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 80% !important;
        border-radius: 0 !important;
    }
    
    #startNewChatModal .modal-content {
        max-width: calc(100vw - 40px);
        width: 90%;
    }
}

@media (max-width: 768px) {
    #startNewChatModal {
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 80% !important;
        border-radius: 0 !important;
    }
    
    #startNewChatModal .modal-content {
        max-width: calc(100vw - 40px);
        width: 80%;
    }
} */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.empty-state-wrapper h4 {
    animation: fadeIn 0.8s ease forwards;
}

.empty-state-wrapper p {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.chatbot-nav-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    gap: 5px;
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.chatbot-nav-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-right: 2px;
}
.chatbot-nav-tab:hover {
    color: #2563eb;
    background: #f1f5f9;
}
.chatbot-nav-tab.nav-tab-active, .chatbot-nav-tab-active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background: white;
}

.chatbot-typing{
    background: linear-gradient(180deg, var(--wp--preset--color--background, rgb(242,242,242)) 0%, var(--wp--preset--color--tertiary, #f0f0f0) 100%) !important;
}

