/* ===== CONTENEDOR GENERAL ===== */
.faq-container {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  font-family: sans-serif;
}

/* ===== BUSCADOR ===== */
.faq-buscador {
  text-align: center;
  margin-bottom: 20px;
}

#faq-busqueda {
  width: 100%;
  padding: 10px;
  font-size: 16px;
}

/* ===== BLOQUES Y CABECERAS ===== */
.faq-bloque h3 {
  border-bottom: 2px solid #005680;
  margin-top: 30px;
  color: #005680;
}

/* ===== PREGUNTAS ===== */
.faq-pregunta {
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
  padding: 10px;
  background: #f0f8ff;
  border-radius: 6px;
  transition: background 0.3s;
}

.faq-pregunta:hover {
  background: #e0f0ff;
}

/* ===== RESPUESTAS ===== */
.faq-respuesta {
  display: none;
  margin: 10px 0 20px;
  padding: 10px;
  background: #fafafa;
  border-left: 3px solid #005680;
  border-radius: 4px;
  white-space: pre-line;
}

.faq-respuesta.abierta {
  display: block;
}

/* ===== FEEDBACK EMBEBIDO ===== */
.faq-feedback-inline {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  position: relative;
}

.faq-btn-feedback {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.faq-btn-feedback:hover {
  transform: scale(1.2);
}

.faq-feedback-msg {
  color: green;
  font-weight: bold;
}

/* ===== (OBSOLETO) MODAL FEEDBACK ANTERIOR ===== */
#faq-modal-utilidad {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex !important;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.faq-feedback-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.faq-feedback-box button {
  margin: 10px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
}

.faq-feedback-hidden {
  display: none !important;
}

