/* CHAT TOGGLE BUTTON */
#ai-chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* CHAT BOX */
#ai-chat-box {
    width: 360px;
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

/* HIDDEN STATE */
.hidden {
    display: none;
}

#ai-header {
    background: #2563eb;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ai-close {
    cursor: pointer;
    font-size: 18px;
}

#ai-messages {
    height: 280px;
    padding: 10px;
    overflow-y: auto;
    background: #f9fafb;
}

.message {
    margin-bottom: 10px;
    line-height: 1.4;
}

.user { text-align: right; color: #111827; }
.ai { text-align: left; color: #2563eb; }

#ai-input-area {
    display: flex;
    border-top: 1px solid #e5e7eb;
}

#ai-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    margin: 0;
}

#ai-send {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    margin: 0;
}
