/* PflegeBuddy Chat Styles */

#pflegebuddy-chat-container {
    max-width: 420px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-family: system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#pflegebuddy-chat-window {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f9fbfa;
}

.pb-msg {
    display: flex;
    margin: 8px 0;
    align-items: flex-end;
}

.pb-msg.user {
    justify-content: flex-end;
}

.pb-msg.bot {
    justify-content: flex-start;
}

.pb-msg .avatar {
    width: 36px;
    height: 36px;
    margin-right: 6px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.pb-msg .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-msg .bubble {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 16px;
    line-height: 1.4;
    font-size: 14px;
}

.pb-msg.user .bubble {
    background: #1f8674;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.pb-msg.bot .bubble {
    background: #e6ece9;
    color: #141414;
    border-bottom-left-radius: 4px;
}

#pflegebuddy-user-input-area {
    display: flex;
    border-top: 1px solid #e0e0e0;
    padding: 8px;
    background: #fff;
}

#pflegebuddy-user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
}

#pflegebuddy-send-btn {
    margin-left: 8px;
    background: #1f8674;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 0 16px;
    cursor: pointer;
    transition: background 0.2s;
}

#pflegebuddy-send-btn:hover {
    background: #166354;
}
