/* ═══════════════════════════════════════════════════
   MosquitData - index.css
   Estilos específicos de la página principal
═══════════════════════════════════════════════════ */

main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

/* ── FORM CARD ───────────────────────────────────── */
.form-card {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2.5rem 3rem;
  background: #fff;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.04);
  animation: slideUp 0.7s ease 0.2s both;
}
.form-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 400; margin-bottom: 1.8rem;
}

.field { margin-bottom: 1.4rem; }
.field label {
  display: block; font-size: 0.95rem;
  font-weight: 500; margin-bottom: 0.4rem; letter-spacing: 0.04em;
}
.field label .opt { font-weight: 300; color: var(--gray); font-size: 0.85rem; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 4px;
  padding: 0.55rem 0.8rem; font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--ink); background: #fafaf8;
  transition: border-color 0.2s; outline: none; resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}
.field textarea { min-height: 110px; }

/* ── LOCATION ROW ────────────────────────────────── */
.loc-row {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--gray); margin-bottom: 1.4rem;
}
#loc-status { flex: 1; }
.loc-btn {
  background: none; border: 1.5px solid var(--border); border-radius: 4px;
  padding: 0.3rem 0.7rem; font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; cursor: pointer; color: var(--ink);
}
.loc-btn:hover { background: var(--hover); }

/* ── RIGHT SIDE / CIRCLE ─────────────────────────── */
.right-side {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.8rem;
  animation: slideUp 0.7s ease 0.35s both;
}
.report-circle {
  width: 240px; height: 240px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.3rem; cursor: pointer; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.report-circle::before {
  content: ''; position: absolute; inset: 10px;
  border-radius: 50%; border: 1px solid var(--border); pointer-events: none;
}
.report-circle:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.report-circle:active { transform: scale(0.98); }
.circle-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; text-align: center; }

.terms-row {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.82rem; color: var(--gray); max-width: 280px;
}
.terms-row input[type="checkbox"] { margin-top: 2px; cursor: pointer; flex-shrink: 0; accent-color: var(--ink); }
.terms-row a { color: var(--ink); }

.mobile-submit {
  display: none; width: 100%; background: #fff;
  border: 1.5px solid var(--border); border-radius: 6px; padding: 1rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center; gap: 0.6rem;
  transition: background 0.2s; margin-top: 1rem;
}
.mobile-submit:hover { background: var(--hover); }
.mobile-terms { display: none; margin-top: 0.8rem; }

/* ── RESPONSIVE INDEX ────────────────────────────── */
@media (max-width: 720px) {
  main { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.5rem; }
  .right-side { display: none; }
  .mobile-submit { display: flex; }
  .mobile-terms { display: block; }
}

/* ── TOGGLE BUTTONS ─────────────────────────────── */
.toggle-group {
  display: flex; flex-wrap: nowrap; gap: 0.5rem; margin-top: 0.2rem;
}
.toggle-btn {
  background: none; border: 1.5px solid var(--border);
  border-radius: 4px; padding: 0.45rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; cursor: pointer; color: var(--gray);
  transition: all 0.18s; white-space: nowrap; flex: 1;
}
.toggle-btn:hover { border-color: var(--ink); color: var(--ink); }
.toggle-btn.selected {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
}

@media (max-width: 720px) {
  .toggle-btn { padding: 0.4rem 0.4rem; font-size: 0.82rem; }
}
  /* ── Toggle required shake ───────────────────────── */
@keyframes toggleShake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}