/*
 * Aviso de actualización (D3.9, static/js/reload_notice.js). Se carga en todas las páginas
 * (templates/_reload_notice.html), también login y registro, así que solo usa tokens.css.
 */
.reload-notice-backdrop {
  position: fixed;
  inset: 0;
  /* Encima de todo: barra (1050), paneles y modales de cada página (≤ 1300). */
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 12, 24, 0.55);
}
.reload-notice-backdrop[hidden] { display: none; }

.reload-notice {
  width: min(420px, 100%);
  padding: 1.4rem 1.5rem 1.2rem;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  font-family: inherit;
}
.reload-notice-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.reload-notice-text {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  white-space: pre-line;
}
.reload-notice-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.reload-notice-btn {
  border-radius: var(--radius-sm, 8px);
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.reload-notice-btn:hover { background: var(--surface-2); }
.reload-notice-btn--primary {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}
.reload-notice-btn--primary:hover { background: var(--accent); filter: brightness(1.1); }
.reload-notice-btn:focus-visible { outline: 2px solid var(--accent-2, var(--accent)); outline-offset: 2px; }
