/* Administration → Notifications (Pages/Admin/NotificationsAdmin.razor) */
.ntf { --ntf-line: var(--rz-border-color, #E2E6EC); --ntf-muted: var(--rz-text-secondary-color, #4B5565); padding: 1rem; display: flex; flex-direction: column; gap: 1rem; max-width: 1400px; }
.ntf__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.ntf__head h1 { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.ntf__head p, .ntf__muted { color: var(--ntf-muted); font-size: 0.9rem; margin: 0; }
.ntf__hint code, .ntf__value code { background: var(--rz-base-100, #F1F4F8); padding: 0 0.3rem; border-radius: 4px; }

.ntf__split { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 1rem; align-items: start; }
@media (max-width: 800px) { .ntf__split { grid-template-columns: 1fr; } }

.ntf__list { display: flex; flex-direction: column; gap: 0.35rem; }
.ntf__item { display: flex; align-items: center; gap: 0.6rem; text-align: left; width: 100%; padding: 0.55rem 0.7rem; border: 1px solid var(--ntf-line); border-radius: 8px; background: var(--rz-base-background-color, #fff); cursor: pointer; }
.ntf__item:hover { border-color: var(--rz-primary); }
.ntf__item--on { border-color: var(--rz-primary); box-shadow: inset 3px 0 0 var(--rz-primary); background: var(--rz-primary-lighter, #EEF3FF); }
.ntf__item-icon { color: var(--rz-primary); font-size: 1.3rem; }
.ntf__item-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ntf__item-text span { font-size: 0.8rem; color: var(--ntf-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntf__tag { font-size: 0.72rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--rz-base-200, #E7EBF0); color: var(--ntf-muted); white-space: nowrap; }
.ntf__tag--off { background: #FDECEC; color: #9B1C1C; }

.ntf__empty { padding: 2rem; border: 1px dashed var(--ntf-line); border-radius: 10px; text-align: center; color: var(--ntf-muted); }
.ntf__editor, .ntf__card { border: 1px solid var(--ntf-line); border-radius: 10px; padding: 1rem; display: flex; flex-direction: column; gap: 0.85rem; background: var(--rz-base-background-color, #fff); }
.ntf__editor-head { display: flex; align-items: center; gap: 0.75rem; }
.ntf__editor-head h2 { font-size: 1.15rem; margin: 0; }
.ntf__dirty { font-size: 0.8rem; color: #8A5A00; background: #FFF4D6; padding: 0.05rem 0.5rem; border-radius: 999px; }
.ntf__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.ntf__switches { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.ntf__switches label { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.ntf__sep { width: 1px; height: 1.4rem; background: var(--ntf-line); }

.ntf__values, .ntf__preview, .ntf__audience { display: flex; flex-direction: column; gap: 0.5rem; }
.ntf__values h3, .ntf__preview h3, .ntf__audience h3 { font-size: 0.95rem; margin: 0; }
.ntf__value { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 0.5rem; align-items: center; }

.ntf__preview-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.ntf__toast { flex: 1 1 260px; max-width: 380px; display: flex; flex-direction: column; gap: 0.2rem; padding: 0.75rem 0.9rem; border-radius: 10px; background: #2B2F36; color: #F3F4F6; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.ntf__toast b { color: #fff; }
.ntf__toast span { font-size: 0.875rem; white-space: pre-line; }
.ntf__toast-app { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem !important; color: #C7CBD1; }
.ntf__toast-app .rzi { font-size: 0.95rem; }
.ntf__toast--inline { max-width: 420px; }
.ntf__toast-off { font-size: 0.75rem !important; color: #FFB4A9; }
.ntf__bellline { flex: 1 1 260px; max-width: 380px; display: flex; gap: 0.6rem; padding: 0.7rem 0.8rem; border: 1px solid var(--ntf-line); border-left: 3px solid var(--rz-primary); border-radius: 8px; }
.ntf__bellline > .rzi { color: var(--rz-primary); }
.ntf__bellline > span:not(.rzi):not(.ntf__toast-off) { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.ntf__bellline small { color: var(--ntf-muted); overflow-wrap: anywhere; }
.ntf__bellline .ntf__toast-off { color: #9B1C1C; align-self: flex-start; }

.ntf__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ntf__note { margin: 0; padding: 0.5rem 0.75rem; border-radius: 8px; background: var(--rz-base-100, #F1F4F8); }

.ntf__cats { display: flex; flex-direction: column; gap: 0.35rem; overflow-x: auto; }
.ntf__cat { display: grid; grid-template-columns: 150px minmax(180px, 1fr) minmax(180px, 1.3fr) 56px 56px 60px; gap: 0.5rem; align-items: center; min-width: 720px; }
.ntf__cat--head { font-size: 0.8rem; font-weight: 600; color: var(--ntf-muted); }

/* Pictures in the previews */
.ntf__toast-main { display: flex; gap: 0.6rem; align-items: flex-start; }
.ntf__toast-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.ntf__toast-icon { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.ntf__toast-image { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; margin-top: 0.4rem; }
.ntf__bell-pic { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }

/* Languages of the words */
.ntf__langs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.ntf__lang { border: 1px solid var(--ntf-line); background: var(--rz-base-background-color, #fff); border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; display: inline-flex; gap: 0.35rem; align-items: center; }
.ntf__lang--on { border-color: var(--rz-primary); background: var(--rz-primary-lighter, #EEF3FF); font-weight: 600; }
.ntf__lang small { font-size: 0.7rem; color: var(--ntf-muted); font-weight: 400; }
.ntf__lang small.ntf__lang-miss { color: #9B1C1C; }
.ntf__lang small.ntf__lang-ai { color: #6B21A8; }
.ntf__tag--miss { background: #FFF4D6; color: #8A5A00; }
