/* Float Chat Button */
        .float-chat-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background-color: #038B8F;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(3, 139, 143, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            border: none;
            outline: none;
        }

        .float-chat-button:hover {
            background-color: #027073;
            transform: scale(1.1);
        }

        .float-chat-button svg {
            width: 24px;
            height: 24px;
            fill: white;
        }

        /* Float Chat Window */
        .float-chat-window {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 400px;
            height: 600px;
            background-color: #F2F2F2;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            display: none;
            flex-direction: column;
            z-index: 1001;
            overflow: hidden;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            transition: all 0.3s ease;
        }

        .float-chat-window.open {
            display: flex;
        }

        .float-chat-window.fullscreen {
            width: 100vw;
            height: 100vh;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 0;
        }

        /* Float Chat Header */
        .float-chat-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background-color: #fff;
            border-bottom: 1px solid #e0e0e0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .float-chat-header-left {
            display: flex;
            align-items: center;
        }

        .float-chat-logo {
            width: 32px;
            height: 32px;
            background-color: #038B8F;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 14px;
            margin-right: 10px;
        }

        .float-chat-brand h1 {
            font-size: 18px;
            font-weight: 600;
            color: #038B8F;
            margin: 0;
        }

        .float-chat-brand p {
            font-size: 12px;
            color: #666;
            margin: 0;
        }

        .float-chat-controls {
            display: flex;
            gap: 8px;
        }

        .float-chat-btn {
            width: 30px;
            height: 30px;
            border: none;
            background-color: #f0f0f0;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease;
        }

        .float-chat-btn:hover {
            background-color: #e0e0e0;
        }

        .float-chat-btn svg {
            width: 16px;
            height: 16px;
            fill: #666;
        }

        /* Float Chat Messages */
        .float-chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            
        }

        .float-chat-welcome h2 {
            font-size: 20px;
            font-weight: 300;
            margin-bottom: 8px;
            color: #038B8F;
        }

        .float-chat-welcome p {
            font-size: 14px;
            line-height: 1.5;
        }

        .float-chat-message {
            max-width: 85%;
            margin-bottom: 12px;
            animation: fadeIn 0.3s ease-in;
        }

        .float-chat-message.user {
            align-self: flex-end;
            margin-left: auto;
        }

        .float-chat-message.bot {
            align-self: flex-start;
            margin-right: auto;
        }

        .float-chat-message-content {
            padding: 10px 14px;
            border-radius: 16px;
            line-height: 1.4;
            word-wrap: break-word;
            border: 1px solid #e0e0e0;
        }

        .float-chat-message.user .float-chat-message-content {
            background-color: #038B8F;
            color: white;
            border-color: #038B8F;
        }

        .float-chat-message.bot .float-chat-message-content {
            background-color: white;
            color: #333;
            border-color: #e0e0e0;
        }

        .float-chat-message-time {
            font-size: 10px;
            color: #999;
            margin-top: 4px;
            text-align: right;
        }

        .float-chat-message.bot .float-chat-message-time {
            text-align: left;
        }

        /* Float Chat Input */
        .float-chat-input {
            padding: 16px;
            background-color: transparent;
            border-top: none;
        }

        .float-chat-input-container {
            display: flex;
            gap: 8px;
            align-items: flex-end;
            background-color: white;
            border-radius: 24px;
            padding: 10px 14px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        }

        .float-chat-input-wrapper {
            flex: 1;
        }

        .float-chat-textarea {
            width: 100%;
            min-height: 32px;
            max-height: 80px;
            padding: 6px 4px;
            border: none;
            border-radius: 16px;
            font-size: 14px;
            font-family: inherit;
            resize: none;
            outline: none;
            background-color: transparent;
        }

        .float-chat-input-container:focus-within {
            border-color: #038B8F;
        }

        .float-chat-send {
            width: 36px;
            height: 36px;
            border: none;
            background-color: #038B8F;
            color: white;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease;
        }

        .float-chat-send:hover {
            background-color: #027073;
        }

        .float-chat-send:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .float-chat-send svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        /* Loading Spinner */
        .float-chat-loading {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            background-color: white;
            border-radius: 16px;
            border: 1px solid #e0e0e0;
            max-width: 85%;
            margin-right: auto;
        }

        .float-chat-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid #e0e0e0;
            border-top: 2px solid #038B8F;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .float-chat-loading-text {
            color: #666;
            font-size: 12px;
        }

        /* Dark Mode Styles */
        .float-chat-window.dark-mode {
            background-color: #1a1a1a;
            color: #e0e0e0;
        }

        .float-chat-window.dark-mode .float-chat-header {
            background-color: #2d2d2d;
            border-bottom-color: #404040;
        }

        .float-chat-window.dark-mode .float-chat-brand h1 {
            color: #038B8F;
        }

        .float-chat-window.dark-mode .float-chat-brand p {
            color: #b0b0b0;
        }

        .float-chat-window.dark-mode .float-chat-btn {
            background-color: #404040;
        }

        .float-chat-window.dark-mode .float-chat-btn:hover {
            background-color: #555;
        }

        .float-chat-window.dark-mode .float-chat-btn svg {
            fill: #b0b0b0;
        }

        .float-chat-window.dark-mode .float-chat-welcome {
            color: #b0b0b0;
        }

        .float-chat-window.dark-mode .float-chat-welcome h2 {
            color: #038B8F;
        }

        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content {
            background-color: #2d2d2d;
            color: #e0e0e0;
            border-color: #404040;
        }

        .float-chat-window.dark-mode .float-chat-input {
            background-color: transparent;
        }

        .float-chat-window.dark-mode .float-chat-input-container {
            background-color: #404040;
            border-color: #555;
        }

        .float-chat-window.dark-mode .float-chat-input-container:focus-within {
            border-color: #038B8F;
        }

        .float-chat-window.dark-mode .float-chat-textarea {
            color: #e0e0e0;
        }

        .float-chat-window.dark-mode .float-chat-textarea::placeholder {
            color: #888;
        }

        .float-chat-window.dark-mode .float-chat-loading {
            background-color: #2d2d2d;
            border-color: #404040;
        }

        .float-chat-window.dark-mode .float-chat-loading-text {
            color: #b0b0b0;
        }

        .float-chat-window.dark-mode .float-chat-message-time {
            color: #888;
        }

        /* HTML content styling in bot messages */
        .float-chat-message.bot .float-chat-message-content h1,
        .float-chat-message.bot .float-chat-message-content h2,
        .float-chat-message.bot .float-chat-message-content h3,
        .float-chat-message.bot .float-chat-message-content h4,
        .float-chat-message.bot .float-chat-message-content h5,
        .float-chat-message.bot .float-chat-message-content h6 {
            color: #038B8F;
            margin: 6px 0 3px 0;
            font-weight: 600;
        }

        .float-chat-message.bot .float-chat-message-content p {
            margin: 6px 0;
            line-height: 1.5;
        }

        .float-chat-message.bot .float-chat-message-content ul,
        .float-chat-message.bot .float-chat-message-content ol {
            margin: 6px 0;
            padding-left: 16px;
        }

        .float-chat-message.bot .float-chat-message-content li {
            margin: 3px 0;
        }

        .float-chat-message.bot .float-chat-message-content a {
            color: #038B8F;
            text-decoration: none;
        }

        .float-chat-message.bot .float-chat-message-content a:hover {
            text-decoration: underline;
        }

        .float-chat-message.bot .float-chat-message-content code {
            background-color: #f5f5f5;
            padding: 2px 4px;
            border-radius: 3px;
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.9em;
        }

        .float-chat-message.bot .float-chat-message-content pre {
            background-color: #f5f5f5;
            padding: 8px;
            border-radius: 4px;
            overflow-x: auto;
            margin: 6px 0;
        }

        .float-chat-message.bot .float-chat-message-content pre code {
            background-color: transparent;
            padding: 0;
        }

        .float-chat-message.bot .float-chat-message-content blockquote {
            border-left: 3px solid #038B8F;
            margin: 6px 0;
            padding-left: 12px;
            font-style: italic;
            color: #666;
        }

	#logo {
		max-height:30px;
		margin-right: 10px;
	}
  
        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content h1,
        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content h2,
        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content h3,
        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content h4,
        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content h5,
        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content h6 {
            color: #198B90;
        }

        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content a {
            color: #198B90;
        }

        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content code {
            background-color: #404040;
            color: #e0e0e0;
        }

        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content pre {
            background-color: #404040;
        }

        .float-chat-window.dark-mode .float-chat-message.bot .float-chat-message-content blockquote {
            border-left-color: #198B90;
            color: #b0b0b0;
        }

        /* Animations */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

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

        /* Responsive */
        @media (max-width: 768px) {
            .float-chat-window:not(.fullscreen) {
                width: calc(100vw - 40px);
                height: calc(100vh - 40px);
                top: 20px;
                left: 20px;
                right: 20px;
                bottom: 20px;
                border-radius: 12px;
            }

            .float-chat-window.fullscreen {
                width: 100vw;
                height: 100vh;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                border-radius: 0;
            }

            .float-chat-button {
                bottom: 80px;
            }
          
            .float-chat-messages {
                padding-bottom: 10px;
            }

            .float-chat-input-area {
                position: sticky;
                bottom: 5;
                background-color: #F2F2F2;
                border-top: 1px solid #e0e0e0;
                box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
                z-index: 100;
            }

            .float-chat-window.dark-mode .float-chat-input-area {
                background-color: #1e1e1e;
                border-top: 1px solid #444;
            }

            .float-chat-input {
                font-size: 16px;
		padding-bottom:65px;
            }
        }

        /* Desktop larger size when not fullscreen */
        @media (min-width: 769px) {
            .float-chat-window:not(.fullscreen) {
                width: 400px;
                height: 600px;
            }
        }

        /* Scrollbar */
        .float-chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .float-chat-messages::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 2px;
        }

        .float-chat-messages::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 2px;
        }

        .float-chat-messages::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        .float-chat-window.dark-mode .float-chat-messages::-webkit-scrollbar-track {
            background: #2d2d2d;
        }

        .float-chat-window.dark-mode .float-chat-messages::-webkit-scrollbar-thumb {
            background: #555;
        }

        .float-chat-window.dark-mode .float-chat-messages::-webkit-scrollbar-thumb:hover {
            background: #666;
        }
