/* Roleverses / Stage 4: use existing red identity, native Bootstrap cards and buttons. */
.rv-notification-bell { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.rv-notification-trigger {
    position: relative; display: inline-flex; justify-content: center; align-items: center;
    width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
    background: transparent; color: inherit; transition: background-color .18s ease;
}
.rv-notification-trigger .bx { font-size: 25px; line-height: 1; }
.rv-notification-trigger:focus-visible { outline: 2px solid #d53b56; outline-offset: 2px; }
.rv-notification-bell--member { margin: 0 4px 0 5px; }
.rv-notification-bell--member .rv-notification-trigger { color: #fff; }
.rv-notification-bell--member .rv-notification-trigger:hover,
.rv-notification-bell--member .rv-notification-trigger[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.rv-notification-bell--admin .rv-notification-trigger { color: #697a8d; }
.rv-notification-bell--admin .rv-notification-trigger:hover,
.rv-notification-bell--admin .rv-notification-trigger[aria-expanded="true"] { background: #fbe9ed; color: #ce2841; }
.rv-notification-count {
    position: absolute; right: -3px; top: -2px; min-width: 19px; height: 19px;
    padding: 0 4px; border: 2px solid #ce2841; border-radius: 100px;
    background: #fff; color: #a5233a; font-size: 10px; line-height: 15px;
    font-weight: 700; text-align: center; white-space: nowrap;
}
.rv-notification-bell--admin .rv-notification-count { color: #fff; background: #ce2841; border-color: #fff; }
.rv-notification-dropdown, .default-header .rv-notification-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; left: auto; margin: 0;
    width: min(370px, calc(100vw - 28px)); padding: 0 !important; overflow: hidden;
    background: #fff !important; border: 1px solid #f0d8de; border-radius: 13px;
    box-shadow: 0 14px 45px rgba(26,16,25,.18) !important;
    color: #2f2530 !important; z-index: 1100;
}
.rv-notification-dropdown__head {
    display: flex; gap: 12px; justify-content: space-between; align-items: center;
    background: #ce2841; color: #fff; padding: 14px 16px; font-size: 14px;
}
.rv-notification-unread-label { font-size: 11px; font-weight: 600; color: #fff; opacity: .92; }
.rv-notification-dropdown__body { max-height: 355px; overflow: auto; overscroll-behavior: contain; }
.rv-notification-entry {
    display: flex; gap: 11px; align-items: flex-start; width: 100%; padding: 13px 15px;
    border: 0; border-bottom: 1px solid #f1e8eb; background: #fff; text-align: left;
    color: #3d3841; cursor: pointer; font: inherit;
}
.rv-notification-entry.is-unread { background: #fff5f7; }
.rv-notification-entry:hover, .rv-notification-entry:focus-visible { background: #fce9ee; }
.rv-notification-entry > .bx { flex-shrink: 0; color: #ce2841; font-size: 20px; margin-top: 2px; }
.rv-notification-entry__copy { display: block; flex: 1; min-width: 0; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.rv-notification-entry__copy > span { display: block; font-weight: 600; }
.rv-notification-entry__copy > small { display: block; color: #6a636b; font-size: 11px; margin-top: 4px; }
.rv-notification-entry__dot { width: 7px; height: 7px; background: #ce2841; flex: 0 0 7px; border-radius: 50%; margin-top: 6px; }
.rv-notification-empty { margin: 0; padding: 27px 12px; text-align: center; color: #736d75; font-size: 13px; }
.rv-notification-dropdown__foot {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    padding: 12px 15px; font-size: 12px; background: #fff;
}
.rv-notification-dropdown__foot a, .rv-notification-link, .default-header .rv-notification-dropdown__foot a {
    color: #b52c45 !important; text-transform: none !important; font: inherit;
    font-weight: 600; padding: 0; margin: 0 !important; border: 0;
    background: transparent; text-decoration: none; cursor: pointer;
}
.rv-notification-dropdown__foot a:hover, .rv-notification-link:hover { text-decoration: underline; }
.rv-notification-page--member { padding-top: 118px; padding-bottom: 65px; }
.rv-notification-page--admin { padding-top: 20px; padding-bottom: 50px; }
.rv-notification-card { overflow: hidden; border: 1px solid #eadde1; border-radius: 12px; }
.rv-notification-filter {
    color: rgba(255,255,255,.84); text-decoration: none; border-radius: 20px;
    padding: 5px 12px; font-size: 12px; transition: background-color .15s;
}
.rv-notification-filter.active, .rv-notification-filter:hover {
    color: #ce2841; background: #fff; font-weight: 600;
}
.rv-notification-list-item { display: flex; align-items: start; gap: 16px; padding: 20px 22px; }
.rv-notification-list-item.is-unread { background: #fff7f8; }
.rv-notification-list-item__icon {
    flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center;
    border-radius: 10px; background: #ffebef; color: #ce2841; font-size: 23px;
}
.rv-notification-list-item__body { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.rv-notification-list-item__actions {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end;
    gap: 8px; max-width: 270px;
}
.rv-notification-empty-icon { font-size: 48px; color: #ce2841; opacity: .75; }
@media(max-width: 767px) {
    .rv-notification-bell--member { margin-right: 8px; }
    .rv-notification-dropdown { position: absolute; right: -12px !important; left: auto !important; }
    .rv-notification-page--member { padding-top: 105px; }
    .rv-notification-list-item { padding: 16px; gap: 10px; flex-wrap: wrap; }
    .rv-notification-list-item__icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 20px; }
    .rv-notification-list-item__actions { max-width: none; width: 100%; justify-content: flex-start; padding-left: 44px; }
}
@media(prefers-reduced-motion: reduce) {
    .rv-notification-trigger, .rv-notification-filter { transition: none; }
}
