/* =============================================
   Estilos para el Centro de Ayuda FAQ (v3)
   ============================================= */

body {
  background-color: #f8f9fa;
}

/* --- 1. Hero y Buscador --- */
.faq-hero {
  background: linear-gradient(135deg, #005BA8, #003366);
  padding: 4rem 1.5rem;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
#faq-search-input {
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#faq-search-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.4);
}

/* --- 2. Tarjetas de Acciones Rápidas --- */
.action-card {
  text-decoration: none;
  border-radius: 16px;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid #e0e5ec;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 44, 92, 0.05);
}
.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 91, 168, 0.12);
  border-color: #005BA8;
}
.action-card i {
  font-size: 2.5rem;
  color: #005BA8;
  margin-bottom: 1rem;
  display: block;
}
.action-card h5 {
  color: #003366;
  font-weight: 600;
}
.action-card p {
  color: #6c757d;
}

/* --- 3. Explorar por Temas --- */
.topic-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  color: #343a40;
  font-weight: 500;
  border: 1px solid #e0e5ec;
  transition: all 0.2s ease-in-out;
}
.topic-link:hover {
  background-color: #f8f9fa;
  border-color: #005BA8;
  color: #005BA8;
}
.topic-link i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  color: #005BA8;
}

/* --- 4. Vista de Resultados y Acordeón --- */
.faq-list details {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e5ec;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0, 44, 92, 0.05);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #003366;
  cursor: pointer;
  padding: 1rem 1.5rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '\F288';
  font-family: 'bootstrap-icons';
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.faq-list details[open] > summary {
  color: #005BA8;
}
.faq-list details[open] > summary::after {
  transform: rotate(45deg);
  content: '\F62A';
}
.faq-list details .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #343a40;
  line-height: 1.7;
  border-top: 1px solid #e0e5ec;
  margin-top: 1rem;
}