::ng-deep .notifications-backdrop + .cdk-overlay-connected-position-bounding-box {
    right: 0 !important;

    .notifications-menu {
        min-width: 400px !important;
        max-width: 413px !important;
        padding: 0 8px 16px;
        margin-right: 8px;
        max-height: calc(100vh - 200px);

        .all-caps-label {
            justify-content: space-between;
            margin: 16px 8px 6px;

            .view-all {
                cursor: pointer;

                &:hover {
                    color: var(--iqser-primary);
                }
            }
        }

        .mat-mdc-menu-item.notification {
            padding: 8px 26px 10px 8px;
            margin: 2px 0 0 0;
            height: fit-content;
            position: relative;
            line-height: 18px;
            align-items: flex-start;
            cursor: default;

            .notification-content {
                margin-top: 4px;
                margin-left: 8px;
                max-width: 320px;

                > div {
                    white-space: normal;

                    a {
                        color: var(--iqser-text);
                        font-weight: bold;
                    }
                }
            }

            .dot {
                background-color: var(--iqser-grey-4);
                top: 8px;
                right: 8px;
                cursor: pointer;
            }

            &:hover {
                background-color: var(--iqser-tab-hover);

                .dot {
                    background-color: var(--iqser-grey-5);
                }

                a {
                    text-decoration: underline;
                }
            }

            &.unread {
                background-color: rgba(var(--iqser-primary-rgb), 0.1);

                .dot {
                    background-color: var(--iqser-primary);
                }
            }
        }
    }
}
