/* ── Newsletter-Verwaltung ── */

/* ── Modal ── */
.nl-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.nl-modal.show { display: flex; }
.nl-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
}

/* ── Bestätigungs-Modal Icon ── */
.nl-confirm-icon {
  font-size: 48px;
  color: var(--whic-green);
  margin-bottom: 12px;
}

/* ── Sign-Up Card ── */
.nl-signup-card {
  background: linear-gradient(135deg, #f0f7f1 0%, var(--whic-green-pale) 100%);
  border: 1px solid var(--whic-border);
  border-radius: var(--whic-radius);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.nl-signup-icon { font-size: 40px; color: var(--whic-green); flex-shrink: 0; }
.nl-signup-card h4 { font-family: Georgia, serif; font-size: 18px; margin: 0 0 6px; }
.nl-signup-card p { font-size: 14px; color: var(--whic-text-light); margin: 0 0 16px; }
.nl-doi-hint {
  font-size: 12px;
  color: var(--whic-text-light);
  margin-top: 12px;
}

/* ── Status (opted-in) ── */
.nl-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--whic-green-pale);
  color: var(--whic-green);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}
.nl-active-types {
  font-size: 13px;
  color: var(--whic-text-light);
  margin-top: 8px;
}

/* ── Type-Items im Modal ── */
.nl-type-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--whic-border);
}
.nl-type-item:last-child { border-bottom: none; }
.nl-type-icon { font-size: 20px; color: var(--whic-green); width: 28px; text-align: center; flex-shrink: 0; }
.nl-type-info { flex: 1; }
.nl-type-label { font-weight: 600; font-size: 14px; }
.nl-type-desc { font-size: 12px; color: var(--whic-text-light); margin-top: 2px; }

/* ── Save/Close-Button im Modal ── */
.nl-modal-save {
  margin-top: 20px;
  text-align: center;
}
.nl-modal-save .btn-whic-outline { width: 100%; }

/* ── Unsubscribe-Bereich ── */
.nl-unsubscribe {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--whic-border);
  text-align: center;
}
.nl-unsubscribe p {
  font-size: 13px;
  color: var(--whic-text-light);
  margin-bottom: 8px;
}
.nl-unsubscribe-btn {
  background: none;
  border: none;
  color: var(--whic-red);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}
.nl-unsubscribe-btn:hover { color: var(--whic-text); }

/* ── Opt-In Hint ── */
.nl-optin-hint {
  background: var(--whic-bg-alt);
  border: 1px solid var(--whic-border);
  border-radius: var(--whic-radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--whic-text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nl-optin-hint a {
  color: var(--whic-green);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.nl-optin-hint a:hover { text-decoration: underline; }

/* ── Übersichts-Status (kompakt) ── */
.nl-overview-active {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--whic-green-pale);
  border-radius: var(--whic-radius);
  font-size: 14px;
  color: var(--whic-green);
  font-weight: 500;
}
.nl-overview-link {
  margin-left: auto;
  font-size: 13px;
  cursor: pointer;
  opacity: 0.8;
}
.nl-overview-link:hover { opacity: 1; text-decoration: underline; }
