
 

        /* ==================== FLOATING BUTTON WITH RINGS ==================== */
        .chat-float-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            cursor: pointer;
        }

        .chat-rings {
            position: absolute;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
        }

        .ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 3px solid #0C4137;
            top: 0;
            left: 0;
            opacity: 0;
            animation: pulse-ring 2s infinite ease-out;
        }

        .ring:nth-child(1) {
            animation-delay: 0s;
        }

        .ring:nth-child(2) {
            animation-delay: 1s;
        }

        @keyframes pulse-ring {
            0% {
                transform: scale(0.8);
                opacity: 1;
            }

            100% {
                transform: scale(1.4);
                opacity: 0;
            }
        }

        .chat-btn {
            position: relative;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            background: linear-gradient(135deg, #d9f8ce 0%, #d9f8ce 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 35px rgba(12, 65, 55, 0.3);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            cursor: pointer;
            z-index: 1000;
        }

        .chat-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 45px rgba(12, 65, 55, 0.4);
        }

        .chat-btn:active {
            transform: scale(0.95);
        }

        .chat-icon {
            width: 32px;
            height: 32px;
            fill: #0b3933;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        /* ==================== CHAT SIDEBAR ==================== */
        .chat-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 998;
        }

        .chat-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .chat-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 420px;
            height: 100vh;
            background: white;
            box-shadow: -8px 0 35px rgba(0, 0, 0, 0.15);
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            z-index: 999;
        }

        .chat-sidebar.open {
            transform: translateX(0);
                z-index: 1111;
        }

        /* ==================== CHAT HEADER ==================== */
        .chat-header {
            background: linear-gradient(135deg, #0C4137 0%, #0a3530 100%);
            color: #D9F8CE;
            padding: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(217, 248, 206, 0.1);
        }

        .chat-header-content h2 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 4px;
            color:#d9f8ce;
        }

        .chat-header-content p {
            font-size: 13px;
            opacity: 0.9;
        }

        .chat-close-btn {
            background: rgba(217, 248, 206, 0.2);
            border: none;
            color: #D9F8CE;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .chat-close-btn:hover {
            background: rgba(217, 248, 206, 0.3);
            transform: rotate(90deg);
        }

        /* ==================== FORM SECTION ==================== */
        .chat-form {
            padding: 24px;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group input {
            padding: 11px 14px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            transition: all 0.2s ease;
            background: #fafbfc;
        }

        .form-group input:focus {
            outline: none;
            border-color: #0C4137;
            background: white;
            box-shadow: 0 0 0 3px rgba(12, 65, 55, 0.1);
        }

        .form-group input::placeholder {
            color: #9ca3af;
        }

        .chat-start-btn {
            padding: 12px 20px;
            background: linear-gradient(135deg, #0C4137 0%, #0a3530 100%);
            color: #D9F8CE;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .chat-start-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(12, 65, 55, 0.3);
        }

        .chat-start-btn:active {
            transform: translateY(0);
        }

        /* ==================== CHAT AREA ==================== */
        .chat-area {
            display: none;
            flex-direction: column;
            flex: 1;
            min-height: 0;
            overflow: hidden;
        }

        .chat-area.active {
            display: flex;
        }

        #messages {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 20px 16px;
            background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-height: 0;
        }

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

        #messages::-webkit-scrollbar-track {
            background: transparent;
        }

        #messages::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 3px;
        }

        #messages::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }

        /* ==================== MESSAGE STYLES ==================== */
        .message {
            display: flex;
            animation: slideIn 0.3s ease forwards;
            opacity: 0;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .user-message {
            justify-content: flex-end;
        }

        .user-message .message-content {
            background: linear-gradient(135deg, #0C4137 0%, #0a3530 100%);
            color: #D9F8CE;
            max-width: 80%;
            border-radius: 16px 16px 4px 16px;
            padding: 11px 14px;
            font-size: 14px;
            line-height: 1.4;
            word-break: break-word;
            box-shadow: 0 4px 12px rgba(12, 65, 55, 0.2);
        }

        .admin-message {
            justify-content: flex-start;
        }

        .admin-message .message-content {
            background: #f3f4f6;
            color: #1f2937;
            max-width: 80%;
            border-radius: 16px 16px 16px 4px;
            padding: 11px 14px;
            font-size: 14px;
            line-height: 1.4;
            word-break: break-word;
            border: 1px solid #e5e7eb;
        }

        /* ==================== INPUT AREA ==================== */
        .chat-input-area {
            padding: 16px;
            border-top: 1px solid #e5e7eb;
            background: white;
            display: flex;
            gap: 10px;
            align-items: flex-end;
            flex-shrink: 0;
            min-height: 74px;
        }

        #msg {
            flex: 1;
            padding: 11px 14px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            resize: none;
            max-height: 100px;
            transition: all 0.2s ease;
            background: #fafbfc;
            min-height: 42px;
        }

        #msg:focus {
            outline: none;
            border-color: #0C4137;
            background: white;
            box-shadow: 0 0 0 3px rgba(12, 65, 55, 0.1);
        }

        #msg::placeholder {
            color: #9ca3af;
        }

        .chat-send-btn {
            padding: 11px 16px;
            background: linear-gradient(135deg, #0C4137 0%, #0a3530 100%);
            color: #D9F8CE;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            height: 42px;
            width: 42px;
            font-size: 18px;
        }

        .chat-send-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(12, 65, 55, 0.3);
        }

        .chat-send-btn:active {
            transform: scale(0.95);
        }

        /* ==================== RESPONSIVE DESIGN ==================== */
        @media (max-width: 768px) {
            .chat-sidebar {
                width: 100%;
                max-width: 100%;
            }

            .chat-float-container {
                bottom: 20px;
                right: 20px;
            }

            .chat-btn {
                width: 56px;
                height: 56px;
            }

            .chat-icon {
                width: 28px;
                height: 28px;
            }

            .chat-rings {
                width: 56px;
                height: 56px;
            }

            .user-message .message-content,
            .admin-message .message-content {
                max-width: 85%;
            }
        }

        @media (max-width: 480px) {
            .chat-header {
                padding: 16px;
            }

            .chat-header-content h2 {
                font-size: 18px;
            }

            .chat-form {
                padding: 16px;
            }

            .chat-input-area {
                padding: 12px;
                gap: 8px;
            }

            #messages {
                padding: 16px 12px;
            }

            .user-message .message-content,
            .admin-message .message-content {
                max-width: 90%;
                font-size: 13px;
            }
        }

        /* ==================== EMPTY STATE ==================== */
        .chat-empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #9ca3af;
            padding: 20px;
            text-align: center;
        }

        .chat-empty-state-icon {
            font-size: 48px;
            margin-bottom: 12px;
            opacity: 0.5;
        }

        .chat-empty-state-text {
            font-size: 14px;
            line-height: 1.6;
        }


.dot {
    width: 6px;
    height: 6px;
    background: #0C4137;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.4s infinite both;
}

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

@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}
    