/* closure-overlay.css - overlay bloccante per annuncio di chiusura */
.closure-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.closure-message {
  background: #ffffff;
  color: #111111;
  max-width: 680px;
  width: calc(100% - 48px);
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  text-align: left;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.45;
  outline: none; /* focus ring handled via :focus-visible if desired */
}

/* conserva i ritorni a capo nel testo */
.closure-message .body-text {
  white-space: pre-line;
  margin: 0 0 12px 0;
}

/* titolo */
.closure-message h1 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* dati azienda / firma */
.closure-message .company {
  margin: 12px 0 36px 0;
  font-weight: 700;
  text-align: right;
}

/* link alla mail */
.closure-message a {
  color: #0066cc;
  text-decoration: underline;
  word-break: break-all;
}

/* accessibilità: focus-visible */
.closure-message :focus-visible {
  outline: 3px solid rgba(0,123,255,0.25);
  outline-offset: 2px;
}

/* fallback per schermi piccoli */
@media (max-width: 420px) {
  .closure-message {
    padding: 20px;
    border-radius: 8px;
  }
}
