/* PostPay — Customer feedback form (Help page)
   Loaded only by contact.html. Reuses style.css variables. */

.fb-field { margin-bottom: 16px; }
.fb-field label,
.fb-field legend {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text, #29262b);
  margin-bottom: 6px;
  padding: 0;
}
.fb-opt { font-weight: 500; color: var(--text-secondary); font-size: 11px; }

.fb-field input[type="text"],
.fb-field select,
.fb-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border, #E0E0E0);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--card, #fff);
  color: var(--text, #29262b);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.fb-field input[type="text"]:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  outline: none;
  border-color: var(--accent, #8B1530);
}
.fb-field textarea { min-height: 110px; resize: vertical; }

/* ── Star rating (DOM order 5→1 inside a row-reverse row, so visually 1→5;
      checked/hover rules then light up every star up to that value) ── */
.fb-rating { border: 0; padding: 0; margin: 0 0 4px; }
.fb-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 2px; }
.fb-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fb-row label {
  font-size: 34px;
  line-height: 1;
  color: #D7D2CC;
  cursor: pointer;
  padding: 4px 3px;
  border-radius: 6px;
  transition: color 0.12s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.fb-row label:hover { transform: scale(1.12); }
.fb-row input:checked + label,
.fb-row label:hover,
.fb-row label:hover ~ label { color: #F5B301; }
.fb-row input:focus-visible + label { outline: 2px solid var(--accent, #8B1530); outline-offset: 2px; }
#fb-rating-hint { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

/* Character counter */
.fb-count { display: block; text-align: right; font-size: 11px; color: var(--text-secondary); margin-top: 4px; }

/* Spam honeypot — visually hidden, never displayed or focusable */
.fb-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Status messages */
.fb-status {
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin: 10px 0;
  color: var(--text-secondary);
}
.fb-status.is-error {
  color: #C62828;
  background: #FFF1F0;
  border: 1px solid #FFCCC7;
  border-radius: 8px;
  padding: 10px 12px;
}
.fb-status.is-success {
  color: #2E7D32;
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: 8px;
  padding: 10px 12px;
}

#fb-submit { width: 100%; min-height: 46px; }
#fb-submit:disabled { opacity: 0.6; cursor: wait; }
