/* Notification center */
.bmf-notification-bell { position:relative; flex-shrink:0; }
.bmf-notification-bell__details { position:relative; }
.bmf-notification-bell__toggle { display:grid; place-items:center; position:relative; width:43px; height:43px; border:1px solid #eadce4; border-radius:50%; background:#fff; color:#634b59; list-style:none; cursor:pointer; }
.bmf-notification-bell__toggle::-webkit-details-marker { display:none; }
.bmf-notification-bell__toggle:hover { background:#fff7fa; color:#b8587d; }
.bmf-notification-bell__badge { position:absolute; top:-6px; right:-8px; min-width:20px; height:20px; padding:0 5px; border-radius:10px; box-sizing:border-box; display:grid; place-items:center; background:#b8587d; color:#fff; font-size:11px; font-weight:800; line-height:1; border:2px solid #fff; }
.bmf-notification-bell__panel { position:absolute; z-index:90; right:0; top:calc(100% + 12px); width:min(390px, calc(100vw - 24px)); border:1px solid #e9dae2; border-radius:16px; background:#fff; box-shadow:0 20px 45px rgba(86,55,70,.16); padding:8px 0; overflow:hidden; }
.bmf-notification-bell__heading { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; gap:12px; border-bottom:1px solid #f0e7ec; color:#342530; }
.bmf-notification-bell__heading strong { font-size:15px; }
.bmf-notification-bell__heading span { font-size:12px; color:#a85278; }
.bmf-notification-bell__items { display:grid; max-height:360px; overflow-y:auto; }
.bmf-notification-bell__item { display:grid; grid-template-columns:9px 1fr; align-items:start; gap:10px; padding:14px 16px; text-decoration:none; border-bottom:1px solid #f5edf1; color:#4c3543; }
.bmf-notification-bell__item:hover { background:#fff7fa; }
.bmf-notification-bell__dot { width:8px; height:8px; margin-top:7px; border-radius:50%; background:transparent; }
.bmf-notification-bell__item.is-unread .bmf-notification-bell__dot { background:#b8587d; }
.bmf-notification-bell__copy { display:grid; gap:3px; min-width:0; }
.bmf-notification-bell__copy strong { font-size:13px; line-height:1.3; }
.bmf-notification-bell__copy small { font-size:12px; line-height:1.4; color:#7c6873; }
.bmf-notification-bell__item.is-read { opacity:.72; }
.bmf-notification-bell__empty { margin:0; padding:20px 16px; font-size:13px; color:#765e6c; }
.bmf-notification-bell__all { display:block; text-align:center; padding:12px 16px; color:#a34d73; font-weight:700; font-size:13px; text-decoration:none; }
.bmf-notification-bell__all:hover { background:#fff7fa; }
.bmf-notifications__toolbar { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:14px; margin:0 0 22px; }
.bmf-notifications__filters { display:flex; align-items:end; flex-wrap:wrap; gap:12px; }
.bmf-notifications__filters label { display:grid; gap:6px; font-size:13px; font-weight:650; }
.bmf-notifications__filters input[type="date"] { border:1px solid #e7d9e1; padding:10px 11px; border-radius:9px; font:inherit; font-weight:400; background:#fff; color:#594351; }
.bmf-notifications__filters select { border:1px solid #e7d9e1; padding:10px 32px 10px 11px; border-radius:9px; font:inherit; font-weight:400; background:#fff; color:#594351; }
.bmf-notifications__filters > a { color:#a45177; font-size:13px; padding:10px; }
.bmf-notifications__apply { border:0; padding:11px 17px; border-radius:10px; background:#b8587d; color:white; font-weight:700; cursor:pointer; }
.bmf-notifications__secondary { border:1px solid #e7d9e1; background:#fff; border-radius:10px; padding:11px 15px; font-weight:650; color:#7c4a63; cursor:pointer; }
.bmf-notifications__secondary:disabled { opacity:.5; cursor:default; }
.bmf-notifications__grid { margin-top:0; }
.bmf-notifications__title { display:inline-block; color:#5d334d; font-size:14px; font-weight:750; text-decoration:none; }
.bmf-notifications__message { margin-top:4px; color:#7b6673; font-size:13px; }
.bmf-notifications__date { white-space:nowrap; }
.bmf-notifications__unread { background:#fff9fb; }
.bmf-notifications__status { display:inline-block; border-radius:999px; padding:4px 10px; font-size:12px; white-space:nowrap; }
.bmf-notifications__status.is-unread { background:#fce5ef; color:#a0446d; font-weight:700; }
.bmf-notifications__status.is-read { background:#f3f0f2; color:#88717f; }
.bmf-notifications__actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.bmf-notifications__actions form { margin:0; }
.bmf-notifications__actions button { background:transparent; border:0; cursor:pointer; padding:6px 5px; color:#a34d73; font:inherit; font-weight:650; font-size:12px; white-space:nowrap; }
.bmf-notifications__actions .bmf-notifications__delete { color:#a85261; }
.bmf-notifications__actions button:hover { text-decoration:underline; }
html[data-bmf-dark-active="true"] .bmf-notification-bell__toggle,
html[data-bmf-dark-active="true"] .bmf-notification-bell__panel,
html[data-bmf-dark-active="true"] .bmf-notifications__secondary,
html[data-bmf-dark-active="true"] .bmf-notifications__filters select,
html[data-bmf-dark-active="true"] .bmf-notifications__filters input[type="date"] { background:#2e2631; color:#f3eaf0; border-color:#594757; }
html[data-bmf-dark-active="true"] .bmf-notification-bell__heading,
html[data-bmf-dark-active="true"] .bmf-notification-bell__item { color:#f3eaf0; border-color:#594757; }
html[data-bmf-dark-active="true"] .bmf-notification-bell__item:hover,
html[data-bmf-dark-active="true"] .bmf-notification-bell__all:hover,
html[data-bmf-dark-active="true"] .bmf-notifications__unread { background:#3c2d3c; }
html[data-bmf-dark-active="true"] .bmf-notification-bell__copy small,
html[data-bmf-dark-active="true"] .bmf-notification-bell__empty,
html[data-bmf-dark-active="true"] .bmf-notifications__message { color:#c8b7c4; }
html[data-bmf-dark-active="true"] .bmf-notifications__title { color:#f0b4cc; }
html[data-bmf-dark-active="true"] .bmf-notifications__status.is-unread { background:#5c3450; color:#ffc5dd; }
html[data-bmf-dark-active="true"] .bmf-notifications__status.is-read { background:#39323a; color:#c8b7c4; }
@media(max-width:600px) { .bmf-notification-bell__toggle { width:38px; height:38px; } .bmf-notifications__filters { width:100%; } .bmf-notifications__toolbar > form:last-child { margin-left:auto; } }

/* Form controls and action layout shared by the notification inbox. */
.bmf-notifications__filters label {
    color: #594653;
    line-height: 1.3;
}
.bmf-notifications__filters :is(select, input[type="date"]) {
    box-sizing: border-box;
    display: block;
    height: 44px;
    min-height: 44px;
    margin: 0;
    background-color: #fff;
    color: #45323f;
    border: 1px solid #e7d9e1;
    box-shadow: none;
    color-scheme: light;
    line-height: 1.3;
}
.bmf-notifications__filters select { min-width: 118px; cursor: pointer; }
.bmf-notifications__filters input[type="date"] { min-width: 148px; }
.bmf-notifications__filters input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
.bmf-notifications__filters :is(select, input[type="date"]):hover { border-color: #d5b5c4; }
.bmf-notifications__filters :is(select, input[type="date"]):focus-visible {
    border-color: #b8587d;
    outline: 3px solid rgba(184, 88, 125, .14);
    outline-offset: 1px;
}
.bmf-notifications__apply,
.bmf-notifications__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    line-height: 1.25;
}
.bmf-notifications__filters > a {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    text-decoration: none;
}
.bmf-notifications__secondary:disabled {
    opacity: 1;
    border-color: #e8dfe4;
    background: #faf8f9;
    color: #aa98a2;
    box-shadow: none;
    cursor: default;
}
.bmf-notifications__secondary:not(:disabled):hover { background: #fff6fa; }
.bmf-notification-bell__toggle:focus-visible {
    outline: 2px solid #b8587d;
    outline-offset: 3px;
}
html[data-bmf-dark-active="true"] .bmf-notifications__filters label { color: #e0d3dc; }
html[data-bmf-dark-active="true"] .bmf-notifications__filters :is(select, input[type="date"]) {
    background-color: #2e2631;
    border-color: #594757;
    color: #f3eaf0;
    color-scheme: dark;
}
html[data-bmf-dark-active="true"] .bmf-notifications__secondary:disabled {
    background: #2b2630;
    border-color: #49404d;
    color: #968897;
}
html[data-bmf-dark-active="true"] .bmf-notifications__secondary:not(:disabled):hover { background: #3c2d3c; }
@media (max-width: 600px) {
    .bmf-notifications__filters label { flex: 1 1 140px; }
    .bmf-notifications__filters :is(select, input[type="date"]) { width: 100%; }
}

/* Notification bell quick actions */
.bmf-notification-bell__entry {
    display: flex;
    align-items: stretch;
    min-width: 0;
    border-bottom: 1px solid #f5edf1;
}
.bmf-notification-bell__entry .bmf-notification-bell__item {
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: 0;
    padding: 12px 6px 12px 16px;
}
.bmf-notification-bell__entry .bmf-notification-bell__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    padding: 0 10px 0 2px;
}
.bmf-notification-bell__action {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #9c5175;
    cursor: pointer;
}
.bmf-notification-bell__action--delete { color: #a75969; }
.bmf-notification-bell__action:not(:disabled):hover {
    background: #fce9f1;
    border-color: #efd2df;
}
.bmf-notification-bell__action--delete:not(:disabled):hover {
    background: #fcebef;
    border-color: #edcdd4;
}
.bmf-notification-bell__action:focus-visible {
    outline: 2px solid #b8587d;
    outline-offset: 2px;
}
.bmf-notification-bell__action:disabled { opacity: .45; cursor: default; }
.bmf-notification-bell__action-error {
    margin: 0;
    padding: 9px 16px;
    font-size: 12px;
    color: #a4475a;
}
html[data-bmf-dark-active="true"] .bmf-notification-bell__entry {
    border-color: #594757;
}
html[data-bmf-dark-active="true"] .bmf-notification-bell__action {
    color: #e6a6c4;
}
html[data-bmf-dark-active="true"] .bmf-notification-bell__action--delete {
    color: #e8a1ae;
}
html[data-bmf-dark-active="true"] .bmf-notification-bell__action:not(:disabled):hover {
    background: #51364a;
    border-color: #80506a;
}
html[data-bmf-dark-active="true"] .bmf-notification-bell__action-error {
    color: #f2b2be;
}

.bmf-notification-bell__badge[hidden],.bmf-notification-bell__heading [hidden]{display:none!important}
