.notifications-page {
    max-width: 820px;
}

.notifications-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.notifications-header h1 {
    margin-bottom: 6px;
}

.notifications-list {
    display: grid;
    gap: 18px;
}

.notification-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 42px 46px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid transparent;
}

.notification-card.is-unread {
    border-color: rgba(204, 47, 156, .26);
    box-shadow: 0 12px 28px rgba(204, 47, 156, .12);
}

.notification-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
}

.notification-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.notification-actor-avatar {
    width: 46px;
    height: 46px;
}

.notification-content p {
    margin: 0;
    color: #777;
    line-height: 1.5;
}

.notification-content strong {
    color: var(--blue);
}

.notification-content > span {
    display: inline-block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.notification-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.notification-link {
    color: var(--cyan);
    font-weight: 800;
}

.text-button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

.empty-notifications {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 54px 28px;
}

.empty-notifications img {
    width: 44px;
    height: 44px;
}

.empty-notifications h2 {
    margin-bottom: 6px;
}

.empty-notifications p {
    color: var(--muted);
}

.notification-nav-icon {
    position: relative;
}

.nav-unread-badge {
    position: absolute;
    top: -9px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 5px;
    background: var(--magenta);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 700px) {
    .notifications-header {
        flex-direction: column;
    }

    .notification-card {
        grid-template-columns: 36px 1fr;
        align-items: flex-start;
    }

    .notification-actor-avatar {
        display: none;
    }
}
