/* ============================================================
   /css/notificacoes.css — Painel de notificações (AYA+ / Admin)
   Respeita o padrão visual existente (dark, acento dourado AYA).
   ============================================================ */

.notif-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1200;
}

.notif-panel {
  position: fixed; top: 64px; right: 16px; width: 360px; max-width: calc(100vw - 32px);
  max-height: 70vh; display: flex; flex-direction: column;
  background: #14181f; color: #e8eaed;
  border: 1px solid #2a3140; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); z-index: 1201; overflow: hidden;
}

.notif-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid #2a3140;
  background: #10141a;
}
.notif-panel-title { font-weight: 600; letter-spacing: .3px; }
.notif-close {
  background: none; border: none; color: #9aa4b2; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.notif-close:hover { color: #fff; }

.notif-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.notif-item {
  padding: 12px 16px; border-bottom: 1px solid #1d232e; cursor: pointer;
  transition: background .15s;
}
.notif-item:hover { background: #1a2029; }
.notif-item.is-unread { background: rgba(212,175,55,.06); }
.notif-item.is-unread .notif-item-title::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #d4af37; margin-right: 8px; vertical-align: middle;
}
.notif-item-top { display: flex; justify-content: space-between; gap: 8px; }
.notif-item-title { font-weight: 600; font-size: 14px; }
.notif-item-time { font-size: 11px; color: #7f8a99; white-space: nowrap; }
.notif-item-msg { font-size: 13px; color: #c4ccd6; margin-top: 4px; }
.notif-item-meta { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; }
.notif-item-type {
  font-size: 10px; text-transform: uppercase; letter-spacing: .5px;
  color: #d4af37; background: rgba(212,175,55,.12); padding: 2px 6px; border-radius: 4px;
}
.notif-item-link { font-size: 12px; color: #d4af37; text-decoration: none; }
.notif-item-link:hover { text-decoration: underline; }

.notif-empty { padding: 28px 16px; text-align: center; color: #7f8a99; font-size: 13px; }

/* badge no sino */
.notif-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  padding: 0 4px; border-radius: 9px; background: #d4af37; color: #14181f;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px #14181f;
}
.app-icon-button { position: relative; }

@media (max-width: 600px) {
  .notif-panel { top: auto; bottom: 0; right: 0; left: 0; width: 100%; max-width: 100%;
    max-height: 80vh; border-radius: 12px 12px 0 0; }
}

/* garante âncora relativa para o badge em qualquer sino existente */
.icon-btn.app-icon-button,
.app-icon-button {
  position: relative;
}
