/* Navbar bell */
.erp-notify {
    position: relative;
}
.erp-notify-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    cursor: pointer;
}
.erp-notify-btn:hover {
    background: rgba(96,165,250,0.22);
    color: #93c5fd;
}
.erp-notify-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    display: none;
}
.erp-notify-badge.is-visible { display: inline-block; }

.erp-notify-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(360px, 92vw);
    max-height: 420px;
    overflow: hidden;
    background: #fff;
    color: #1f2937;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    border: 1px solid #e5e7eb;
    z-index: 200;
}
.erp-notify-panel.is-open { display: flex; flex-direction: column; }
.erp-notify-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
}
.erp-notify-panel__title {
    font-size: 13px;
    font-weight: 700;
}
.erp-notify-panel__action {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.erp-notify-list {
    overflow-y: auto;
    max-height: 360px;
}
.erp-notify-item {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.erp-notify-item:hover { background: #f8fafc; }
.erp-notify-item.is-unread { background: #eff6ff; }
.erp-notify-item__title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px;
}
.erp-notify-item__message {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 4px;
}
.erp-notify-item__time {
    font-size: 11px;
    color: #94a3b8;
}
.erp-notify-empty {
    padding: 24px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

/* Side toasts */
.erp-toast-stack {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 24px));
    pointer-events: none;
}
.erp-toast {
    pointer-events: auto;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    border-left: 4px solid #60a5fa;
    padding: 12px 14px;
    animation: erp-toast-in 0.2s ease-out;
}
.erp-toast__title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
}
.erp-toast__message {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0 0 8px;
}
.erp-toast__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.erp-toast__link,
.erp-toast__close {
    border: 0;
    background: transparent;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}
.erp-toast__close { color: #94a3b8; margin-left: auto; }
@keyframes erp-toast-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}
