    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        :root {
            --primary: #4a6ee0;
            --primary-dark: #3a5ec0;
            --secondary: #6a11cb;
            --light: #f5f7fa;
            --dark: #333;
            --gray: #666;
            --light-gray: #e1e5eb;
            --white: #ffffff;
            --success: #4cd964;
            --warning: #ff9500;
            --danger: #ff3b30;
            --openai: #10a37f;
            --deepseek: #5e17eb;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: var(--dark);
            line-height: 1.5;
            min-height: 100vh;
            padding: 10px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        header {
            text-align: center;
            padding: 15px;
            background: linear-gradient(126deg, #d400ff 0%, #0286ff 100%);
            color: var(--white);
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
        }
        
        header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 700;
            position: relative;
        }
        
        header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 80%;
            margin: 0 auto;
            position: relative;
        }
        
        .api-config {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        
        .api-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.2);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .main-content {
            display: flex;
            gap: 20px;
            flex: 1;
        }
        
        .chat-container {
            flex: 3;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 600px;
        }
        
        .chat-header {
            background:linear-gradient(160deg, #0286ff, #51f7f0, #c7f6f2, #ec75fa);
            color: #d400ff;
            padding: 10px 25px;
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .chat-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        }
        
        .chat-header .avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--primary);
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .chat-header .info h2 {
            font-size: 1.0rem;
            margin-bottom: 3px;
        }
        
        .chat-header .info p {
            font-size: 0.85rem;
            opacity: 0.8;
        }
        
        .chat-header .status {
            margin-left: auto;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.2);
            padding: 6px 12px;
            border-radius: 20px;
        }
        
        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--success);
            margin-right: 8px;
            box-shadow: 0 0 10px var(--success);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            height: 400px;
            display: flex;
            flex-direction: column;
        }
        
        .message {
            max-width: 80%;
            padding: 10px 20px;
            margin-bottom: 10px;
            border-radius: 18px;
            line-height: 1.5;
            position: relative;
            animation: fadeIn 0.4s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .bot-message {
            align-self: flex-start;
            background: var(--white);
            border: 1px solid var(--light-gray);
            border-bottom-left-radius: 5px;
            color: var(--dark);
        }
        
        .user-message {
            align-self: flex-end;
            background: linear-gradient(135deg, #04e0fa 0%, var(--primary-dark) 100%);
            color: var(--white);
            border-bottom-right-radius: 5px;
        }
        
        .message-time {
            font-size: 0.7rem;
            opacity: 0.7;
            margin-top: 5px;
            text-align: right;
        }
        
        .bot-message .message-time {
            text-align: left;
        }
        
        .message-provider {
            font-size: 0.7rem;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .provider-openai {
            color: var(--openai);
        }
        
        .provider-deepseek {
            color: var(--deepseek);
        }
        
        .chat-input-container {
            padding: 20px;
            border-top: 1px solid var(--light-gray);
            background: var(--white);
        }
        
        .chat-input {
            display: flex;
            background: var(--light);
            border-radius: 25px;
            padding: 5px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .chat-input input {
            flex: 1;
            padding: 12px 20px;
            border: none;
            background: transparent;
            outline: none;
            font-size: 1rem;
            color: var(--dark);
        }
        
        .chat-input button {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
            border: none;
            border-radius: 20px;
            padding: 10px 25px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }
        
        .chat-input button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(74, 110, 224, 0.3);
        }
        
        .quick-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            padding: 20px;
            background: var(--white);
            border-top: 1px solid var(--light-gray);
        }
        
        .quick-action {
            background: var(--light);
            border: 1px solid var(--light-gray);
            border-radius: 10px;
            padding: 10px 18px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .quick-action:hover {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(74, 110, 224, 0.2);
        }
        
        .info-panel {
            flex: 1;
            background: var(--white);
            border-radius: 15px;
            padding: 10px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .panel-section {
            background: var(--light);
            border-radius: 12px;
            padding: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
        }
        
        .panel-section h2 {
            color: var(--primary);
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 1px solid var(--light-gray);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.0rem;
        }
        
        .api-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .api-option {
            flex: 1;
            padding: 2px;
            border: 2px solid var(--light-gray);
            border-radius: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        
        .api-option.active {
            border-color: var(--primary);
            background: rgba(74, 110, 224, 0.05);
        }
        
        .api-option.openai.active {
            border-color: var(--openai);
            background: rgba(16, 163, 127, 0.05);
        }
        
        .api-option.deepseek.active {
            border-color: var(--deepseek);
            background: rgba(94, 23, 235, 0.05);
        }
        
        .api-icon {
            font-size: 1.5rem;
        }
        
        .api-option.openai .api-icon {
            color: var(--openai);
        }
        
        .api-option.deepseek .api-icon {
            color: var(--deepseek);
        }
        
        .product-list {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .product-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border-radius: 10px;
            transition: all 0.2s;
            cursor: pointer;
            background: var(--white);
            border: 1px solid var(--light-gray);
        }
        
        .product-item:hover {
            background: var(--white);
            border-color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .product-item img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 10px;
            margin-right: 15px;
            border: 2px solid var(--light-gray);
        }
        
        .product-info h3 {
            font-size: 1rem;
            margin-bottom: 5px;
            color: var(--dark);
        }
        
        .product-info p {
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        .typing-indicator {
            display: inline-flex;
            align-items: center;
            padding: 15px 20px;
            background: var(--white);
            border-radius: 18px;
            border-bottom-left-radius: 5px;
            margin-bottom: 20px;
            align-self: flex-start;
            border: 1px solid var(--light-gray);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .typing-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--gray);
            margin: 0 3px;
            animation: typing 1.4s infinite ease-in-out;
        }
        
        .typing-dot:nth-child(1) { animation-delay: 0s; }
        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }
        
        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-5px); }
        }
        
        footer {
            text-align: center;
            padding: 20px;
            color: var(--gray);
            font-size: 0.9rem;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            .message {
                max-width: 90%;
            }
            
            .chat-container {
                height: 500px;
            }
        }
    @media (max-width: 480px){
	header h1 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            font-weight: 700;
            position: relative;
        }
	header p {
            font-size: 0.9rem;
            opacity: 0.9;
            max-width: 80%;
            margin: 0 auto;
            position: relative;
        }
	.quick-action{border-radius: 5px;
            padding: 2px 5px;}
	footer {
            text-align: center;
            padding: 10px;
            font-size: 0.8rem;
            border-radius: 10px;
        }
	.chat-input button{border-radius: 10px;
            padding: 5px 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;}
	.message {
        max-width: 100%;}
	.quick-actions{padding: 5px;}
	}