/* Chronicles notes signup. Loaded after Brevo's stylesheet. */

.lonko-notes {
  margin: 1.75rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: left;
}

.lonko-notes-form,
.lonko-notes-form.sib-form {
  max-width: 28rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}

.lonko-notes-form .sib-form-container,
.lonko-notes-form #sib-container,
.lonko-notes-form .sib-container--large,
.lonko-notes-form .sib-container--vertical {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.lonko-notes-title {
  margin: 0 0 0.3rem;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lonko-notes-lead,
.lonko-notes-privacy {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lonko-notes-privacy {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
}

.lonko-notes-privacy a {
  color: var(--text);
  font-weight: 600;
}

.lonko-notes-form .sib-form-block {
  margin: 0 0 0.55rem;
  padding: 0;
}

.lonko-notes-form .entry__label {
  display: block;
  margin: 0 0 0.25rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.lonko-notes-form .entry__label[data-required]::after {
  content: " *";
  color: var(--text-muted);
  font-weight: 500;
}

.lonko-notes-form .entry__field,
.lonko-notes-form .form__entry {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.lonko-notes-form .entry__field .input {
  width: 100%;
  min-height: 2.25rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--bg-elevated) 55%, var(--bg));
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  box-shadow: none;
  appearance: none;
}

.lonko-notes-form .entry__field .input:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.lonko-notes-form .entry__field .input::placeholder {
  color: var(--text-muted);
  font-family: inherit;
  opacity: 1;
}

.lonko-notes-form .sib-form-block__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 2.25rem;
  margin: 0.15rem 0 0;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--brand-red);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
}

.lonko-notes-form .sib-form-block__button:hover,
.lonko-notes-form .sib-form-block__button:focus {
  background: var(--brand-red-hover);
  color: #fff;
}

.lonko-notes-form .sib-form-message-panel {
  display: none;
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.4rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
}

.lonko-notes-form .sib-form-message-panel[style*="block"],
.lonko-notes-form .sib-form-message-panel.sib-form-message-panel--active {
  display: block;
}

.lonko-notes-form #error-message {
  color: #661d1d;
  background: #ffeded;
  border: 1px solid #f3b4b4;
}

.lonko-notes-form #success-message {
  color: #085229;
  background: #e7faf0;
  border: 1px solid #b7e7c9;
}

[data-theme="dark"] .lonko-notes-form #error-message {
  color: #ffd4d4;
  background: #2a1214;
  border-color: #6b3030;
}

[data-theme="dark"] .lonko-notes-form #success-message {
  color: #d5f5e3;
  background: #102117;
  border-color: #1f5c38;
}

.lonko-notes-form .entry__error:empty {
  display: none;
}

.lonko-notes-form .input--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lonko-notes-form .progress-indicator__icon {
  display: none;
}
