/* Generic restriction notices (overlays and pages) */
.snd-restriction-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snd-restriction-content {
  background: #fff;
  padding: 2rem;
  margin: 0 !important;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Unified title class for all restriction headings */
.snd-title {
  margin: 0 0 0.75rem 0;
  color: #3498db;
  font-size: 1.5rem;
}

.snd-restriction-header p {
  margin: 0 0 1.25rem 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

.snd-restriction-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.snd-restriction-actions .button {
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: #3498db; /* match account title blue */
  color: #fff;
  border: 1px solid rgba(0,0,0,0.04);
}

.snd-restriction-actions .button:hover {
  background: #2980b9;
  color: #fff;
}

.snd-restriction-actions .button:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}


/* Full-page notice container (e.g., backstage denied) */
.snd-restriction-message {
  padding: 2rem 0;
}

.snd-restriction-message .snd-title {
  margin-bottom: .75rem;
}

.snd-restriction-message .snd-text {
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .snd-restriction-actions { flex-direction: column; }
  .snd-restriction-actions .button { width: 100%; }
}
