/* assets/css/ai.css */
.ai-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* パネルいっぱいに広げる */
    background: #fdfaf5; /* 落ち着いた和風の色 */
    font-family: "Noto Sans JP", sans-serif;
}

.ai-chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-msg {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.6;
    font-size: 14px;
    word-wrap: break-word;
}

.ai-msg.bot {
    background: #fff;
    align-self: flex-start;
    color: #333;
    border: 1px solid #e0d0b0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.ai-msg.user {
    background: #c5a059;
    color: #fff;
    align-self: flex-end;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
}

.ai-input-area {
    display: flex;
    padding: 15px;
    background: #fff;
    border-top: 1px solid #ddd;
    gap: 10px;
}

#aiUserInput {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

#aiSendBtn {
    background: #3a3a3a;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

#aiSendBtn:hover {
    background: #c5a059;
}
