/* CSS specific notifications.html — filter tabs, notification cards, empty state.
   Depinde de: tokens.css, shell.css, components.css (încărcate înainte). */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* Filter tabs */
    .filters { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; overflow-x: visible; padding-bottom: 4px; }
    .filter-btn {
      padding: 7px 15px; border-radius: 20px; border: 1px solid var(--line);
      background: transparent; color: var(--muted); cursor: pointer; font-size: .82rem;
      font-weight: 600; transition: all .18s; white-space: nowrap; flex-shrink: 0;
    }
    .filter-btn.active {
      background: rgba(124,92,255,.18); border-color: rgba(124,92,255,.4);
      color: var(--accent);
    }

    /* Notification cards */
    .notif-list { display: flex; flex-direction: column; gap: 8px; }
    .notif-card {
      background: rgba(15,23,49,.7); border: 1px solid var(--line);
      border-radius: 14px; padding: 16px 18px;
      display: flex; gap: 14px; align-items: flex-start;
      transition: background .18s, border-color .18s;
      cursor: pointer; text-decoration: none; color: inherit;
      position: relative;
      animation: card-in .3s ease both;
    }
    @keyframes card-in { from { opacity:0; transform: translateY(8px); } }
    .notif-card:hover { background: rgba(124,92,255,.08); border-color: rgba(124,92,255,.25); }
    .notif-card.unread { border-left: 3px solid var(--accent); }
    .notif-card.type-REFUSED { border-left-color: #ff5050; }
    .notif-card.type-COMPLETED { border-left-color: var(--df-teal); }
    .notif-card.type-YOUR_TURN { border-left-color: var(--accent); }
    .notif-card.type-REVIEW_REQUESTED { border-left-color: var(--df-teal); }
    .notif-card.urgent-card { border-left: 3px solid #ff3333; background: rgba(255,40,40,.07); }
    .notif-card.urgent-card:hover { background: rgba(255,40,40,.12); border-color: rgba(255,40,40,.4); }
    @keyframes pulse-urgent { 0%,100%{box-shadow:0 0 0 0 rgba(255,40,40,.4);} 50%{box-shadow:0 0 0 5px rgba(255,40,40,0);} }
    .notif-icon.type-REVIEW_REQUESTED { background: rgba(45,212,191,.12); }

    .notif-icon {
      width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 20px;
      background: rgba(124,92,255,.14);
    }
    .notif-icon.type-REFUSED { background: rgba(255,80,80,.14); }
    .notif-icon.type-COMPLETED { background: rgba(45,212,191,.12); }

    .notif-body { flex: 1; min-width: 0; }
    .notif-title { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
    .notif-msg { font-size: .8rem; color: var(--sub); line-height: 1.5; }
    .notif-meta { display: flex; gap: 10px; margin-top: 6px; align-items: center; flex-wrap: wrap; }
    .notif-time { font-size: .73rem; color: var(--muted); }
    .notif-flow { font-size: .73rem; color: var(--accent); }
    .notif-unread-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--accent); flex-shrink: 0; margin-top: 6px;
    }
    .notif-del {
      position: absolute; top: 10px; right: 12px;
      background: none; border: none; cursor: pointer;
      color: var(--muted); font-size: 16px; opacity: 0;
      transition: opacity .18s; padding: 4px;
    }
    .notif-card:hover .notif-del { opacity: 1; }
    .notif-del:hover { color: #ff8888; }

    .empty-state {
      text-align: center; padding: 60px 20px;
      color: var(--muted); font-size: .95rem;
    }
    .empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: .5; }
    .empty-title { font-size: 1.1rem; font-weight: 700; color: var(--sub); margin-bottom: 6px; }

    .loading { text-align: center; padding: 48px; color: var(--muted); }
    .spin { display: inline-block; width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: sp .7s linear infinite; }
    @keyframes sp { to { transform: rotate(360deg); } }
