/* ==============================================================================
   Sistema: Ecovía Comechingones (Smart City & Tourism)
   Creador y Desarrollador: Silvio Deandrea
   Copyright: © 2026 Silvio Deandrea. Todos los derechos reservados.
   Licencia: Propiedad Privada - Producto Protegido por Derechos de Autor.
   ============================================================================== */

/* Portal Vecino — paleta sky/cyan, mobile-first.
   No comparte estilos con admin (teal) ni sistema (slate). */

/* F44.10 — refresco "Sierra Comechingones" (shell común, acento sky propio):
   papel cálido + Fraunces + curvas de nivel + microinteracciones. El acento sky
   se mantiene como color distintivo del Portal Vecino (no se unifica a sierra). */
body   { background: #f7f5f0; }
#login { background: #f7f5f0; }
/* Fraunces self-hosteada (reusa la del Portal Turista; CSP font-src 'self' OK). */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/turismo/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
#login h1, #page-title, #view h2, #view h3, .font-display {
  font-family: 'Fraunces', ui-serif, Georgia, serif; font-optical-sizing: auto;
}
/* microinteracciones (respetan reduce-motion); foco visible en el sky del portal */
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #0369a1; outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .card-vecino { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .card-vecino:hover { transform: translateY(-2px); border-color: #7dd3fc; box-shadow: 0 10px 24px -12px rgba(3, 105, 161, .35); }
  #bottom-nav button { transition: color .15s ease, background .15s ease; }
}

#bottom-nav button.is-active {
  color: #0c4a6e;
  background: #e0f2fe;
}

.card-vecino {
  background: white;
  border: 1px solid #bae6fd;
  border-radius: 1rem;
  padding: 1rem;
}

.badge-estado {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.badge-Abierto      { background: #fee2e2; color: #991b1b; }
.badge-EnProceso    { background: #fef3c7; color: #92400e; }
.badge-Solucionado  { background: #d1fae5; color: #065f46; }
.badge-Rechazado    { background: #e5e7eb; color: #374151; }
.badge-Reservado    { background: #dbeafe; color: #1e3a8a; }
.badge-Asistido     { background: #d1fae5; color: #065f46; }
.badge-Cancelado    { background: #e5e7eb; color: #374151; }

.modal-backdrop-v {
  position: fixed; inset: 0;
  background: rgba(12, 74, 110, 0.55);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 50;
}
.modal-card-v {
  background: white;
  border-radius: 1.25rem 1.25rem 0 0;
  width: 100%;
  max-width: 32rem;
  padding: 1.25rem;
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 640px) {
  .modal-backdrop-v { align-items: center; }
  .modal-card-v { border-radius: 1.25rem; }
}

.markdown-noticia p { margin: 0.5em 0; }
.markdown-noticia { white-space: pre-wrap; line-height: 1.5; }
