/* peertube-plugin-listmonk
   Base styles for the newsletter page. Uses PeerTube's CSS variables, so it works with any
   theme; themes can refine it through the .pt-listmonk classes. */

.pt-listmonk {
  max-width: 36rem;
  padding-block: 2rem 4rem;
}

.pt-listmonk__title {
  margin: 0 0 1rem;
}

.pt-listmonk__intro,
.pt-listmonk__consent {
  line-height: 1.55;
}

.pt-listmonk__intro > :last-child,
.pt-listmonk__consent > :last-child {
  margin-bottom: 0;
}

.pt-listmonk__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pt-listmonk__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pt-listmonk__field label {
  font-weight: 600;
}

.pt-listmonk__form .primary-button {
  align-self: flex-start;
  min-height: 44px;
}

.pt-listmonk__consent {
  color: var(--fg-300);
  font-size: 0.875rem;
}

.pt-listmonk__status {
  margin: 0;
  min-height: 1.5em;
}

.pt-listmonk__status--success {
  color: var(--green);
  font-weight: 600;
}

.pt-listmonk__status--error {
  color: var(--red);
  font-weight: 600;
}

/* Honeypot field: off-screen, not display:none (some bots skip hidden fields) */
.pt-listmonk__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
/* peertube-plugin-publicvideo-registration
   Basisopmaak van het paneel; werkt met elk theme via PeerTube's CSS-variabelen.
   Het publicvideo-theme verfijnt dit verder. */
.pv-registration-panel {
  line-height: 1.55;
}
.pv-registration-panel > :first-child { margin-top: 0; }
.pv-registration-panel > :last-child { margin-bottom: 0; }
.pv-registration-panel h1,
.pv-registration-panel h2,
.pv-registration-panel h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}
.pv-registration-panel ul,
.pv-registration-panel ol {
  padding-inline-start: 1.2em;
  margin: 0.75rem 0 0;
}
.pv-registration-panel li { margin-bottom: 0.25rem; }
.pv-registration-panel a { color: var(--primary); }
