/* Hidden field - off-screen, not exposed to screen readers */
.form-field-website {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.subscribe-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subscribe-form label {
  font-weight: 500;
  margin-top: 0.5rem;
}

.subscribe-form input[type="email"],
.subscribe-form select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
}

.subscribe-form .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0;
}

.rubrik-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rubrik-select-all {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.rubrik-select-all > label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rubrik-select-all .format-radios-all {
  margin-left: 1.5rem;
}

.rubrik-select-all .format-radios-all label {
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.rubrik-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.rubrik-row > label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rubrik-row .format-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-left: 1.5rem;
}

.rubrik-row .format-radios label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.rubrik-row .format-radios label:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.delivery-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.delivery-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.delivery-group-heading {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.delivery-option {
  font-weight: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
  cursor: pointer;
}

.delivery-option.coming-soon {
  opacity: 0.7;
}

.delivery-option .delivery-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.delivery-inline-hint,
.delivery-inline-frequenz {
  margin-left: 1.5rem;
}

.rss-url-hint {
  font-family: monospace;
  font-size: 0.8rem;
  word-break: break-all;
}

.frequenz-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.frequenz-wrapper label {
  margin-top: 0;
}

.subscribe-form button {
  margin-top: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}

.subscribe-form button:hover {
  background: var(--accent-hover);
}

.form-message {
  padding: 0.75rem;
  border-radius: var(--radius);
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
