/* Chat component styles */
.chat {
    height: 200px;
    display: flex;
    flex-direction: column;
    font-family: 'SpecialElite', monospace;
}

.chat-messages {
    flex: 1;
    color: rgb(8, 8, 8);
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    background: transparent;
    border-radius: 0px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.chat-messages::before {
    content: '';
    flex: 1;
}

.chat-message {
    margin-bottom: 5px;
    word-wrap: break-word;
}

.chat-input {
    display: flex;
    gap: 2px;
}

.chat-input input {
    flex: 1;
    color: rgb(0, 0, 0);
    background-color: rgb(190, 190, 190);
    padding: 8px;
    border: none;
    border-radius: 0px;
    font-size: 11px;
}

.chat-input button {
    padding: 8px 15px;
    margin: 0;
}

/* Scrollbar styling for chat messages */
/* Firefox (standard CSS) */
.chat-messages {
    scrollbar-width: thin;
    scrollbar-color: rgba(95, 94, 3, 0.9) transparent;
}
/* Chrome / Chromium (webkit) */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(50, 50, 50, 0.0);
    border-radius: 0px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(95, 94, 3, 0.9);
    border-radius: 0px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(95, 94, 3, 0.9);
}