/* Minimized Chatbot Styling */
#beachmates-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Arial', sans-serif;
}

/* Minimized View */
.chat-minimized {
    background: linear-gradient(135deg, #0084ff, #00b4db);
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 132, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    transition: all 0.3s ease;
}

.chat-minimized:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 132, 255, 0.4);
}

.chat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.greeting-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* Expanded View */
.chat-expanded {
    background: white;
    border-radius: 15px;
    width: 350px;
    height: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #0084ff, #00b4db);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.welcome-msg {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Quick Question Buttons */
.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-btn {
    background: #f0f2f5;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    text-align: left;
}

.quick-btn:hover {
    background: #0084ff;
    color: white;
    border-color: #0084ff;
}

/* Chat Messages */
.chat-messages {
    min-height: 150px;
    max-height: 200px;
    overflow-y: auto;
    border-top: 1px solid #e4e6eb;
    padding-top: 15px;
    margin-top: 15px;
}

.chat-messages .msg {
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.4;
}

.chat-messages .msg.user {
    background: #0084ff;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.chat-messages .msg.bot {
    background: #f0f2f5;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

/* Chat Footer */
.chat-footer {
    border-top: 1px solid #e4e6eb;
    padding: 15px 20px;
}

.chat-form {
    display: flex;
    gap: 10px;
}

.chat-form input {
    flex: 1;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.chat-form input:focus {
    border-color: #0084ff;
}

.chat-form button {
    background: #0084ff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.chat-form button:hover {
    background: #0066cc;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-expanded {
        width: 300px;
        height: 450px;
    }
    
    .chat-minimized {
        max-width: 250px;
    }
    
    .greeting-text {
        font-size: 13px;
    }
}
