/* 
 * Mijn berichten pagina
 *
 * ============================= */

.section-my-messages .latest-messages-table {
    width: 100%;
}

.section-my-messages .message-item.message-status {
    font-weight: 400;
}

.section-my-messages .message-item.message-status.message-unread,
.section-my-messages .master-row.message-unread,
.section-my-messages .detail-message.message-unread {
    font-weight: 600;
}

.section-my-messages .master-row:hover,
.section-my-messages .detail-message:hover,
.section-my-messages .message-item.message-status:hover {
    background-color: rgba(var(--color-primary-rgb), 0.2) !important;
    cursor: pointer;

}

/* .section-my-messages .message-item.send-message {
    display: none;
} */

.section-my-messages .filters-header,
.section-my-messages .header-grouped-messages-filter {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;

}

.section-my-messages .select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    cursor: pointer;
    height: 30px;
    background-color: var(--color-grey-10);
    padding: 2px 2rem;
    border-radius: 28px;

    margin-bottom: 2rem;
    gap: 1rem;
}

.section-my-messages .filter-trigger-select {
    appearance: none;
    border: none;
    background: none;
    padding: 0 25px 0 0;
    font: inherit;
    cursor: pointer;
    margin-bottom: 0;
    padding: 0;
    height: 2.8rem;
    text-transform: uppercase;
    font-size: 1.4rem;

}

.section-my-messages #latest-messages-table_filter {
    position: relative;

}

.section-my-messages #latest-messages-table_filter input,
.section-my-messages #grouped-messages-table_filter input {
    border: 1px solid var(--color-grey-20);
    border-radius: 28px;
    width: 50rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.section-my-messages #latest-messages-table_filter::before {
    content: "\f002";
    font-family: "Font Awesome 6 Pro";
    position: absolute;
    right: 2.5rem;
    top: 33%;
    transform: translateY(-50%);
    color: var(--color-grey-20);
    pointer-events: none;

}

.section-my-messages .dataTables_wrapper .dataTables_length select {
    border: none;
    border-bottom: 1px solid var(--color-grey-20);
    cursor: pointer;
}

#grouped-messages-table>thead tr th i {
    margin-right: 0;
}

.section-my-messages table,
.section-my-messages th,
.section-my-messages td {
    /* border: none; */
    border-collapse: collapse;
}

/* .section-my-messages .master-row tr td {
    border-bottom:none;
} */
table tr.detail-message {
    border-bottom: none;
}

.section-my-messages .master-row i {
    color: var(--color-grey-60);
    transition: color 250ms ease-in-out, transform 250ms ease-in-out;
}

.section-my-messages .master-row.rotated i {
    transform: rotate(-90deg);
    color: var(--color-black);
}

.section-my-messages .detail-table {
    width: 100%;
}

.section-my-messages .detail-row td:last-of-type {
    border-bottom: none;
}

.section-my-messages .detail-table td {
    padding: 8px 10px;
}

.section-my-messages table.detail-table {
    margin-bottom: 0;
}

.section-my-messages .detail-message .arrow-icon {
    padding-right: 0;
    width: 1rem;
    color: rgba(var(--color-primary-rgb), 0.6);
}

.section-my-messages .detail-message .message-date {
    width: 18rem;
}

.section-my-messages .detail-message .read-status {
    text-align: right;
}

.section-my-messages .detail-row td:last-of-type {
    border-bottom: rgb(225, 225, 225) 1px solid;
}