.sidebar {
    height: 100vh;
    overflow-y: auto;
}

.main-chat {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.messages-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

.message-input {
    background-color: #f8f9fa;
}

.chat-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-item:hover {
    background-color: rgba(255,255,255,0.1);
}

#searchResults {
    position: absolute;
    background: white;
    width: calc(100% - 2rem);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-result-item {
    cursor: pointer;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.message {
    max-width: 70%;
}

.message .bg-primary {
    color: white !important;
}

.message small {
    font-size: 0.7rem;
}
