/* === Chat === */
/* Chat container styling */
.private-chat .messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}

/* Chat container styling */
.private-chat {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgba(217, 168, 50, 0.9);
    background-color: #181818;
    border: 1px solid rgba(217, 168, 50, 0.2);
    box-shadow: 0 0 12px rgba(217, 168, 50, 0.15);
    border-radius: 8px;
    padding: 1rem;
    max-width: 600px;
    margin: auto;
}

/* Message scroll container */
.messages {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #121212;
    border-radius: 8px;
    border: 1px solid rgba(217, 168, 50, 0.2);
    box-shadow: inset 0 0 8px rgba(217, 168, 50, 0.1);
    margin-bottom: 1rem;
}

/* Shared message style */
.message {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 80%;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
    white-space: pre-wrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    /* Sent message (right-aligned) */
    .message.sent {
        background: rgba(217, 168, 50, 0.15);
        color: rgba(217, 168, 50, 1);
        align-self: flex-end;
        margin-left: auto;
        border: 1px solid rgba(217, 168, 50, 0.3);
    }

    /* Received message (left-aligned) */
    .message.received {
        background: rgba(255, 255, 255, 0.05);
        color: rgba(217, 168, 50, 0.85);
        align-self: flex-start;
        margin-right: auto;
        border: 1px solid rgba(217, 168, 50, 0.15);
    }

.timestamp {
    color: rgba(217, 168, 50, 0.3);
    font-size: 0.65rem;
    margin-top: 0.3rem;
}
