/**
 * feedback.css
 *
 * Styling for views/feedback.php, loaded only on that page (layouts/head.php). The form itself is the shared
 * css/lead-form.css (.lf-*); this file owns the page column, the 1-5 rating control and the Google review block.
 * Same palette as contact-us.css / lead-form.css.
 */

.fb-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px var(--wrap-gutter, 16px) 48px;
  color: #12233D;
}

.fb-heading {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 16px;
}

.fb-private {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid #1E40AF;
  border-radius: 6px;
  background: #EAF0FF;
  color: #12233D;
  font-size: 16px;
  line-height: 1.5;
}
.fb-private a { color: #1E40AF; font-weight: 600; }

.fb-copy {
  font-size: 16px;
  line-height: 1.6;
  color: #4B5A70;
  margin: 0 0 16px;
}

.fb-card {
  margin-bottom: 32px;
}

/* 1-5 rating: five equal pill buttons built from radio inputs, so keyboard and screen readers get a real radio group */
.fb-rating {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.fb-rating legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4B5A70;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fb-rating-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.fb-rating-option {
  position: relative;
}

.fb-rating-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.fb-rating-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border: 1px solid #DCE1E8;
  border-radius: 8px;
  background: #FFFFFF;
  color: #12233D;
  text-transform: none;
  letter-spacing: 0;
  pointer-events: none;
}

.fb-rating-num {
  font-size: 18px;
  font-weight: 700;
}

.fb-rating-word {
  font-size: 11px;
  font-weight: 400;
  color: #4B5A70;
}

.fb-rating-option input:checked + label {
  background: #1E40AF;
  border-color: #1E40AF;
  color: #FFFFFF;
}

.fb-rating-option input:checked + label .fb-rating-word {
  color: #FFFFFF;
}

.fb-rating-option input:focus-visible + label {
  outline: 2px solid #1E40AF;
  outline-offset: 2px;
}

.fb-review-heading {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.fb-review-link {
  display: inline-block;
  font-weight: 700;
  color: #1E40AF;
  text-decoration: none;
}

.fb-review-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .fb-rating-word {
    display: none;
  }
}
