/* MOTHI Brand Palette:
   Primary Green: #005A36
   Accent Gold: #D4AF37 / #C59B27
   Dark Forest Green: #003822
*/

#mothi-chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #005A36;
    color: #FFFFFF;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
    z-index: 99999;
    transition: transform 0.2s ease;
}

#mothi-chat-bubble:hover {
    transform: scale(1.05);
    background-color: #003822;
}

#mothi-chat-container {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 360px;
    height: 480px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 99999;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mothi-chat-hidden {
    display: none !important;
}

.mothi-chat-header {
    background-color: #005A36;
    color: #FFFFFF;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #D4AF37;
}

.mothi-chat-title {
    display: flex;
    flex-direction: column;
}

.mothi-badge {
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
}

.mothi-chat-header small {
    font-size: 11px;
    color: #D4AF37;
}

.mothi-chat-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 22px;
    cursor: pointer;
}

.mothi-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #F8F9FA;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mothi-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.4;
}

.mothi-msg.bot {
    background-color: #EAEAEA;
    color: #111111;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.mothi-msg.user {
    background-color: #005A36;
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.mothi-chat-footer {
    display: flex;
    padding: 10px;
    background-color: #FFFFFF;
    border-top: 1px solid #E0E0E0;
}

#mothi-chat-input {
    flex: 1;
    border: 1px solid #CCCCCC;
    border-radius: 20px;
    padding: 8px 14px;
    outline: none;
    font-size: 13px;
}

#mothi-chat-input:focus {
    border-color: #005A36;
}

#mothi-chat-send {
    background-color: #005A36;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mothi-chat-send:hover {
    background-color: #D4AF37;
}