/**
 * 自动提取的CSS样式
 * 生成时间: 2025/11/3 11:01:00
 * 来源: index.html
 */

/* 营业时间样式 */
    .business-hours {
        display: flex;
        flex-direction: column;
        margin-left: 5px;
    }

    .hours-title {
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 8px;
        font-size: 1em;
    }

    .hours-details {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .weekday-hours, .weekend-hours {
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 0.95em;
        font-weight: 500;
        border-left: 4px solid #4a90e2;
        background: rgba(74, 144, 226, 0.08);
        color: #2563eb;
        transition: all 0.3s ease;
    }

    .weekend-hours {
        border-left-color: #059669;
        background: rgba(5, 150, 105, 0.08);
        color: #059669;
    }

    .weekday-hours:hover, .weekend-hours:hover {
        transform: translateX(3px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* AI思考动画样式 */
    .thinking-dots {
        margin-left: 5px;
    }

    .thinking-dots span {
        animation: thinking 1.4s infinite;
        animation-fill-mode: both;
    }

    .thinking-dots span:nth-child(1) { animation-delay: 0s; }
    .thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
    .thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes thinking {
        0%, 80%, 100% { 
            opacity: 0.5; 
            transform: scale(0.8);
        }
        40% { 
            opacity: 1; 
            transform: scale(1.2);
        }
    }

    .thinking-message {
        opacity: 0.8;
    }

    /* AI客服样式 */
    .ai-chat-widget {
        position: fixed;
        bottom: 80px;
        right: 20px;
        z-index: 1000;
    }

    .ai-chat-button {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
        font-size: 26px;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        animation: aiPulse 3s infinite;
        position: relative;
        border: 3px solid rgba(255, 255, 255, 0.2);
    }

    .ai-chat-button::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
        opacity: 0.3;
        animation: ripple 2s infinite;
        z-index: -1;
    }

    .ai-chat-button:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4);
        background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
    }

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

    @keyframes aiPulse {
        0%, 100% { 
            box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
        }
        50% { 
            box-shadow: 0 6px 25px rgba(74, 144, 226, 0.5), 0 0 25px rgba(74, 144, 226, 0.2);
        }
    }

    @keyframes ripple {
        0% {
            transform: scale(1);
            opacity: 0.3;
        }
        100% {
            transform: scale(1.3);
            opacity: 0;
        }
    }

    .ai-chat-window {
        position: absolute;
        bottom: 70px;
        right: 0;
        width: 320px;
        height: 450px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
        from {
            transform: translateY(20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes aiTipPulse {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(74, 144, 226, 0.5);
        }
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }

    .ai-chat-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ai-chat-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .ai-chat-close {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 16px;
        padding: 5px;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .ai-chat-close:hover {
        background: rgba(255,255,255,0.2);
    }

    .ai-chat-body {
        flex: 1;
        padding: 15px;
        overflow-y: auto;
        background: #f8f9fa;
    }

    .ai-chat-message {
        margin-bottom: 15px;
        padding: 12px 16px;
        border-radius: 18px;
        max-width: 85%;
        word-wrap: break-word;
        line-height: 1.4;
    }

    .ai-chat-message.bot-message {
        background: white;
        color: #333;
        margin-right: 20%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .ai-chat-message.user-message {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        margin-left: 20%;
        margin-right: 0;
    }

    .ai-quick-questions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .ai-quick-btn {
        background: white;
        border: 2px solid #e9ecef;
        color: #667eea;
        padding: 8px 12px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
        text-align: center;
    }

    .ai-quick-btn:hover {
        border-color: #667eea;
        background: #667eea;
        color: white;
        transform: translateY(-1px);
    }

    .ai-chat-footer {
        padding: 15px;
        border-top: 1px solid #e9ecef;
        background: white;
    }

    .ai-chat-footer form {
        display: flex;
        gap: 8px;
    }

    .ai-chat-footer input {
        flex: 1;
        border: 2px solid #e9ecef;
        border-radius: 25px;
        padding: 10px 15px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.3s;
    }

    .ai-chat-footer input:focus {
        border-color: #667eea;
    }

    .ai-chat-footer button {
        width: 40px;
        height: 40px;
        border: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s;
    }

    .ai-chat-footer button:hover {
        transform: scale(1.1);
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
        .ai-chat-widget {
            bottom: 20px;
            right: 15px;
        }
        
        .ai-chat-window {
            width: calc(100vw - 30px);
            max-width: 320px;
            height: 400px;
            right: -10px;
        }
    }
