.chat-keywords {
    margin-top: 10px;
}

.keyword-card {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#keyword-panel {
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding-right: 4px;
}
#keyword-panel::-webkit-scrollbar {
    width: 6px;
}

#keyword-panel::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 10px;
}

.keyword-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.keyword-list button {
    background-color: #e9ecef;
    border: none;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.keyword-list button:hover {
    background-color: #ced4da;
}
.chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #9A8578;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    cursor: pointer;
}

.chatbox {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    font-family: sans-serif;
    z-index: 999;
    color: #fff;
}

.chat-header {
    background: #7C6C61;
    color: white;
    padding: 12px;
    font-weight: bold;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.chat-body {
    padding: 12px;
    height: 240px;
    overflow-y: auto;
    font-size: 14px;
    background-color: white;
    color: #333;
}

#chat-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-top: 1px solid #ccc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.chatbox a {
    color: #007BFF;
    text-decoration: underline;
}

.chatbox a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.chat-body div {
    margin-bottom: 10px;
}

