.message-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 5px;
    background-color: #18192a; /* Light background for messages */
}

.message-header {
    display: flex;
    flex-direction: column; /* Stack username above timestamp on mobile */
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.25rem;
}

@media (min-width: 768px) { /* Adjust for desktop */
    .message-header {
        flex-direction: row;
        justify-content: space-between;
    }
}

.timestamp {
    font-size: 0.875rem;
    color: #aca5ad; /* Gray color for timestamp */
}

.username {
    font-weight: bold;
}

.message-body {
    white-space: pre-wrap; /* Preserve whitespace and allow wrapping */
	color: #cccccc;
}

.pagination {
    justify-content: center;
}

footer {
    background-color: #333;
    color: white;
    padding: 1rem 0;
}