
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
        }
        
        .chat-widget {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 10000;
        }
        
        .chat-button {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #3498db, #2c3e50);
            border-radius: 50%;
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            padding-top: 8px;
        }
        
        .chat-button:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        }
        
        .chat-button i {
            color: white;
            font-size: 28px;
            margin-bottom: 2px;
        }
        
        .chat-button-text {
            color: white;
            font-size: 10px;
            font-weight: bold;
            line-height: 1;
        }
        
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }
        
        .chat-container {
            width: 450px;
            height: 750px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            overflow: hidden;
            position: absolute;
            bottom: 90px;
            right: 0;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .chat-header {
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }
        
        .chat-title {
            font-weight: bold;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .chat-title i {
            margin-right: 8px;
            font-size: 20px;
        }
        
        .chat-close {
            cursor: pointer;
            font-size: 22px;
            transition: transform 0.2s;
            line-height: 1;
        }
        
        .chat-close:hover {
            transform: scale(1.2);
        }
        
        .chat-status {
            font-size: 12px;
            margin-top: 5px;
            display: flex;
            align-items: center;
        }
        
        .status-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #2ecc71;
            margin-right: 6px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        .chat-messages-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            background: #f5f7fa;
        }
        
        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-height: 100%;
            min-height: 450px;
        }
        
        .message {
            display: flex;
            animation: messageAppear 0.3s ease;
            max-width: 100%;
        }
        
        @keyframes messageAppear {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .message.user {
            justify-content: flex-end;
        }
        
        .message.bot {
            justify-content: flex-start;
        }
        
        .message-content {
            max-width: 90%;
            padding: 15px 18px;
            border-radius: 18px;
            font-size: 14px;
            line-height: 1.6;
            position: relative;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        .user .message-content {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            border-bottom-right-radius: 5px;
        }
        
        .bot .message-content {
            background: white;
            color: #333;
            border: 1px solid #e0e0e0;
            border-bottom-left-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        .message-time {
            font-size: 11px;
            color: #95a5a6;
            margin-top: 8px;
            text-align: right;
        }
        
        .bot .message-time {
            text-align: left;
        }
        
        .chat-input-area {
            padding: 15px;
            border-top: 1px solid #e0e0e0;
            display: flex;
            background: white;
            flex-shrink: 0;
        }
        
        .chat-input {
            flex: 1;
            padding: 12px 16px;
            border: 1px solid #e0e0e0;
            border-radius: 24px;
            outline: none;
            font-size: 14px;
            transition: border 0.3s;
        }
        
        .chat-input:focus {
            border-color: #3498db;
        }
        
        .chat-send {
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            border: none;
            border-radius: 24px;
            padding: 12px 20px;
            margin-left: 10px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: bold;
            white-space: nowrap;
        }
        
        .chat-send:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
        }
        
        .top-section {
            flex-shrink: 0;
        }
        
        .quick-questions {
            padding: 12px 15px;
            border-bottom: 1px solid #e0e0e0;
            background: #f5f7fa;
        }
        
        .quick-questions-title {
            font-size: 13px;
            color: #7f8c8d;
            margin-bottom: 8px;
        }
        
        .quick-question {
            display: inline-block;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 16px;
            padding: 5px 12px;
            margin: 4px 4px 4px 0;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .quick-question:hover {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .action-buttons {
            display: flex;
            padding: 12px 15px;
            gap: 8px;
            border-bottom: 1px solid #e0e0e0;
            background: #f5f7fa;
        }
        
        .action-btn {
            flex: 1;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            padding: 8px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .action-btn i {
            margin-right: 5px;
        }
        
        .action-btn:hover {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .typing-indicator {
            display: none;
            padding: 10px 16px;
            font-size: 12px;
            color: #7f8c8d;
            flex-shrink: 0;
        }
        
        .typing-dots {
            display: inline-block;
            margin-left: 5px;
        }
        
        .typing-dots span {
            animation: typing 1.4s infinite;
            display: inline-block;
        }
        
        .typing-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .typing-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-5px); }
        }
        
        .recommendation-cards {
            display: flex;
            flex-direction: column;
            margin-top: 12px;
            gap: 8px;
        }
        
        .recommendation-card {
            background: white;
            border-radius: 8px;
            padding: 10px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .recommendation-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-color: #3498db;
        }
        
        .card-title {
            font-weight: bold;
            font-size: 14px;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .card-desc {
            font-size: 12px;
            color: #7f8c8d;
        }
        
        .school-cards {
            display: flex;
            flex-direction: column;
            margin-top: 12px;
            gap: 8px;
        }
        
        .school-card {
            background: white;
            border-radius: 8px;
            padding: 12px;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .school-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-color: #3498db;
        }
        
        .school-name {
            font-weight: bold;
            font-size: 14px;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .school-type {
            font-size: 12px;
            color: #7f8c8d;
            margin-bottom: 5px;
        }
        
        .school-features {
            font-size: 12px;
            color: #3498db;
            margin-bottom: 5px;
        }
        
        .satisfaction-survey {
            margin-top: 12px;
            padding-top: 10px;
            border-top: 1px dashed #e0e0e0;
            text-align: center;
        }
        
        .satisfaction-title {
            font-size: 12px;
            color: #7f8c8d;
            margin-bottom: 8px;
        }
        
        .satisfaction-buttons {
            display: flex;
            justify-content: center;
            gap: 10px;
        }
        
        .satisfaction-btn {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 16px;
            padding: 5px 12px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .satisfaction-btn:hover {
            background: #f5f7fa;
        }
        
        .satisfaction-btn.like:hover {
            background: #2ecc71;
            color: white;
            border-color: #2ecc71;
        }
        
        .satisfaction-btn.dislike:hover {
            background: #e74c3c;
            color: white;
            border-color: #e74c3c;
        }
        
        @media (max-width: 480px) {
            .chat-container {
                width: 95vw;
                height: 85vh;
                right: 2.5vw;
                bottom: 80px;
            }
            
            .chat-button {
                width: 60px;
                height: 60px;
            }
            
            .chat-button i {
                font-size: 24px;
            }
            
            .notification-badge {
                width: 20px;
                height: 20px;
                font-size: 10px;
            }
            
            .message-content {
                max-width: 95%;
            }
            
            .chat-messages {
                min-height: 300px;
            }
        }
