/* Public surveys: list + dynamic form (GAP-09 fase 1).
   Reutiliza provider-card/providers-state de public-pages.css. */

.survey-card .provider-avatar .material-symbols-outlined {
  font-size: 26px;
}

.survey-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.survey-shell {
  max-width: 760px;
}

.survey-shell [hidden] {
  display: none !important;
}

.survey-form {
  border: 1px solid rgba(31, 36, 147, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(31, 36, 147, .08);
  padding: clamp(20px, 4vw, 32px);
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.survey-field {
  display: grid;
  gap: 6px;
}
.survey-label {
  color: var(--bee-blue, #1f2493);
  font-size: 14px;
  font-weight: 800;
}
.survey-label em {
  color: var(--bee-muted, #5a6086);
  font-style: normal;
  font-weight: 700;
}
.survey-required {
  color: #b02a4c;
}
.survey-field input,
.survey-field select,
.survey-field textarea {
  border: 1px solid rgba(31, 36, 147, .2);
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  resize: vertical;
}
.survey-field input:focus,
.survey-field select:focus,
.survey-field textarea:focus {
  outline: 2px solid rgba(31, 36, 147, .35);
}
.survey-field small {
  line-height: 1.5;
}

.survey-status {
  margin: 0;
  font-size: 13px;
}

.survey-location { display: grid; gap: 9px; }
.survey-location-map { width: 100%; aspect-ratio: 2 / 1; border-radius: 18px; border: 1px solid rgba(31, 36, 147, .18); cursor: crosshair; touch-action: none; }
.survey-location-map:focus { outline: 3px solid rgba(31, 36, 147, .35); outline-offset: 2px; }
.map-ocean { fill: #e8f5fb; }
.map-grid { fill: none; stroke: #acd4e3; stroke-width: 1; stroke-dasharray: 4 5; }
.map-land { fill: #c5d99b; stroke: #78945a; stroke-width: 2; stroke-linejoin: round; }
.map-marker { pointer-events: none; }
.map-marker circle:first-child { fill: rgba(250, 215, 65, .45); stroke: #1f2493; stroke-width: 3; }
.map-marker circle:last-child { fill: #1f2493; }
.survey-location-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.survey-location-status { color: var(--bee-muted, #5a6086); }
@media (max-width: 540px) { .survey-location-controls { grid-template-columns: 1fr; } }
