.nnp-bell-root {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nnp-bell-root--floating {
    position: fixed;
    top: 88px;
    right: 16px;
    z-index: 200;
}

.nnp-bell-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #334155;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nnp-bell-button:hover,
.nnp-bell-button[aria-expanded="true"] {
    background: #1e293b;
    color: #fff;
    border-color: #9f1239;
}

.nnp-bell-icon {
    width: 20px;
    height: 20px;
}

.nnp-bell-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #c41e3a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.nnp-bell-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 120;
    overflow: hidden;
}

.nnp-bell-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #334155;
    color: #fff;
}

.nnp-bell-panel__mark {
    background: none;
    border: none;
    color: #f87171;
    font-size: 12px;
    cursor: pointer;
}

.nnp-bell-panel__list {
    max-height: 360px;
    overflow-y: auto;
}

.nnp-bell-item {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    color: #e2e8f0;
    text-decoration: none;
    transition: background 0.15s ease;
}

.nnp-bell-item:hover {
    background: rgba(159, 18, 57, 0.12);
    color: #fff;
}

.nnp-bell-item.is-unread {
    background: rgba(196, 30, 58, 0.08);
}

.nnp-bell-item__title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.nnp-bell-item__msg {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.nnp-bell-item__time {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
}

.nnp-bell-empty {
    padding: 24px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.nnp-bell-guest,
.nnp-bell-enable {
    padding: 20px 16px 24px;
}

.nnp-bell-guest__msg,
.nnp-bell-enable__msg {
    margin: 0 0 16px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.55;
}

.nnp-bell-guest__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nnp-bell-guest__btn,
.nnp-bell-enable__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #334155;
    background: transparent;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nnp-bell-guest__btn:hover,
.nnp-bell-enable__btn:hover {
    background: #1e293b;
    color: #fff;
}

.nnp-bell-guest__btn--primary,
.nnp-bell-enable__btn {
    background: #9f1239;
    border-color: #9f1239;
    color: #fff;
}

.nnp-bell-guest__btn--primary:hover,
.nnp-bell-enable__btn:hover {
    background: #c41e3a;
    border-color: #c41e3a;
}

.nnp-bell-enable__btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.nnp-bell-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 12px;
    background: #020617;
    border: 1px solid #475569;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.72);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
    pointer-events: none;
}

.nnp-bell-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}