/* ------------------------------
   Fuente oficial Gibson (desde carpeta local FONTS)
--------------------------------*/
@font-face {
  font-family: 'Gibson';
  src: url('FONTS/gibson-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gibson';
  src: url('FONTS/gibson-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* ------------------------------
   Aplicación global
--------------------------------*/
body {
  font-family: 'Gibson', sans-serif;
  margin: 0;
  background-color: #f3f4f6;
  line-height: 1.5;
  color: #1f2937;
}

/* Si usas Tailwind con font-sans */
.font-sans {
  font-family: 'Gibson', sans-serif !important;
}

/* Clase alternativa explícita */
.gibson {
  font-family: 'Gibson', sans-serif;
}

/* Tipografía base */
strong, b {
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Formulario */
label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #374151;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background-color: white;
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #6A0F49;
  border-color: #6A0F49;
}

button {
  background-color: #6A0F49;
  color: white;
  font-weight: 700;
  cursor: pointer;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #550c3c;
}

/* Tooltips */
.tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 260px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltiptext img {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

/* Errores */
.error {
  color: red;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.input-error {
  border-color: red;
}
