/* Pretty Links public link creation form.
 *
 * Front-end shortcode [prli_create_form]. Pro-only; only enqueues when
 * `allow_public_link_creation` is on. Minimal styles — the enclosing
 * theme controls typography; we only shape layout + error block.
 */

.prli-public-form {
  margin: 24px 0;
}

.prli-public-form__label {
  margin: 0 0 8px;
  font-weight: 600;
}

.prli-public-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.prli-public-form__url {
  flex: 1 1 260px;
  min-width: 0;
  padding: 10px 14px;
  font: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
  color: inherit;
}

.prli-public-form__url:focus-visible {
  outline: 2px solid #01aae9;
  outline-offset: 2px;
}

.prli-public-form__submit {
  flex: 0 0 auto;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 8px;
  background: #01aae9;
  color: #fff;
  cursor: pointer;
}

.prli-public-form__submit:hover,
.prli-public-form__submit:focus-visible {
  background: #0189c0;
}

.prli-public-form__errors {
  list-style: none;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 3px solid #dc2626;
  background: #fef2f2;
  color: #7f1d1d;
}

.prli-public-form__errors li {
  margin: 0;
}
