/* Chat Container */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

/* Chat Window */
#chat-window {
    width: 300px;
    height: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* By default open */
#chat-window.chat-closed {
    display: none;
}

/* Header */
.chat-header {
    background: var(--amucta-teal-blue);
    color: #fff;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Body */
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f9f9f9;
}
.chat-message {
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 80%;
}
.chat-message.bot {
    background: #e2e8f0;
    align-self: flex-start;
}
.chat-message.user {
    background: #bee3f8;
    align-self: flex-end;
}

/* Footer */
.chat-footer {
    display: flex;
    border-top: 1px solid #ddd;
}
.chat-footer input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
}
.chat-footer button {
    background: var(--amucta-blue);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.chat-footer button:hover {
    background: #2c5282;
}

/* Floating Chat Icon */
#chat-icon {
    width: 50px;
    height: 50px;
    background: var(--amucta-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-top: 10px;
}
#chat-icon:hover {
    background: #2c5282;
}
