.notification-centre {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto
}

.notification-centre__trigger {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--admin-line, rgba(22, 22, 22, .12));
    border-radius: 10px;
    background: #fff;
    color: #27211d;
    cursor: pointer
}

.notification-centre__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #b3262d;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    line-height: 16px;
    text-align: center
}

.notification-centre__panel {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    max-height: min(620px, calc(100dvh - 90px));
    overflow: hidden;
    border: 1px solid rgba(22, 22, 22, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(24, 18, 16, .18)
}

.notification-centre__panel[hidden] {
    display: none
}

.notification-centre__panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(22, 22, 22, .08)
}

.notification-centre__panel header strong {
    font-size: 1rem
}

.notification-centre__panel header button {
    border: 0;
    background: transparent;
    color: #8b1d24;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer
}

.notification-centre__panel header button:disabled {
    opacity: .45;
    cursor: default
}

.notification-centre__panel [data-list] {
    max-height: 420px;
    overflow: auto
}

.notification-centre__item {
    display: block;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(22, 22, 22, .07);
    color: #28211d;
    text-decoration: none;
    background: #fff
}

.notification-centre__item:hover {
    background: #faf8f6
}

.notification-centre__item.is-unread {
    background: #fff7f7
}

.notification-centre__item strong,
.notification-centre__item small {
    display: block
}

.notification-centre__item strong {
    font-size: .88rem
}

.notification-centre__item small {
    margin-top: 3px;
    color: #716861;
    font-size: .76rem;
    line-height: 1.4
}

.notification-centre__item.is-unread strong:before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #b3262d;
    vertical-align: 1px
}

.notification-centre__empty {
    display: grid;
    gap: 5px;
    padding: 24px 18px;
    text-align: center
}

.notification-centre__empty span {
    color: #716861;
    font-size: .8rem
}

.notification-centre__panel footer {
    padding: 13px 16px;
    background: #fbfaf8;
    border-top: 1px solid rgba(22, 22, 22, .08)
}

.notification-centre__panel footer label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer
}

.notification-centre__panel footer span {
    display: grid;
    gap: 3px
}

.notification-centre__panel footer small {
    color: #716861;
    font-size: .72rem;
    font-weight: 500
}

.notification-centre__panel footer input {
    width: 18px;
    height: 18px;
    accent-color: #b3262d
}

@media(max-width:560px) {
    .notification-centre__panel {
        position: fixed;
        top: 64px;
        right: 8px;
        left: 8px;
        width: auto;
        max-height: calc(100dvh - 76px)
    }

    .notification-centre__panel [data-list] {
        max-height: calc(100dvh - 220px)
    }
}