.x-notify-nav {
    position: relative;
}

.x-notify-trigger {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff !important;
    transition: .22s ease;
}

.x-notify-trigger:hover {
    transform: translateY(-1px);
    background: rgba(59, 130, 246, .14);
}

.x-notify-badge {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(239, 68, 68, .35);
}

.x-notify-menu {
    width: 390px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 14, 25, .98), rgba(13, 18, 32, .98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.x-notify-head,
.x-notify-foot {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.x-notify-foot {
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: none;
    text-align: center;
}

.x-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.x-notify-head h6 {
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.x-notify-head small {
    color: rgba(255, 255, 255, .62);
}

.x-notify-markall {
    border: none;
    background: transparent;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 600;
}

.x-notify-list {
    max-height: 420px;
    overflow-y: auto;
}

.x-notify-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: .18s ease;
}

.x-notify-item:hover {
    background: rgba(255, 255, 255, .04);
}

.x-notify-item--unread {
    background: linear-gradient(90deg, rgba(59, 130, 246, .10), rgba(59, 130, 246, .03));
}

.x-notify-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.x-notify-body {
    min-width: 0;
    flex: 1;
}

.x-notify-title {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.x-notify-text {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.x-notify-time {
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
}

.x-notify-empty {
    padding: 26px 18px;
    text-align: center;
    color: rgba(255, 255, 255, .58);
}

.x-notify-nav {
    position: relative;
}

.x-notify-trigger {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff !important;
    transition: .2s ease;
}

.x-notify-trigger:hover {
    transform: translateY(-1px);
    background: rgba(59, 130, 246, .14);
}

.x-notify-badge {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(239, 68, 68, .35);
}

.x-notify-menu {
    width: 390px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 14, 25, .98), rgba(13, 18, 32, .98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.x-notify-head,
.x-notify-foot {
    padding: 14px 16px;
}

.x-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.x-notify-head h6 {
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.x-notify-head small {
    color: rgba(255, 255, 255, .62);
}

.x-notify-markall {
    border: none;
    background: transparent;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.x-notify-list {
    max-height: 420px;
    overflow-y: auto;
}

.x-notify-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: .18s ease;
}

.x-notify-item:hover {
    background: rgba(255, 255, 255, .04);
}

.x-notify-item--unread {
    background: linear-gradient(90deg, rgba(59, 130, 246, .10), rgba(59, 130, 246, .03));
}

.x-notify-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.x-notify-icon--primary {
    background: rgba(59, 130, 246, .18);
    color: #93c5fd;
}

.x-notify-icon--success {
    background: rgba(34, 197, 94, .18);
    color: #86efac;
}

.x-notify-icon--warning {
    background: rgba(245, 158, 11, .18);
    color: #fcd34d;
}

.x-notify-icon--danger {
    background: rgba(239, 68, 68, .18);
    color: #fca5a5;
}

.x-notify-icon--info {
    background: rgba(6, 182, 212, .18);
    color: #67e8f9;
}

.x-notify-icon--default {
    background: rgba(148, 163, 184, .18);
    color: #cbd5e1;
}

.x-notify-item__body {
    min-width: 0;
    flex: 1;
}

.x-notify-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.x-notify-item__title {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.x-notify-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, .15);
    flex: 0 0 8px;
}

.x-notify-item__text {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.35;
    margin-top: 4px;
}

.x-notify-item__time {
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    margin-top: 7px;
}

.x-notify-foot {
    border-top: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
}

.x-notify-foot a {
    color: #60a5fa !important;
    font-weight: 700;
    text-decoration: none !important;
}

.x-notify-loading,
.x-notify-empty {
    padding: 22px 18px;
    text-align: center;
    color: rgba(255, 255, 255, .62);
}

.x-notify-loading i,
.x-notify-empty__icon {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.x-notify-empty__title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}

.x-notify-empty__text {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.x-notify-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;

    display: flex;
    flex-direction: column-reverse;
    gap: 12px;

    width: min(390px, calc(100vw - 28px));
    pointer-events: none;
}

.x-notify-toast {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    overflow: hidden;
    pointer-events: auto;

    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .18), transparent 34%),
        rgba(15, 23, 42, .96);

    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: xNotifyIn .22s ease both;
}

.x-notify-toast.is-leaving {
    animation: xNotifyOut .22s ease both;
}

.x-notify-toast__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
}

.x-notify-toast__title {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 4px;
}

.x-notify-toast__text {
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.35;
}

.x-notify-toast__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.x-notify-toast__time {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.x-notify-toast__open {
    border: 0;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(37, 99, 235, .18);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.x-notify-toast__close {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
    cursor: pointer;
}

.x-notify-toast__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, .08);
}

.x-notify-toast__progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #60a5fa, #22c55e);
    transform-origin: left;
    animation: xNotifyProgress linear forwards;
}

@media (max-width: 640px) {
    .x-notify-toast-stack {
        right: 12px;
        left: 12px;
        bottom: 14px;
        width: auto;
    }

    .x-notify-toast {
        border-radius: 16px;
    }
}

@keyframes xNotifyIn {
    from {
        opacity: 0;
        transform: translateY(-8px) translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes xNotifyOut {
    from {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px) translateX(12px);
    }
}

@keyframes xNotifyProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}