/* ===============================================
 * BQC FAQ STYLES
 * ===============================================
 * CSS cho phần hiển thị FAQ động (accordion)
 */

.bqc-est__faq {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.bqc-est__faq .bqc-est__label {
  margin-bottom: 1rem;
}

.bqc-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bqc-faq-item:hover {
  border-color: var(--bqc-accent, #DAA44F);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.bqc-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--bqc-primary, #2C365B);
  transition: all 0.2s ease;
  text-align: left;
  font-size: 0.9375rem;
}

.bqc-faq-question:hover {
  background: #f9fafb;
}

.bqc-faq-icon {
  font-size: 1.25rem;
  color: var(--bqc-accent, #DAA44F);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  font-weight: 400;
}

.bqc-faq-question:hover .bqc-faq-icon {
  transform: scale(1.2);
}

.bqc-faq-answer {
  padding: 0 1.25rem;
  color: #374151;
  line-height: 1.7;
  font-size: 0.9375rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bqc-faq-answer.active {
  max-height: 2000px;
  opacity: 1;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
}

.bqc-faq-answer.active {
  max-height: 2000px;
  opacity: 1;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
}

.bqc-faq-answer p {
  margin: 0 0 0.75rem 0;
  line-height: 1.6;
  color: #4b5563;
}

.bqc-faq-answer p:last-child {
  margin-bottom: 0;
}

.bqc-faq-answer ul,
.bqc-faq-answer ol {
  margin: 0 0 0.75rem 0;
  padding-left: 1.5rem;
  color: #4b5563;
}

.bqc-faq-answer ul li,
.bqc-faq-answer ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.bqc-faq-answer strong {
  color: var(--bqc-primary, #2C365B);
  font-weight: 600;
}

.bqc-faq-answer em {
  color: #6b7280;
  font-style: italic;
}

.bqc-faq-answer a {
  color: var(--bqc-accent, #DAA44F);
  text-decoration: none;
  font-weight: 500;
}

.bqc-faq-answer a:hover {
  text-decoration: underline;
}

/* Animation cho icon */
@keyframes rotateIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}

/* Responsive */
@media (max-width: 640px) {
  .bqc-faq-question {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }
  
  .bqc-faq-answer {
    font-size: 0.875rem;
  }
  
  .bqc-faq-answer.active {
    padding: 0.5rem 1rem 1rem 1rem;
  }
}
