/* ==========================================
   WATAMU TAXI - FLOATING CHATBOT STYLES
   ========================================== */

:root {
    --chat-primary: #FFC107;
    --chat-dark: #111111;
    --chat-light: #ffffff;
    --chat-gray: #f4f4f4;
    --chat-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    --chat-radius: 16px;
}

#chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

/* --- Floating Toggle Button --- */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--chat-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--chat-shadow);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--chat-dark);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
}

/* --- Chat Window --- */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 60px);
    height: 500px;
    max-height: calc(100vh - 120px);
    background: var(--chat-light);
    border-radius: var(--chat-radius);
    box-shadow: var(--chat-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Chat Header --- */
.chatbot-header {
    background: var(--chat-dark);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background: var(--chat-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chat-dark);
}

.bot-info h3 {
    font-size: 16px;
    margin: 0;
    color: white;
}

.bot-info span {
    font-size: 12px;
    color: #888;
}

/* --- Chat Messages Body --- */
.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fa;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.message.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.user {
    background: var(--chat-primary);
    color: var(--chat-dark);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* --- Quick Replies --- */
.quick-replies {
    padding: 10px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8f9fa;
}

.reply-btn {
    background: white;
    border: 1px solid var(--chat-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--chat-dark);
}

.reply-btn:hover {
    background: var(--chat-primary);
}

/* --- Chat Input Area --- */
.chatbot-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.send-btn {
    background: var(--chat-primary);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}