/* New menu items feedback. A plain page: title, then the "Help us keep it delicious!"
   survey. The form is inert in phase 1 — these rules only reproduce the look of the live one. */

.feedback-title {
  max-width: 1140px; margin: 0 auto 20px;
  font: 600 40px / 44px var(--font-sans); color: var(--navy);
}
.feedback-lead { margin: 0 0 14.4px; }

/* ---------- form ---------- */
.feedback-fields { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2%; row-gap: 16px; }
.ffield { margin: 0; padding: 0; border: 0; min-width: 0; }
.ffield-full { grid-column: 1 / -1; }
.ffield-half { grid-column: span 6; }

.ffield-label {
  display: block; padding: 0; margin: 0 0 8px;
  font: 300 16px / 31px var(--font-display);
  letter-spacing: 1.3px; color: var(--text);
}
label.ffield-label, span.ffield-label { line-height: 16px; }
/* Inside a legend the "(Required)" note keeps the 31px line-height it inherits, and its
   deeper descender makes that line 1px taller than the strut. */
legend.ffield-label .ffield-required { line-height: inherit; }
.ffield-required {
  padding-left: 4px; line-height: 1;
  font-size: .813rem; font-style: italic; color: #C02B0A;
}

.feedback-form input[type="text"],
.feedback-form input[type="number"],
.feedback-form select {
  padding: 8px; margin: 0; max-width: 100%;
  color: var(--text); background: var(--white);
  border: 1px solid #666666; border-radius: 3px;
}
.feedback-form input[type="text"],
.feedback-form input[type="number"] { font: 400 15px / 1.5 var(--font-serif); }
.feedback-form select { font: 400 15px / normal var(--font-display); }
.feedback-form .ffield-full > input[type="text"],
.feedback-form .ffield-full > select { width: 100%; }

/* date */
.ffield-date { display: flex; align-items: center; }
.ffield-date input { width: 156px; }
.ffield-date-toggle { margin-left: 12.8px; color: #444444; line-height: 0; }
.ffield-date-toggle svg { width: 20px; height: 20px; display: block; }

/* time */
.ffield-time { display: flex; align-items: flex-end; }
.ffield-time input { width: 64px; }
.ffield-time select { width: 64px; margin-left: 16px; }
.ffield-time-colon { padding: 0 8px; font-size: 22px; line-height: 44px; }

/* radio groups */
.ffield-choice { line-height: 31px; }
.ffield-choice input { width: 13px; height: 13px; margin: 0; font-size: 16px; vertical-align: middle; }
.ffield-choice label {
  display: inline-block; vertical-align: middle;
  font: 300 15px / 15px var(--font-serif); color: var(--text);
}

.feedback-footer { margin-top: 6px; padding: 16px 0; display: flex; }
.feedback-submit {
  margin-bottom: 8px; cursor: pointer;
  /* Gravity's button keeps a 1px transparent border, so it is 2px wider than the padding. */
  border: 1px solid transparent;
  font-size: 18.6667px; line-height: 28px;
}

@media (max-width: 1024px) { .feedback-title { max-width: 800px; } }
@media (max-width: 767px) { .feedback-title { max-width: none; padding: 0 10px; } }

@media (max-width: 641px) {
  .ffield-half { grid-column: 1 / -1; }
  /* Gravity's own small-screen rule: taller inputs for touch. */
  .feedback-form input[type="text"],
  .feedback-form input[type="number"] { line-height: 2; }
}
