.ai-chatbot {
    position: fixed;
    z-index: 9999;
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; */
}

.ai-chatbot.bottom-right {
    right: 30px;
    bottom: 30px;
}

.ai-chatbot.bottom-left {
    left: 30px;
    bottom: 30px;
}

.ai-chatbot-toggle button {
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-chatbot-toggle button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.ai-chatbot-window {
    width: 380px;
    height: 600px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* .support-ai-chatbot-window {
    height: 600px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
} */

.support-ai-chatbot-window {
    max-height: 600px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.ai-chatbot-header {
    padding: 16px 20px;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* .ai-chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.2s;
} */

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

.ai-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}

.support-ai-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
}

.chat-message {
    margin: 8px 0;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    position: relative;
    animation: messageSlide 0.3s ease;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.message-content-wrapper {
    flex: 1;
    /* min-height: 32px;
    display: flex;
    align-items: center;
    text-align: left; */
}

#support-ai-chatbot-container .message-content-wrapper {
    flex: 1;
    min-height: 32px;
    display: flex;
    align-items: center;
    text-align: left;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    background: #2563eb;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    flex-direction: row-reverse;
}

.bot-message {
    background: white;
    color: #1f2937;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bot-message.thinking {
    color: #6b7280;
    font-style: italic;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    margin: 10px auto;
    text-align: center;
    width: 90%;
}

.message-timestamp {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 6px;
    text-align: right;
}

.user-message .message-timestamp {
    color: rgba(255, 255, 255, 0.7);
}

.message-content {
    word-break: break-word;
}

.ai-chatbot-input {
    padding: 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* .support-ai-chatbot-input {
    padding: 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    align-items: center;
} */

.ai-chatbot-input input, .support-ai-chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.ai-chatbot-input input:focus, .support-ai-chatbot-input input:focus {
    outline: none;
    border-color: #2563eb;
}

.ai-chatbot-input button, .support-ai-chatbot-input button {
    padding: 8px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    max-height: fit-content;
}

.ai-chatbot-input button:disabled, .support-ai-chatbot-input button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.ai-chatbot-loading, .support-ai-chatbot-loading {
    padding: 12px;
    text-align: center;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Custom scrollbar for webkit browsers */
.ai-chatbot-messages::-webkit-scrollbar, .support-ai-chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chatbot-messages::-webkit-scrollbar-track, .support-ai-chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ai-chatbot-messages::-webkit-scrollbar-thumb, .support-ai-chatbot-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.ai-chatbot-messages::-webkit-scrollbar-thumb:hover, .support-ai-chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* 12-06*/
.ai-chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-chatbot-minimize,
.ai-chatbot-popup,
.ai-chatbot-close {
    /* background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    line-height: 1; */
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Consistent width */
    height: 32px; /* Consistent height */
    border-radius: 50%; /* Circular shape */
    padding: 0;
    transition: background-color 0.2s, opacity 0.2s;
}

.ai-chatbot-minimize {
    /* font-size: 30px; */
    font-size: 24px; /* Consistent font size */
    line-height: 1;
    padding-top: 3px;
}

/* like dislike buttons */
.feedback-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}
.feedback-instruction {
    margin-bottom: 10px;
    color: #666;
    font-style: italic;
}
.feedback-buttons {
    display: flex;
    gap: 10px;
}
.feedback-button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.like-button {
    background-color: #4CAF50;
    color: white;
}
.dislike-button {
    background-color: #f44336;
    color: white;
}
.feedback-button:hover {
    opacity: 0.9;
}


/*12-09*/
.custom-qa-container {
    max-width: 100%;
    margin: 20px 0;
    /* font-family: Arial, sans-serif; */
}
.qa-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}
.qa-table thead {
    background-color: #f4f4f4;
}
.qa-table th, .qa-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}
.qa-table th {
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    font-size: 14px;
}
.qa-question {
    width: 30%;
    background-color: #f9f9f9;
    font-weight: bold;
    color: #2c3e50;
}
.qa-answer {
    width: 70%;
    line-height: 1.6;
    color: #34495e;
}
.qa-row:nth-child(even) {
    background-color: #f2f2f2;  
}
.qa-row:hover {
    background-color: #e6e6e6;
    transition: background-color 0.3s ease;
}

/* 12-10 */
.ai-chatbot-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.ai-chatbot-popup .ai-chatbot-window {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* .ai-chatbot-popup {
    background-color: inherit;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    margin: 0 5px;
    padding: 0;
    line-height: 1;
} */

.ai-chatbot-popup {
    font-size: 20px; /* Adjusted to match other buttons */
}

.ai-chatbot-popup:hover {
    opacity: 0.8;
}

.ai-chatbot-close {
    font-size: 24px; /* Consistent font size */
    /* margin-top: -2px; */
    padding-top: 4px;
}

.ai-chatbot-minimize:hover,
.ai-chatbot-popup:hover,
.ai-chatbot-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.message-content {
    word-wrap: break-word;
}

.message-content ul, 
.message-content ol {
    padding-left: 20px;
    margin: 5px 0;
}

.message-content a {
    color: #2563eb;
    text-decoration: underline;
}

.numbered {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

.modal, .support-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    display: none;
}

.modal-content, .support-modal-content {
    display: block;
    margin: auto;
    width: auto;
    max-width: 80%;
    max-height: 80%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.nav-btn, .support-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: 0.3s;
}

.prev-btn, .support-prev-btn {
    left: 20px;
}

.next-btn, .support-next-btn {
    right: 20px;
}

.nav-btn:hover, .support-nav-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.ai-chatbot-input textarea.auto-expand, .support-ai-chatbot-input textarea.auto-expand {
    height: 32px;
    min-height: 32px;
    max-height: 150px;
    resize: none;
    overflow-y: hidden;
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.4;
}



/* 2025-03-11 */
/* Chat container */
.ai-chatbot-input-container {
    /* max-width: 800px;
    margin: 0 auto; */
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
}

.support-ai-chatbot-input-container {
    margin-top: 10px;
}

/* Input area with controls */
.ai-chatbot-input {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: 8px 16px;
    gap: 3px;
}

.support-ai-chatbot-input {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 8px 16px;
    gap: 3px;
    box-shadow: rgba(18, 28, 45, 0.1) 0px 2px 8px 0px;
}

/* Textarea styling */
#ai-chatbot-input, #support-ai-chatbot-input {
    flex-grow: 1;
    border: none;
    resize: none;
    /* padding: 8px 0; */
    padding: 0;
    outline: none;
    font-size: 16px;
    max-height: 120px;
    overflow-y: auto;
    min-height: 0px;
    height: 24px;
}

#support-ai-chatbot-input {
    font-size: 15px;
}

/* File input - hidden */
#screenshotInput {
    display: none;
}

/* Attachment button styling */
.attach-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.attach-button:hover {
    background-color: #f0f0f0;
}

/* Send button styling */
#ai-chatbot-send, #support-ai-chatbot-send {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    color: #5271ff;
    transition: background-color 0.2s;
}

#ai-chatbot-send:hover {
    background-color: #f0f0f0;
}

/* Icons styling */
.attach-icon, .send-icon {
    width: 22px;
    height: 22px;
}

/* Attachments area */
/* .attachments-container {
    margin-top: 16px;
} */

.attachments-title {
    font-size: 16px;
    color: #888;
    margin-bottom: 12px;
    display: none;
}

.attachments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Thumbnail styling */
.thumbnail-container {
    position: relative;
    width: 100px;
    margin-bottom: 8px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
    cursor: pointer;
}

.thumbnail.selected {
    border-color: #5271ff;
}

/* File info panel styling */
.file-details {
    display: none;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-name {
    font-size: 14px;
    margin-bottom: 8px;
    word-break: break-all;
}

.remove-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #e53935;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    gap: 4px;
}

.remove-icon {
    width: 16px;
    height: 16px;
}

/* Add this to your CSS */
.message-attachments {
    margin-top: 8px;
    /* color: #555; */
    font-size: 0.9em;
}

/* Styles for attachment counter */
.attachment-counter {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #666;
    padding: 2px 6px;
    background-color: #f0f0f0;
    border-radius: 10px;
    vertical-align: middle;
}

/* Disabled attach button state */
.attach-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Optional - add a visual cue when approaching the limit */
.thumbnail-container:nth-child(2) {
    position: relative;
}

.thumbnail-container:nth-child(2)::after {
    content: "Limit reached";
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: #ff3300;
    opacity: 0;
    transition: opacity 0.3s;
}

.thumbnail-container:nth-child(2):hover::after {
    opacity: 1;
}



.qa-table {
    width: 100%;
    border-collapse: collapse;
}
.qa-question-header, .qa-answer-header {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}
.qa-question, .qa-answer {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: top;
}
.qa-attachment-cell {
    padding: 0;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}
.qa-attachments-container {
    padding: 15px;
    display: flex;
    justify-content: center;
}
.qa-attachment-image {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 5px 0;
    border: 1px solid #eee;
}
.qa-attachment-link {
    display: block;
    margin: 5px 0;
    color: #0066cc;
    text-decoration: underline;
}





/* Chat Button */
.staq-chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #2563eb; /* Orange color from your logos */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staq-chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.staq-chat-icon {
    width: 32px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.staq-chat-bubble {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staq-chat-bubble:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: white;
}

/* Animated dots - modified to only animate when hovering */
.staq-chat-dot {
    width: 5px;
    height: 5px;
    background-color: #2563eb;
    border-radius: 50%;
    margin: 0 2px;
    opacity: 0.3; /* Show dots with low opacity when not hovering */
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animation only happens when this class is added via JS on hover */
.staq-chat-dot.animate-dots {
    animation: staqChatDotPulse 1.5s infinite;
}

.staq-chat-dot-1.animate-dots {
    animation-delay: 0s;
}

.staq-chat-dot-2.animate-dots {
    animation-delay: 0.3s;
}

.staq-chat-dot-3.animate-dots {
    animation-delay: 0.6s;
}

@keyframes staqChatDotPulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.8); }
}

/* Mobile responsiveness */
@media screen and (max-width: 480px) {
    .staq-chat-popup {
        width: 280px;
        right: 0;
    }
    
    .staq-chat-button {
        width: 50px;
        height: 50px;
    }
}






.staq-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}

/* Chat Popup */
.staq-chat-popup {
    max-height: 440px;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.staq-chat-popup.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Chat Header */
.staq-chat-header {
    background-color: #2563eb;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.staq-chat-title {
    font-size: 16px;
    font-weight: 600;
}

.staq-chat-close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

/* Chat Body */
.staq-chat-body {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

/* Chat Options */
.staq-chat-option {
    display: flex;
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #f8f8f8;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.staq-chat-option:hover {
    background-color: #f0f0f0;
}

.staq-chat-option-icon {
    margin-right: 12px;
    font-size: 20px;
}

.staq-chat-option-text {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    flex-grow: 1;
}

.staq-chat-option-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Expandable options */
.staq-chat-option-expandable {
    flex-direction: column;
}

.staq-chat-option-header {
    display: flex;
    align-items: center;
}

.staq-chat-suboptions {
    display: none;
    padding-left: 32px;
    margin-top: 8px;
}

.staq-chat-option-expandable.active .staq-chat-suboptions {
    display: block;
}

.staq-chat-option-expandable.active .staq-chat-option-arrow {
    transform: rotate(180deg);
}

.staq-chat-suboption {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: color 0.2s ease;
}

.staq-chat-suboption:hover {
    color: #2563eb;
}

/* Chat Footer */
.staq-chat-footer {
    padding: 10px 15px;
    font-size: 12px;
    color: #777;
    text-align: center;
    border-top: 1px solid #eee;
}

.staq-brand {
    font-weight: 600;
    color: #2563eb;
}

/* Animation for popup entrance */
@keyframes staqChatPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for popup exit */
@keyframes staqChatPopupOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}








/* Form styling to match the screenshot */
.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    max-width: 100%;
}

.form-header {
    margin-bottom: 20px;
}

.form-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-input.error {
    border-color: #ef4444;
}

/* .form-textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
} */

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-submit {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background: #2563eb;
}

.form-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Input container styling */
.ai-chatbot-input-container.disabled, .support-ai-chatbot-input-container.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: #f9fafb;
}

.chat-input-container {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: white;
}

.chat-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-textarea {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    font-size: 14px;
}

.chat-send-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* Class to expand the window */
.support-ai-chatbot-window.expanded {
    height: 600px;
}

/* Optional: Add a smooth height transition */
.support-ai-chatbot-window {
    transition: height 0.3s ease, all 0.3s ease;
}

.support-ai-chatbot {
    max-width: 800px;
    margin: auto;
}

#ek-2nd-column .message-content img.screenshot-thumbnail {
    border-radius: 0px;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

#support-ai-chatbot-messages .chat-message {
    max-width: 100%;
}

.support-ai-chatbot-input textarea {
    background-color: transparent;
}