/* QA Track H — guides / offer-your-services layout and form UX. */

body.page-guides .mpfy-page,
body.page-offer-your-services .mpfy-page {
  padding-bottom: 1.75rem;
}

body.page-guides .mpfy-page__content,
body.page-offer-your-services .mpfy-page__content {
  padding-top: 0.35rem;
}

body.page-guides .mpfy-page__title,
body.page-offer-your-services .mpfy-page__title {
  margin-bottom: 0.75rem;
}

body.page-guides .page-hero,
body.page-offer-your-services .page-hero {
  margin-bottom: 0.5rem;
}

body.page-guides .site-footer,
body.page-offer-your-services .site-footer {
  padding-top: 1rem;
}

.mpfy-guides-dir,
.mpfy-guide-form-wrap {
  margin-top: 0.75rem;
}

.mpfy-guide-form-wrap > .live-form,
.mpfy-guide-form-panel.live-form {
  margin-top: 0;
}

.mpfy-guide-form-panel .mpfy-guide-form {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mpfy-guide-form__intro {
  margin: 0 0 1.15rem;
  color: var(--text-muted, #5c574e);
  line-height: 1.55;
}

.mpfy-guide-form__hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted, #5c574e);
}

.mpfy-guide-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mpfy-guide-card:hover,
.mpfy-guide-card:focus-within {
  border-color: #3b185f;
  box-shadow: 0 6px 18px rgba(59, 24, 95, 0.08);
}

.mpfy-guide-card__link {
  cursor: pointer;
}

.mpfy-guide-card__link:focus-visible {
  outline: 2px solid #3b185f;
  outline-offset: 2px;
}

.mpfy-guide-profile__pending,
.mpfy-guide-form__ok,
.mpfy-guide-form__err,
.mpfy-guide-form__note {
  background: #f7f1e4;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #3b185f;
}

.mpfy-guide-form__ok {
  border-color: rgba(110, 127, 87, 0.45);
}

.mpfy-guide-form__err {
  color: #7a2e2e;
  border-color: rgba(155, 44, 44, 0.35);
}

.mpfy-guide-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted, #5c574e);
  margin-bottom: 1rem;
}

.mpfy-guide-form input,
.mpfy-guide-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(44, 42, 38, 0.1));
  background: var(--bg, #f8f5ef);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text, #2c2a26);
  box-sizing: border-box;
}

.mpfy-guide-form textarea {
  resize: vertical;
  min-height: 6rem;
}
