/* Floating Chat Button */
.chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #166534; /* brandGreen */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.chat-btn:hover {
    transform: scale(1.1);
}

/* Chat Window */
.chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Header */
.chat-header {
    background: #166534;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Messages Area */
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    font-size: 14px;
}

.bot-msg {
    background: #e5e7eb;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-msg {
    background: #166534;
    color: white;
    margin-left: auto; /* Push to right */
    border-bottom-right-radius: 2px;
}

/* Input Area */
.chat-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    background: white;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input-area button {
    background: #166534;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 50%;
    cursor: pointer;
}