.notifications {
    padding-top: 36px
}

.notifications__header {
    margin-bottom: 36px;
    display:flex; 
    align-items: center;
    padding-left: 10px; 
    margin: 16px 0;
}

.notifications__title {
    flex: 1;
    margin: 0;
}

.notifications__new {
    padding: 0 24px;
    max-width: 640px;
    margin: 0 auto;
}

.notifications__previously-seen-items {
    padding: 0 24px;
    max-width: 640px;
    margin: 0 auto;
}

hr {
    margin: 0;
}

.notifications__previously-seen {
    background-color: #f1f1f1;
    border-top: 1px solid #ccc;
}

.notifications__mark-as-read {
    text-align: right;
    margin-bottom: 16px;
    cursor: pointer;
}

.notifications__settings-link {
    color: #0079f2;
    color: #000;
    display: none;
}

.notifications__status {
    font-weight: 700;
    font-size: 16px;
    padding: 24px 0 0;
    cursor: pointer;
    text-align: center;
}

.notifications__new-list,
.notifications__previous-list,
.notifications__previous-list-open {
    list-style: none;
    padding: 0;
    margin-top: -2px;
}

.notifications__new {
    font-weight: 600;
}

.notifications__previous-list,
.notification__group-items {
    /* display: none; */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.notifications__previous-list.EXPAND,
.notification__group.EXPAND .notification__group-items {
    /* display: block; */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    height: auto;
    max-height: 310px;
}

.notification {
    line-height: normal;
    /* line-height: 1; */
    padding: .6em .4em;
    margin: 8px 0;
    /* border-bottom: 1px solid #eee; */
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
}

.notification.EXPANDED  {
    background-color: rgba(0,0,0,.04);
}

.notification:last-child {
    border-bottom: none;
}

.notification__group {
    margin-top:-12px;
}

.notification__group.EXPAND {
    background-color: #f2f2f2;
    padding: 0 16px;
    border-radius: 6px;
    margin: -12px -16px 20px;
}

.notification__group-items {
    margin:-16px 0 16px;
}

.notification__avatar,
.notification__avatar-group {
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    /* background-color: #eee; */
    border: 1px solid #aaa;
}

.notification__avatar img {
    width: 1.1em;
    height: 1.1em;
    padding: 12px;
}

.notification__avatar-summary {
    border: 1px solid #aaa;
    background: #d7d7d7;
    text-align: center;
    line-height: 2.5em;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
}

.notification__avatar-group {
    margin-left: -32px;
}

.notification__avatar-group-number {
    margin-left: -32px;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    border: 1px solid #aaa;
    background: #d7d7d7;
    text-align: center;
}

.notification__content {
    flex: 1;
}

.notification__description {
    display: block;
}

.notification__date,
.notification__group-name,
.notification__separator {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.notifications__view-all {
    font-weight: 600;
    text-align: center;
    padding: 40px 0 24px 0;
    display: block;
} 

.notification__actions {
    position: relative;
}

.notification__actions-menu {
    display: none;
    margin: 0 0 24px;
    border-radius: 4px;
    position: absolute;
    right:20px;
    top:0px;
    width:120px;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 100;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
   
}

.notification__actions-menu-inline {
    display: none;
    position: absolute;
    right:14px;
    top:-8px;
    box-sizing: border-box;
    font-size: 14px;
    z-index: 100;
    width: 240px;
}


.notification.EXPANDED .notification__actions-menu {
    display: block;
}

.notification.EXPANDED .notification__actions-menu-inline {
    display: flex;
    gap:8px;
}

.notification__actions-menu-item {
    padding: 12px 8px;
    border-bottom: 1px solid #ddd;
    display: flex;
    /* gap: 8px; */
    font-weight: normal;
    line-height: 1.1;
    font-size: 14px;
}

.notification__actions-menu-item:last-child {
    border-bottom: none;
}

.notification__actions-menu-inline .notification__actions-menu-item{
    border: 1px solid #ddd; 
    background-color: #fff;   
    border-radius: 8px;
    padding: 8px;
}


.notification__actions-icon {
    opacity: 0.8;
}

.notification__actions-menu-item-icon {
    opacity: 0.8;
    display: none;
}

.notification__content-long {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    /* min-width: 0; */
}

.notification__description-long {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}