/* Aviationary - optional feedback survey (survey.js), on the results screen. */
#survey { margin-top: 22px; display: flex; flex-direction: column; align-items: center; }
.survey-card { width: 100%; padding: 14px 14px 16px; text-align: left; }
.survey-head { display: flex; align-items: flex-start; gap: 8px; }
.survey-head h3 { flex: 1; margin: 0; font-family: var(--display); font-size: 1.15rem; }
.survey-head small { display: block; font-family: var(--body); font-size: .75rem; font-weight: 700; color: var(--muted); }
.survey-x { border: 0; background: none; color: var(--muted); font-size: 1.05rem; padding: 2px 6px; cursor: pointer; }
.survey-q { margin: 14px 0 8px; font-weight: 800; font-size: .95rem; }

.survey-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.survey-chips button, .survey-faces button {
  border: 2px solid #dfe9f1;
  background: #f4f9fd;
  color: var(--ink);
  border-radius: 999px;
  font: 700 .85rem var(--body);
  padding: 6px 11px;
  cursor: pointer;
}
.survey-chips button[aria-checked="true"] { background: #3f7fd6; border-color: #3f7fd6; color: #fff; }
.survey-faces { display: flex; gap: 6px; }
.survey-faces button { flex: 1; font-size: 1.5rem; padding: 4px 0; border-radius: 12px; line-height: 1.3; }
.survey-faces button[aria-checked="true"] { background: #fff3e8; border-color: var(--accent); transform: scale(1.06); }

.survey-other, #survey-comment {
  width: 100%;
  margin-top: 8px;
  border: 2px solid #dfe9f1;
  border-radius: 12px;
  padding: 9px 11px;
  font: 600 16px var(--body);       /* 16px so iPhones don't zoom in */
  color: var(--ink);
  background: #fff;
  resize: vertical;
}
#survey-comment { margin-top: 0; }
.survey-other:focus, #survey-comment:focus { outline: none; border-color: #3f7fd6; }

.survey-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.survey-skip { border: 0; background: none; color: var(--muted); font: 800 .9rem var(--body); cursor: pointer; padding: 8px; }
.survey-send { padding: 10px 26px; font-size: 1.05rem; }
.survey-send:disabled { opacity: .45; cursor: default; box-shadow: 0 5px 0 var(--accent-dark); transform: none; }
.survey-error { margin: 8px 0 0; color: #c2412d; font-weight: 700; font-size: .9rem; }
.survey-thanks { text-align: center; font-weight: 800; padding: 16px; }
.survey-link { border: 0; background: none; color: var(--on-sky); font: 800 .9rem var(--body); text-decoration: underline; cursor: pointer; padding: 6px; opacity: .85; }
