    /* AI Chatbot Widget Styles */
    *{
        font-family: "Poppins", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }
    /* Animation keyframes */
    @keyframes chatbot-pulse {
        0%, 80%, 100% { 
            transform: scale(0.8); 
            opacity: 0.5; 
        }
        40% { 
            transform: scale(1); 
            opacity: 1; 
        }
    }

    @keyframes chatbot-bounce {
        0%, 20%, 53%, 80%, 100% {
            transform: translate3d(0, 0, 0);
        }
        40%, 43% {
            transform: translate3d(0, -8px, 0);
        }
        70% {
            transform: translate3d(0, -4px, 0);
        }
        90% {
            transform: translate3d(0, -2px, 0);
        }
    }

    @keyframes chatbot-slide-up {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes chatbot-slide-in {
        from {
            opacity: 0;
            transform: scale(0.8) translateY(20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    /* Main container */
    #ai-chatbot-container {
        position: fixed;
        z-index: 999999;
        line-height: 1.4;
    }

    /* Toggle button */
    #ai-chatbot-toggle {
        background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        position: relative;
        overflow: hidden;
    }

    #ai-chatbot-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
        animation: chatbot-bounce 1s ease infinite;
    }

    #ai-chatbot-toggle:active {
        transform: scale(0.95);
    }

    #ai-chatbot-toggle::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    #ai-chatbot-toggle:hover::before {
        opacity: 1;
    }

    /* Widget container */
    #ai-chatbot-widget {
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        display: none;
        flex-direction: column;
        overflow: hidden;
        transform: scale(0.8) translateY(20px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #ai-chatbot-widget.show {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    /* Header */
    #ai-chatbot-header {
        background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    #ai-chatbot-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
        pointer-events: none;
    }

    #ai-chatbot-header .title {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #ai-chatbot-header .status {
        font-size: 12px;
        opacity: 0.8;
        display: flex;
        align-items: center;
    }

    #ai-chatbot-header .status-dot {
        width: 8px;
        height: 8px;
        background: #10B981;
        border-radius: 50%;
        margin-right: 6px;
        animation: chatbot-pulse 2s ease-in-out infinite;
    }

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

    #ai-chatbot-close:hover {
        background: rgba(255, 255, 255, 0.2);
        opacity: 1;
        transform: rotate(90deg);
    }

    /* Messages container */
    #ai-chatbot-messages {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        background: #F9FAFB;
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-height: 400px;
    }

    #ai-chatbot-messages a{
        color: #fff;
    }

    #ai-chatbot-messages::-webkit-scrollbar {
        width: 6px;
    }

    #ai-chatbot-messages::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    #ai-chatbot-messages::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }

    #ai-chatbot-messages::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* Message bubbles */
    .chatbot-message {
        max-width: 85%;
        animation: chatbot-slide-up 0.3s ease-out;
    }

    .chatbot-message.user {
        align-self: flex-end;
    }

    .chatbot-message.assistant {
        align-self: flex-start;
    }

    .chatbot-message-content {
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        position: relative;
    }

    .chatbot-message.user .chatbot-message-content {
        background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
        color: white;
        border-bottom-right-radius: 6px;
        white-space: pre-wrap;
    }

    .chatbot-message.assistant .chatbot-message-content {
        background: white;
        color: #374151;
        border: 1px solid #E5E7EB;
        border-bottom-left-radius: 6px;
    }

    /* Typing indicator */
    .chatbot-typing {
        max-width: 85%;
        align-self: flex-start;
        animation: chatbot-slide-up 0.3s ease-out;
    }

    .chatbot-typing-content {
        background: white;
        color: #6B7280;
        padding: 12px 16px;
        border-radius: 18px;
        border-bottom-left-radius: 6px;
        border: 1px solid #E5E7EB;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .chatbot-typing-text {
        font-size: 12px;
    }

    .chatbot-typing-dots {
        display: flex;
        gap: 3px;
    }

    .chatbot-typing-dot {
        width: 6px;
        height: 6px;
        background: #3B82F6;
        border-radius: 50%;
        animation: chatbot-pulse 1.4s infinite;
    }

    .chatbot-typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .chatbot-typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    /* Input area */
    .chatbot-input-area {
        background: white;
        border-top: 1px solid #E5E7EB;
    }

    .chatbot-input-container {
        padding: 20px;
        display: flex;
        gap: 10px;
        align-items: flex-end;
    }

    #ai-chatbot-input {
        flex: 1;
        padding: 12px 16px;
        border: 2px solid #E5E7EB;
        border-radius: 24px;
        outline: none;
        font-size: 14px;
        transition: all 0.2s ease;
        resize: none;
        min-height: 20px;
        max-height: 100px;
        font-family: inherit;
    }

    #ai-chatbot-input:focus {
        border-color: #3B82F6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    #ai-chatbot-input::placeholder {
        color: #9CA3AF;
    }

    /* Send button */
    #ai-chatbot-send {
        background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
        color: white;
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
    }

    #ai-chatbot-send:hover:not(:disabled) {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

    #ai-chatbot-send:active:not(:disabled) {
        transform: scale(0.95);
    }

    #ai-chatbot-send:disabled {
        background: #D1D5DB !important;
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    /* Footer */
    .chatbot-footer {
        padding: 0 20px 15px;
        font-size: 12px;
        color: #6B7280;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .chatbot-powered-by {
        opacity: 0.7;
    }

    .chatbot-counter {
        opacity: 0.7;
    }

    /* Markdown content styling */
    .chatbot-message-content strong {
        font-weight: 600;
    }

    .chatbot-message-content em {
        font-style: italic;
    }

    .chatbot-message-content code {
        background: #f3f4f6;
        padding: 2px 4px;
        border-radius: 3px;
        font-size: 13px;
    }

    /* Responsive design */
    @media (max-width: 768px) {
        #ai-chatbot-container {
            left: 10px !important;
            right: 10px !important;
            bottom: 10px !important;
        }

        #ai-chatbot-widget {
            width: calc(100vw - 20px) !important;
            height: calc(100vh - 100px) !important;
            max-width: none !important;
            transform: none !important;
            position: fixed !important;
            bottom: 80px !important;
            left: 10px !important;
            right: 10px !important;
        }

        #ai-chatbot-messages {
            max-height: none;
            flex: 1;
        }
    }

    /* Dark mode support */
    @media (prefers-color-scheme: dark) {
        #ai-chatbot-widget {
            background: #1F2937;
        }

        #ai-chatbot-messages {
            background: #111827;
        }

        .chatbot-message.assistant .chatbot-message-content {
            background: #374151;
            color: #F9FAFB;
            border-color: #4B5563;
        }

        .chatbot-typing-content {
            background: #374151;
            color: #9CA3AF;
            border-color: #4B5563;
        }

        .chatbot-input-area {
            background: #1F2937;
            border-color: #4B5563;
        }

        #ai-chatbot-input {
            background: #374151;
            color: #F9FAFB;
            border-color: #4B5563;
        }

        #ai-chatbot-input::placeholder {
            color: #6B7280;
        }

        .chatbot-footer {
            color: #9CA3AF;
        }
    }


form#support-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Remove outline + focus ring */
form#support-form input:focus,
form#support-form textarea:focus,
form#support-form button:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove textarea resize thumb */
form#support-form textarea {
    resize: none !important;
}

/* Base input styling */
form#support-form input {
    width: 100%;
    min-width: 250px;
    height: 45px;
    border: none;
    background: #374151;
    color: #F9FAFB;
    padding-left: 10px;
    border-radius: 24px;
}

/* Base textarea styling */
form#support-form textarea {
    width: 100%;
    min-width: 250px;
    border: none;
    background: #374151;
    color: #F9FAFB;
    border-radius: 24px;
    padding-top: 10px;
    padding-left: 10px;
}

/* Placeholder styling */
form#support-form input::placeholder,
form#support-form textarea::placeholder {
    color: #fff;
    padding-left: 10px;
}

/* Button styling */
form#support-form button {
    width: 100%;
    min-width: 250px;
    height: 45px;
    border: none;
    background: #374151;
    color: #F9FAFB;
    border-radius: 24px;
    cursor: pointer;
}