/* ============================================
   CHATBOT STYLES
   ============================================ */
.chat-messages {
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: white;
}

.msg {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.msg.bot {
    background: var(--sand);
    color: var(--ink);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg.user {
    background: var(--terracotta);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.6rem 0.9rem;
    background: var(--sand);
    border-radius: 12px;
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--ink-light);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-quick {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    background: var(--cream);
}

.quick-btn {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Jost', sans-serif;
}

.quick-btn:hover {
    background: var(--terracotta);
    color: white;
    border-color: var(--terracotta);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    width: 350px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.open {
    display: flex;
}

.chatbot-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--terracotta);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.chatbot-fab:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .chatbot-window {
        width: 320px;
        right: 10px;
        bottom: 80px;
    }
}