.notif-nav-item .dropdown-toggle::after {
    display: none;
}

.notif-bell-wrapper {
    position: relative;
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #c01a40;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

.notif-drawer {
    width: 420px;
    min-width: 420px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.35);
}

.notif-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #eef1f4;
    background: #fff;
}

.notif-drawer-header h6 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #14213d;
    font-size: 14px;
    font-weight: 700;
}

.notif-drawer-subtitle {
    margin: 4px 0 0;
    color: #667085;
    font-size: 12px;
    font-weight: 500;
}

.notif-drawer-filters {
    display: flex;
    gap: 8px;
    padding: 10px 16px 12px;
    border-bottom: 1px solid #eef1f4;
    overflow-x: auto;
    background: #fafbfc;
}

.notif-filter-btn {
    border: 1px solid #d7dce3;
    background: #fff;
    color: #475467;
    border-radius: 999px;
    padding: 6px 11px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}

.notif-filter-btn:hover,
.notif-filter-btn.active {
    background: #1f2937;
    border-color: #1f2937;
    color: #fff;
}

.notif-drawer-scroll {
    max-height: min(68vh, 540px);
    overflow-y: auto;
    padding: 10px 12px;
    background: #f8fafc;
}

.notif-drawer-section-title {
    margin: 4px 4px 8px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.notif-drawer-list,
.notif-drawer-system {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.notif-drawer-empty {
    display: flex;
    min-height: 140px;
    padding: 20px 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    color: #98a2b3;
}

.notif-drawer-empty i {
    font-size: 34px;
}

.notif-drawer-footer {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #eef1f4;
    background: #fff;
}

.notif-footer-btn {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}

.notif-footer-btn:hover {
    background: #f9fafb;
}

.notif-footer-btn-accent {
    background: #14213d;
    border-color: #14213d;
    color: #fff;
}

.notif-footer-btn-accent:hover {
    background: #0f172a;
}

.notif-widget-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    transition: background .15s ease;
    margin-top: -1px;
}

.notif-widget-item:hover {
    background: #f9fafb;
}

.notif-drawer-list .notif-widget-item:first-child,
.notif-drawer-system .notif-widget-item:first-child {
    margin-top: 0;
}

.notif-widget-item.is-unread {
    background: #fff;
}

.notif-widget-item.is-read {
    background: #f8fafc;
    border-color: #e4e7ec;
}

.notif-widget-item.is-read .notif-widget-item-title {
    color: #475467;
}

.notif-widget-item.is-read .notif-widget-item-message,
.notif-widget-item.is-read .notif-widget-item-time {
    color: #667085;
}

.notif-widget-item-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.notif-widget-item.action_required .notif-widget-item-icon {
    background: #fef3f2;
    color: #b42318;
}

.notif-widget-item.warning .notif-widget-item-icon {
    background: #fffaeb;
    color: #b54708;
}

.notif-widget-item.info .notif-widget-item-icon {
    background: #eff8ff;
    color: #175cd3;
}

.notif-widget-item.success .notif-widget-item-icon {
    background: #ecfdf3;
    color: #027a48;
}

.notif-widget-item-content {
    flex: 1;
    min-width: 0;
}

.notif-widget-item-title {
    color: #101828;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.notif-widget-item-message {
    margin-top: 2px;
    color: #475467;
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-line;
}

.notif-widget-item-time {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 600;
}

.notif-widget-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 19px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eef2f6;
    color: #475467;
    font-size: 10px;
    font-weight: 700;
}

.notif-widget-pill-unread {
    background: #dbeafe;
    color: #175cd3;
}

.notif-widget-pill-status {
    background: #f2f4f7;
    color: #475467;
}

.notif-widget-pill-action_required {
    background: #fef3f2;
    color: #b42318;
}

.notif-widget-pill-warning {
    background: #fffaeb;
    color: #b54708;
}

.notif-widget-item-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    flex-shrink: 0;
}

.notif-widget-btn-go,
.notif-widget-btn-read,
.notif-widget-btn-status,
.notif-widget-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
}

.notif-widget-btn-go {
    background: #14213d;
    border-color: #14213d;
    color: #fff;
}

.notif-widget-btn-go:hover {
    color: #fff;
    text-decoration: none;
    background: #0f172a;
}

.notif-widget-btn-read {
    background: #fff;
    color: #344054;
}

.notif-widget-btn-read:hover,
.notif-widget-btn-secondary:hover {
    background: #f9fafb;
}

.notif-widget-btn-status {
    background: #344054;
    border-color: #344054;
    color: #fff;
}

.notif-widget-btn-status:hover {
    background: #1f2937;
}

.notif-widget-btn-secondary {
    background: #fff;
    color: #475467;
}

#notif-toast-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(390px, calc(100vw - 32px));
    pointer-events: none;
}

.notif-toast-toolbar {
    display: flex;
    justify-content: flex-end;
    pointer-events: auto;
}

.notif-toast-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notif-toast-close-all {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: #344054;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px -22px rgba(15, 23, 42, 0.45);
    transition: background .15s ease, border-color .15s ease;
}

.notif-toast-close-all:hover {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.2);
}

.notif-toast-shell {
    position: relative;
    pointer-events: auto;
}

.notif-toast-shell.is-entering {
    animation: notifToastEnter .28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.notif-toast-shell .notif-widget-item {
    padding-right: 42px;
    box-shadow: 0 18px 42px -30px rgba(15, 23, 42, 0.55);
}

.notif-toast-shell.is-leaving {
    animation: notifToastExit .24s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.notif-toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #667085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.notif-toast-close:hover {
    background: rgba(15, 23, 42, 0.12);
    color: #101828;
}

.notif-toast-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.06);
}

.notif-toast-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(20, 33, 61, 0.32);
    transform-origin: left center;
    animation-name: notifToastProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes notifToastProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@keyframes notifToastEnter {
    from {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes notifToastExit {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 0;
        transform: translate3d(110%, 0, 0);
    }
}

.notif-drawer-skeleton {
    display: none;
}

.notif-skeleton-card.ph-item {
    margin-bottom: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    margin-top: -1px;
}

.notif-drawer-skeleton .notif-skeleton-card.ph-item:first-child {
    margin-top: 0;
}

.notif-skeleton-row {
    min-height: 78px;
}

.notif-skeleton-card .ph-row div {
    border-radius: 999px;
}

.notif-skeleton-card .ph-row .big {
    height: 12px;
}

@media (max-width: 767.98px) {
    .notif-drawer {
        width: calc(100vw - 18px);
        min-width: calc(100vw - 18px);
        max-width: calc(100vw - 18px);
        right: -8px !important;
    }

    .notif-drawer-scroll {
        max-height: min(62vh, 460px);
    }

    .notif-drawer-footer {
        flex-direction: column;
    }

    .notif-footer-btn {
        width: 100%;
    }

    .notif-widget-item {
        flex-wrap: wrap;
    }

    .notif-widget-item-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-left: 44px;
    }

    #notif-toast-container {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }

    .notif-toast-shell .notif-widget-item {
        padding-right: 40px;
    }
}
