#ai-chat-button {
    position: fixed;
    bottom: 105px;
    right: 11px;
    width: 86px;
    height: 52px;
    border-radius: 8px; 
    background: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,.25);
    overflow: hidden; 
}

.chat-btn-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

#ai-chat-window {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 360px;
    height: 520px;
    background: #fff;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    overflow: hidden;
    z-index: 9999;
}

.chat-header {
    background: #fd790d;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.chat-footer button {
    margin-left: 10px;
}

.user-message {
    background: #DCF8C6;
    align-self: flex-end;
    padding: 8px 12px;
    border-radius: 10px;
    margin: 5px 0;
    max-width: 80%;
}

.bot-message {
    background: #F1F0F0;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 10px;
    margin: 5px 0;
    max-width: 80%;
}

.chat-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}