#main {
    display: flex;
    min-height: 100vh;
    padding-top: 24px;
}

.messagealerts {
    background: rgba(255,0,0,0.15);
    color: #e2e2e2;
    word-wrap: break-word;
}

.message-row {
    background-color: #242424;
    border: 1px solid #393b3d;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 8px;
    transition: background-color 0.12s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit !important;
}

.message-row:hover {
    background-color: #2c2c2c;
}

.message-row-unread {
    border-color: #0066ff;
}

.message-row-unread .message-subject {
    font-weight: 700;
    color: #ffffff;
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: cover;
}

.message-meta {
    flex: 1;
    overflow: hidden;
}

.message-sender {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.875rem;
}

.message-subject {
    color: #e3e3e3;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-preview {
    color: #909090;
    font-size: 0.825rem;
}

.message-time {
    font-size: 0.75rem;
    color: #909090;
    flex-shrink: 0;
    white-space: nowrap;
}