
.user-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sender {
    font-size: 16px;
    font-weight: 600; 
}

.created-at {
    font-size: 14px;
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subject {
    font-size: 14px;
    text-overflow: ellipsis;
    max-width: 60%;
    overflow: hidden;
    white-space: nowrap;
}

.preview {
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.user-message-list, .user-message-placeholder {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

body {
    overflow:hidden;
}

.inbox-header {
    height: 55px;
    margin: auto;
    padding: 10px;
}

.unread-message {
    background-color: #f0f0f0;
}

#message-details-sender {
    font-size: 18px;
}

#message-details-recipient-field {
    font-size: 14px;
}

#message-details-body {
    margin-top: 24px;
}

#no-selected-message-field {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bi-envelope {
    height: 150px;
    width: 150px;
}

.attachment-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.file-icons {
    width: 80px;
    margin-bottom: 5px;
}

.attachment-text {
    text-align: center;
    font-size: 14px;
}

/* Dark mode styling */

[data-bs-theme="dark"] .unread-message {
    background-color: #333; 
    color: #ccc; 
}
