
        
        .agent-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .agent-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #5d5bc7;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .agent-details h2 {
            font-size: 1.4rem;
            margin-bottom: 5px;
        }
        
        .agent-details .status {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
        }
        
        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #4ade80;
        }
        
        .chat-body {
            flex: 1;
            padding: 25px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background: #f9f9ff;
        }
        
        .message {
            padding: 15px 20px;
            border-radius: 20px;
            max-width: 75%;
            word-wrap: break-word;
            position: relative;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .bot-message {
            background: #eef0ff;
            align-self: flex-start;
            border-bottom-left-radius: 5px;
        }
        
        .user-message {
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 5px;
        }
        
        .system-message {
            background: #f8f9fa;
            align-self: center;
            border: 2px solid #e1e1fc;
            font-size: 0.9rem;
            color: #6c757d;
            max-width: 90%;
            text-align: center;
            padding: 12px 25px;
        }
        
        .message-time {
            font-size: 0.75rem;
            margin-top: 8px;
            opacity: 0.8;
        }
        
        .user-message .message-time {
            text-align: right;
        }
        
        .chat-input-area {
            padding: 20px;
            border-top: 2px solid #f0f0ff;
            display: flex;
            gap: 15px;
            background: white;
        }
        
        .chat-input {
            flex: 1;
            padding: 16px;
            border: 2px solid #e1e1fc;
            border-radius: 25px;
            outline: none;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .chat-input:focus {
            border-color: #4B49AC;
        }
        
        .send-button {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        .send-button:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(75, 73, 172, 0.4);
        }
        
        /* Registration Form */
        .registration-form {
            padding: 30px;
            background: #f0f5ff;
            border-radius: 15px;
            margin: 20px;
        }
        
        .form-title {
            color: #1a2a6c;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #4B49AC;
        }
        
        .form-group input {
            width: 100%;
            padding: 14px;
            border: 2px solid #e1e1fc;
            border-radius: 10px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus {
            border-color: #4B49AC;
            outline: none;
            box-shadow: 0 0 0 3px rgba(75, 73, 172, 0.2);
        }
        
        .register-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            margin-top: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(75, 73, 172, 0.3);
        }
        
        .register-btn:hover {
            background: linear-gradient(to right, #3a3892, #2e2c7a);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(75, 73, 172, 0.4);
        }
        
        .start-chat-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            font-size: 15px;
            margin-top: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(75, 73, 172, 0.4);
        }
        
        .start-chat-btn:hover {
            background: linear-gradient(to right, #3a3892, #2e2c7a);
            transform: translateY(-3px);
        }
        
        .success-message {
            background: #d4f8e8;
            color: #0a8f6a;
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
            text-align: center;
            font-weight: 500;
            display: none;
        }
        
        .typing-indicator {
            background: #eef0ff;
            padding: 15px;
            border-radius: 20px;
            align-self: flex-start;
            display: none;
            margin-top: 10px;
        }
        
        .typing-indicator span {
            display: inline-block;
            width: 8px;
            height: 8px;
            background: #4B49AC;
            border-radius: 50%;
            margin: 0 2px;
            animation: typing 1s infinite;
        }
        
        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-5px); }
        }
        
        .welcome-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 40px;
            height: 100%;
        }
        
        .welcome-section h2 {
            color: #1a2a6c;
            font-size: 2.2rem;
            margin-bottom: 20px;
        }
        
        .welcome-section p {
            color: #444;
            font-size: 1.1rem;
            max-width: 600px;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .welcome-icon {
            font-size: 4rem;
            color: #4B49AC;
            margin-bottom: 25px;
        }
        
        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 10px;
            border-radius: 5px;
            margin-top: 10px;
            display: none;
        }
        
        /* Side Chatbot Styles */
        .side-chatbot-container {
            position: fixed;
            right: 30px;
            bottom: 30px;
            z-index: 1000;
        }
        
        .side-chatbot-toggle {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: #4B49AC;
            color: white;
            border: none;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
            cursor: pointer;
            font-size: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(75, 73, 172, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(75, 73, 172, 0); }
            100% { box-shadow: 0 0 0 0 rgba(75, 73, 172, 0); }
        }
        
        .side-chatbot-toggle:hover {
            background: #3a3892;
            transform: scale(1.08);
        }
        
        .side-chatbot-panel {
            width: 380px;
            height: 500px;
            background: white;
            border-radius: 18px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            transform: translateY(30px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: absolute;
            right: 0;
            bottom: 90px;
            overflow: hidden;
        }
        
        .side-chatbot-panel.open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        
        .side-chatbot-header {
            padding: 20px;
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            border-radius: 18px 18px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        
        .side-chatbot-close {
            background: none;
            border: none;
            color: white;
            font-size: 22px;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .side-chatbot-close:hover {
            transform: rotate(90deg);
        }
        
        .side-chatbot-body {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            background: #f9f9ff;
        }
        
        .side-chatbot-message {
            padding: 12px 18px;
            border-radius: 20px;
            max-width: 80%;
            word-wrap: break-word;
            animation: fadeIn 0.3s ease;
            position: relative;
        }
        
        .side-chatbot-message.bot {
            background: #eef0ff;
            align-self: flex-start;
            border-bottom-left-radius: 5px;
        }
        
        .side-chatbot-message.user {
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 5px;
        }
        
        .side-chatbot-message.system {
            background: #f8f9fa;
            align-self: center;
            border: 2px solid #e1e1fc;
            font-size: 0.85em;
            color: #6c757d;
            max-width: 90%;
            text-align: center;
        }
        
        .side-chatbot-input-area {
            padding: 15px;
            border-top: 2px solid #f0f0ff;
            display: flex;
            gap: 12px;
            background: white;
        }
        
        .side-chatbot-input {
            flex: 1;
            padding: 14px;
            border: 2px solid #e1e1fc;
            border-radius: 25px;
            outline: none;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .side-chatbot-input:focus {
            border-color: #4B49AC;
        }
        
        .side-chatbot-send {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        .side-chatbot-send:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(75, 73, 172, 0.4);
        }
        
        .side-chatbot-form {
            padding: 20px;
        }
        
        .side-form-group {
            margin-bottom: 15px;
        }
        
        .side-form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: #4B49AC;
        }
        
        .side-form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
        }
        
        .side-chatbot-submit {
            width: 100%;
            padding: 12px;
            background: linear-gradient(to right, #4B49AC, #3a3892);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            margin-top: 10px;
        }
        
        .side-error-message {
            color: #e74c3c;
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }
        
        @media (max-width: 992px) {
            .chat-container {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .side-chatbot-panel {
                width: 320px;
                height: 450px;
                right: 10px;
            }
            
            .side-chatbot-toggle {
                width: 60px;
                height: 60px;
                font-size: 24px;
            }
        }
  