.notifications {
    width: 100%;
}

.notification {
    width: 100%;
    display: flex;
    padding: .5rem 1.5rem;
    border-bottom: 1px solid var(--stroke-color);
    flex-wrap: wrap;
    @media screen and (max-width: 1040px) {
        padding: 1rem;
    }
}

.left {
    display: flex;
    align-items: flex-start;
    margin-right: 1rem;
    gap: 1rem;
    &>div:first-child {
        position: relative;
        top: 4px;
    }
    @media screen and (max-width: 1040px) {
        gap: .25rem;
        align-items: flex-start;
    }
}

.info {
    width: 100%;
    padding: .5rem 0;
    padding-left: 2.75rem;
}

.right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.type {
    width: auto;
    display: flex;
    padding-right: 1rem;
    img {
        width: 28px;
        height: auto;
    }
}

.text {
    font-size: .9rem;
    color: var(--grey-color);
    margin: 0;
    margin-top: .5rem;
}

.arrow {
    width: 40px;
    height: 40px;
    margin-right: -1.5rem;
    margin-left: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    @media screen and (max-width: 1040px) {
        position: relative;
        left: -1rem;
    }
    transition: transform .25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    &.isOpen {
        transform: rotate(180deg);
    }
}

.openAvatars {
    .user {
        margin: .5rem 0;
        &>div:first-child {
            width: 40px;
            height: 40px;
        }
    }
}

.headerText {
    margin: 0;
    width: 100%;
    flex: 0 0 auto;
}

.avatars {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: -15px;
    position: relative;
    border: 2px solid var(--white-color);
    span {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        font-weight: bold;
        background: var(--light-color);
    }
    &:first-child {
        z-index: 4;
    }
    &:nth-child(2) {
        z-index: 3;
    }
    &:nth-child(3) {
        z-index: 2;
    }
    &:nth-child(4) {
        z-index: 1;
    }
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.hover {
    &:hover {
        background: var(--light-color);
    }
}

.new {
    background: var(--light-color);
}