/* Notices of the app: the bell of the header and the inbox */
.notif-bell {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: var(--line); border-radius: 50%; background: #fff; color: var(--ink); text-decoration: none;
}
.notif-bell .icon { width: 20px; height: 20px; }
.notif-bell:hover, .notif-bell:focus-visible { background: var(--paper); }
.notif-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border: var(--line); border-radius: 999px;
  background: var(--cherry); color: #fff; font: 800 11px/1 var(--font-display);
}
.notif-main { max-width: 720px; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notif-head h1 { margin: 0; }
.notif-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.notif-item { background: #fff; border: var(--line); border-radius: var(--radius-sm); }
.notif-item.is-unread { box-shadow: var(--shadow-sm); }
.notif-item form { margin: 0; }
.notif-open {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%;
  padding: 12px 14px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer;
  font: inherit;
}
.notif-open:hover, .notif-open:focus-visible { background: var(--paper); }
.notif-text { display: grid; gap: 2px; min-width: 0; }
.notif-title { font-weight: 500; }
.notif-item.is-unread .notif-title { font-weight: 800; }
.notif-dot {
  display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%;
  background: var(--cherry); vertical-align: baseline;
}
.notif-detail { font-size: 14px; color: var(--ink-soft); }
.notif-date { flex: none; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.notif-foot { margin-top: 20px; }
@media (max-width: 560px) {
  .notif-open { flex-direction: column; gap: 4px; }
  .notif-bell { width: 36px; height: 36px; }
}
/* The anchor of «Mis pujas» that a notice leads to must not hide under the header */
.my-bid { scroll-margin-top: 90px; }
