/* Botón amarillo */
.consulta-btn {
  background: #FFD200;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.consulta-btn:hover {
  background: #e6c500;
}

/* Modal overlay */
.miformularios-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

/* Caja interna */
.miformularios-modal .modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Botón cerrar */
.close-modal {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 1.3rem;
  color: #333;
  cursor: pointer;
}

/* Formulario general */
.miformularios-modal form {
  display: block;
  margin-top: 10px;
}

/* Filas de formulario */
.miformularios-modal form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* Etiquetas estándar */
.miformularios-modal form .form-row label {
  width: 30%;
  margin: 0;
  text-align: left;
  padding-right: 10px;
  font-weight: bold;
}

/* Inputs en filas estándar */
.miformularios-modal form .form-row input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* ----------------------------
   Full-width rows
   ---------------------------- */
/* Toda la fila en columna */
.miformularios-modal form .form-row.full {
  flex-direction: column;
  align-items: stretch;
}
/* Label full-width */
.miformularios-modal form .form-row.full label:first-child {
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
  padding-right: 0;
}
/* Textarea full-width */
.miformularios-modal form .form-row.full textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  min-height: 100px;
  resize: vertical;
}

/* Checkbox full-width */
.miformularios-modal form .form-row.full.privacy .privacy {
  display: flex;
  align-items: center;
  width: 100%;
}
.miformularios-modal form .form-row.full.privacy .privacy input {
  margin-right: 8px;
}

/* Botón enviar */
.miformularios-modal form .form-row button {
  flex: 1;
  max-width: 200px;
  margin-left: auto;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.miformularios-modal form .form-row button:hover {
  background: #222;
}

/* Notificación tipo “toast” */
.form-notice {
  position: fixed;
  bottom: 20px; right: 20px;
  background: #4BB543;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  animation: fadeInOut 5s ease forwards;
}
@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(10px); }
  10%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}
