@font-face {
    font-family: "Source Sans Pro Notifications";
    src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro Notifications";
    src: url('../fonts/SourceSansPro-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("../../assets/fonts/SourceSans3-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.portal-notification-toggle {
    background: transparent;
    border: 0;
    position: relative;
    height: 100%;
    width: 100%;
}

.portal-notification-bell {
    display: inline-block;
    line-height: 0;
    position: relative;
}

.portal-notification-bell-indicator {
    background: #12b76a;
    border-radius: 50%;
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 8px;
}

.portal-notification-bell-indicator[hidden] {
    display: none !important;
}

.portal-notification-toggle[aria-expanded="true"] {
    background: #666;
}

.portal-notification-panel {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    box-shadow: 0 12px 16px -4px rgba(16, 24, 40, .08);
    box-sizing: border-box;
    color: #1d2939;
    font-family: "Source Sans Pro Notifications", "Source Sans Pro", sans-serif;
    font-style: normal;
    font-weight: 400;
    overflow: hidden;
    width: 360px;
    position: absolute;
    right: 0;
    text-align: left;
    top: calc(100% + 10px);
    z-index: 1000000;
}

.portal-notification-panel[hidden] {
    display: none !important;
}

.portal-notification-panel button {
    font-family: inherit;
}

.portal-notification-heading {
    align-items: center;
    border-bottom: 1px solid #f2f4f7;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    justify-content: space-between;
    padding: 12px 14px;
    text-align: left;
}

.portal-notifications-mark-read {
    background: transparent;
    border: 0;
    color: #004770;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    padding: 0;
}

.portal-notifications-mark-read:disabled,
.portal-notifications-mark-read[disabled],
.portal-notifications-mark-read.is-disabled {
    -webkit-appearance: none;
    appearance: none;
    color: #98a2b3 !important;
    -webkit-text-fill-color: #98a2b3 !important;
    cursor: default !important;
    opacity: 1;
    pointer-events: none;
}

.portal-notification-empty {
    color: var(--Gray-500, #667085);
    text-align: center;
    font-family: "Source Sans Pro";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding: 28px 16px;
}

.portal-notification-item {
    align-items: flex-start;
    border-bottom: 1px solid #f2f4f7;
    box-sizing: border-box;
    color: #1d2939;
    display: flex;
    font-size: 14px;
    gap: 12px;
    line-height: 20px;
    min-height: 67px;
    padding: 12px 16px;
}

.portal-notification-item[data-unread="true"] { background: #f9fafb; cursor: pointer; font-weight: 600; }
.portal-notification-item-body { flex: 1 1 auto; min-width: 0; }
.portal-notification-message { display: block; }
.portal-notification-progress, .portal-notification-progress-error { color: #667085; display: block; font-size: 11px; font-weight: 400; margin-top: 4px; }
.portal-notification-progress-error { color: #b42318; }
.portal-notification-text { -webkit-box-orient: vertical; -webkit-line-clamp: 2; display: -webkit-box; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; word-break: break-word; }
.portal-notification-item time { color: #667085; display: block !important; float: none !important; font-size: 12px; font-weight: 400; line-height: 18px; margin-top: 4px; text-align: left !important; width: 100%; }
.portal-notification-unread-dot { background: url('../images/notification-unread.svg') center no-repeat; flex: 0 0 8px; height: 14px; width: 8px; }
.portal-notification-unread-placeholder { flex: 0 0 8px; height: 8px; width: 8px; }
.portal-notifications-pagination { align-items: center; border-top: 1px solid #f2f4f7; box-sizing: border-box; display: flex; gap: 12px; height: 49px; justify-content: center; padding: 10px 14px; }
.portal-notifications-pagination button { align-items: center; background: transparent; border: 0; border-radius: 6px; box-sizing: border-box; color: #344054; cursor: pointer; display: flex; height: 28px; justify-content: center; padding: 6px; width: 28px; }
.portal-notifications-pagination button:focus-visible { outline: 2px solid #004770; outline-offset: 2px; }
.portal-notifications-pagination button:disabled { color: #d0d5dd; cursor: default; }
.portal-notifications-pagination > span { color: #667085; font-size: 12px; line-height: 18px; }
.portal-notifications-pagination button span { background: currentColor; display: block; height: 16px; width: 16px; }
.portal-notifications-pagination button:first-child span { -webkit-mask: url('../images/notification-chevron-left.svg') center no-repeat; mask: url('../images/notification-chevron-left.svg') center no-repeat; }
.portal-notifications-pagination button:last-child span { -webkit-mask: url('../images/notification-chevron-right.svg') center no-repeat; mask: url('../images/notification-chevron-right.svg') center no-repeat; }
.portal-notifications-list { overflow: hidden; }

.notification-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.notification-icon-mobile {
    display: block;
    line-height: 1;
    cursor: pointer;
}

.notification-icon-mobile img {
    display: block;
    width: 20px;
    height: 20px;
}

.notification-icon-mobile.portal-notification-toggle {
    box-sizing: border-box;
    height: 64px;
    margin-bottom: -14px;
    margin-top: -14px;
    width: 36px;
}

#liNavNotifications {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 72px;
}

#liNavNotifications,
#liNavNotificationsMobile {
    position: relative;
}

.portal-notification-panel-mobile {
    width: min(360px, calc(100vw - 32px));
}

@media (max-width: 440px) {
    .portal-notification-panel {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 77px;
        width: auto;
        max-height: calc(100vh - 93px);
        overflow-y: auto;
    }
}
