/* @define NotificationsPanel */

.NotificationsPanel-closer {
    opacity: 0;
    position: fixed;
    inset: 0;
    z-index: 0;
}

.NotificationsPanel-wrapper {
    display: flex;
    flex-direction: column;
    background-color: var(--surface-default);
    min-width: 350px;
    width: 450px;
    height: 620px;
    max-height: 100vh;
    z-index: 9;
    position: fixed;
    left: 180px;
    top: 0;
    border-right: 3px solid var(--deep-black);
    border-bottom: 3px solid var(--deep-black);
    border-left: 1px solid var(--deep-black);
}

.NotificationsPanel-wrapper.is-minified {
    left: 46px;
}

.NotificationsPanel-header {
    border-bottom: 1px solid #e8e8e8;
    height: 25px;
    line-height: 25px;
    padding: 0 10px;
    flex-grow: 0;
    background-color: var(--deep-black);
    color: white;
    font-weight: 500;
}

.NotificationsPanel-scrollPanel {
    background-color: #f3f3f3;
    overflow: hidden auto;
    flex-grow: 1;
}

.NotificationsPanel-item {
    border-bottom: 1px solid #e8e8e8;
    min-height: 70px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    background-color: #eee;
    color: #777;
}

.NotificationsPanel-item.is-unread {
    background-color: var(--surface-default);
    color: #333;
}

.NotificationsPanel-content {
    font-size: 14px;
}

.NotificationsPanel-time {
    font-size: 11px;
    text-align: right;
    color: #777;
    width: 100%;
}

/*
    third party classes coming from backend
 */
/* stylelint-disable plugin/selector-bem-pattern */
.NotificationsPanel-item .tab {
    padding-left: 5px;
}

.NotificationsPanel-item .large-tab {
    padding-left: 10px;
}

.NotificationsPanel-item .approved {
    font-weight: var(--font-weight-bold);
    color: #28a745;
}

.NotificationsPanel-item .rejected {
    font-weight: var(--font-weight-bold);
    color: var(--danger);
}

.NotificationsPanel-item > div {
    width: 100%;
}
/* stylelint-enable plugin/selector-bem-pattern */
