/* DevisVox — Notifications — Mobile */
@media (max-width: 768px) {

#notifications-mobile-page {
  --nt-accent:  #FF6B00;
  --nt-success: #10B981; --nt-warning: #F59E0B; --nt-danger: #DC2626; --nt-info: #3B82F6;
  --nt-text: #0F172A; --nt-text2: #475569; --nt-text3: #94A3B8;
  --nt-border: #E2E8F0; --nt-bg: #F9FAFB; --nt-card: #FFFFFF;
  --nt-r: 16px; --nt-tr: .15s ease;
  display: flex; flex-direction: column; height: 100%;
  background: var(--nt-bg); overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  color: var(--nt-text);
}

/* ── Header ── */
#notifications-mobile-page .nt-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 20px 10px; flex-shrink: 0;
  border-bottom: 1px solid var(--nt-border);
}
#notifications-mobile-page .nt-title {
  font-size: 21px; font-weight: 900; color: var(--nt-text);
  letter-spacing: -1px; line-height: 1.1;
}
#notifications-mobile-page .nt-mark-btn {
  font-size: 13px; font-weight: 600; color: var(--nt-accent);
  background: none; border: none; cursor: pointer; padding: 4px 0;
  font-family: inherit; -webkit-tap-highlight-color: transparent;
}
#notifications-mobile-page .nt-mark-btn:active { opacity: .65; }

/* ── Corps scrollable ── */
#notifications-mobile-page .nt-body {
  flex: 1; overflow-y: auto; padding: 14px 16px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
#notifications-mobile-page .nt-body::-webkit-scrollbar { display: none; }

/* ── Label de section (Aujourd'hui / Cette semaine…) ── */
#notifications-mobile-page .nt-section-lbl {
  font-size: 11px; font-weight: 700; color: var(--nt-text3);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 8px 4px 4px;
}
#notifications-mobile-page .nt-section-lbl:first-child { padding-top: 0; }

/* ── Groupe card ── */
#notifications-mobile-page .nt-group {
  background: var(--nt-card); border-radius: var(--nt-r);
  box-shadow: 0 1px 4px rgba(0,0,0,.07); overflow: hidden;
  margin-bottom: 4px;
}

/* ── Ligne notification ── */
#notifications-mobile-page .nt-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--nt-border);
  cursor: pointer; transition: background var(--nt-tr);
  -webkit-tap-highlight-color: transparent;
}
#notifications-mobile-page .nt-row:last-child { border-bottom: none; }
#notifications-mobile-page .nt-row:active     { background: #F8FAFC; }
#notifications-mobile-page .nt-row.nt-unread  { background: rgba(255,107,0,.04); }

/* ── Icône ── */
#notifications-mobile-page .nt-ico-wrap {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 19px; line-height: 1;
}
#notifications-mobile-page .nt-ico-success { background: #DCFCE7; }
#notifications-mobile-page .nt-ico-warning { background: #FEF9C3; }
#notifications-mobile-page .nt-ico-danger  { background: #FEE2E2; }
#notifications-mobile-page .nt-ico-info    { background: #DBEAFE; }
#notifications-mobile-page .nt-ico-accent  { background: rgba(255,107,0,.12); }

/* ── Texte ── */
#notifications-mobile-page .nt-content { flex: 1; min-width: 0; }
#notifications-mobile-page .nt-row-title {
  font-size: 14px; font-weight: 500; color: var(--nt-text);
  line-height: 1.35; margin-bottom: 2px;
}
#notifications-mobile-page .nt-unread .nt-row-title { font-weight: 700; }
#notifications-mobile-page .nt-row-body {
  font-size: 12px; color: var(--nt-text2); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
#notifications-mobile-page .nt-row-time {
  font-size: 11px; color: var(--nt-text3); margin-top: 5px;
}

/* ── Point non-lu ── */
#notifications-mobile-page .nt-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nt-accent); flex-shrink: 0; margin-top: 6px;
}

/* ── État vide ── */
#notifications-mobile-page .nt-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 60px 24px; text-align: center;
}
#notifications-mobile-page .nt-empty-icon  { font-size: 56px; line-height: 1; }
#notifications-mobile-page .nt-empty-title {
  font-size: 17px; font-weight: 700; color: var(--nt-text); margin-top: 4px;
}
#notifications-mobile-page .nt-empty-sub {
  font-size: 13px; color: var(--nt-text3); line-height: 1.6; max-width: 220px;
}

/* ── Bouton Effacer tout ── */
#notifications-mobile-page .nt-clear-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 13px;
  background: var(--nt-card); border-radius: var(--nt-r);
  border: 1.5px solid var(--nt-border);
  color: var(--nt-text3); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background var(--nt-tr); margin-top: 4px;
  -webkit-tap-highlight-color: transparent;
}
#notifications-mobile-page .nt-clear-btn svg { stroke: var(--nt-text3); }
#notifications-mobile-page .nt-clear-btn:active { background: #F1F5F9; }

}
