/* Estilos personalizados de Club Amistad (complemento a Tailwind) */

:root {
  --brand: #0f172a;         /* Slate 900 - navy principal */
  --brand-accent: #0284c7;  /* Sky 600 - acento */
  --brand-light: #f8fafc;   /* Slate 50 - fondo */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  background: var(--brand-light);
  color: var(--brand);
}

.btn-primary {
  background-color: var(--brand);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  color: var(--brand);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background 0.15s;
}
.btn-ghost:hover { background: rgba(15, 23, 42, 0.05); }

.input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  outline: none;
}
.input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
}

.error-box {
  background: #fef2f2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

/* Impresión: solo mostrar elementos marcados como imprimibles */
@media print {
  body { background: white !important; }
  header, nav, .no-print, button, .btn-primary, .btn-ghost {
    display: none !important;
  }
  /* En viaje.html: ocultar secciones no imprimibles */
  #viajeForm > section:not(.print-section) { display: none !important; }
  #viajeForm > div#errorBox, #viajeForm > div.flex { display: none !important; }
  .card { box-shadow: none !important; border: 1px solid #e2e8f0; }
}
