﻿/* AI Chat Themes */

/* 預設主題 */
.ai-chat-container.theme-default {
    /* 使用預設樣式 */
}

/* 深色主題 */
.ai-chat-container.theme-dark {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

.ai-chat-container.theme-dark .ai-chat-header {
    background: #1a202c;
}

.ai-chat-container.theme-dark .ai-chat-body {
    background: #2d3748;
}

.ai-chat-container.theme-dark .ai-chat-input {
    background: #2d3748;
    border-top-color: #4a5568;
}

.ai-chat-container.theme-dark .message-content {
    background: #4a5568;
    color: #e2e8f0;
}

.ai-chat-container.theme-dark .quick-recommend-btn {
    background: #4a5568;
    border-color: #718096;
    color: #e2e8f0;
}

.ai-chat-container.theme-dark .quick-recommend-btn:hover {
    background: #718096;
    border-color: #63b3ed;
}

/* 淺色主題 */
.ai-chat-container.theme-light {
    background: #ffffff;
    border-color: #e2e8f0;
}

.ai-chat-container.theme-light .ai-chat-header {
    background: #4299e1;
}

.ai-chat-container.theme-light .ai-chat-body {
    background: #ffffff;
}

.ai-chat-container.theme-light .ai-chat-input {
    background: #ffffff;
    border-top-color: #e2e8f0;
}

/* 彩色主題 */
.ai-chat-container.theme-colorful .ai-chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-chat-container.theme-colorful .ai-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-chat-container.theme-colorful .ai-toggle-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .ai-chat-container {
        width: 90%;
        height: 70vh;
        bottom: 10px;
        right: 5%;
        left: 5%;
    }
    
    .ai-toggle-btn {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ai-chat-container {
        width: 95%;
        height: 80vh;
        bottom: 5px;
        right: 2.5%;
        left: 2.5%;
    }
    
    .ai-chat-body {
        height: calc(100% - 120px);
    }
    
    .ai-chat-input {
        padding: 10px;
    }
    
    .quick-recommend-buttons {
        flex-direction: column;
    }
    
    .quick-recommend-btn {
        width: 100%;
        text-align: center;
    }
}

/* 位置變體 */
.ai-chat-container.position-bottom-left {
    right: auto;
    left: 20px;
}

.ai-chat-container.position-top-right {
    bottom: auto;
    top: 20px;
}

.ai-chat-container.position-top-left {
    bottom: auto;
    top: 20px;
    right: auto;
    left: 20px;
}

/* 大小變體 */
.ai-chat-container.size-small {
    width: 300px;
    height: 400px;
}

.ai-chat-container.size-small .ai-chat-body {
    height: 250px;
}

.ai-chat-container.size-large {
    width: 500px;
    height: 600px;
}

.ai-chat-container.size-large .ai-chat-body {
    height: 450px;
}

/* 自定義大小 */
.ai-chat-container.size-custom {
    /* 大小由 JavaScript 動態設定 */
}

