.notification-widget {
    position: relative;
}

.notification-widget__toggle {
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    font-size: 1.15rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.notification-widget__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
    border-color: rgba(255, 210, 52, 0.35);
}

.notification-widget__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(239, 68, 68, .30);
    border: 2px solid #fff;
}

.notification-widget__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 390px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
    overflow: hidden;
    z-index: 1080;
    animation: premiumScaleIn .22s ease;
}

.notification-widget__header {
    padding: 14px 16px;
    border-bottom: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
}

.notification-widget__list {
    max-height: 420px;
    overflow-y: auto;
    background: #f7f9fd;
}

.notification-widget__item {
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f7;
    background: #fff;
    cursor: pointer;
    transition: background-color .18s ease;
}

.notification-widget__item:hover {
    background: #fafbfd;
}

.notification-widget__item.is-unread {
    background: rgba(255, 210, 52, 0.08);
}

.notification-widget__item-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.notification-widget__item-message {
    font-size: .92rem;
    color: #6b7280;
    line-height: 1.4;
}

.notification-widget__item-date {
    margin-top: 8px;
    font-size: .78rem;
    color: #94a3b8;
}

.notification-widget__empty {
    padding: 24px 18px;
    color: #6b7280;
    text-align: center;
}

.notification-widget__footer {
    padding: 14px 16px;
    border-top: 1px solid #e8edf5;
    background: #fff;
}