/* FAQ Wrapper - Matches screenshot */
.faq-wrapper {
  margin: 2rem 0;
  padding: 0;
  max-width: 100%;
}

.faq-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

/* Accordion Container */
.faq-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* Individual FAQ Item */
.faq-item {
  border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Header Button - Exact screenshot styling */
.faq-header {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  transition: all 0.2s ease;
  position: relative;
}

.faq-header:hover {
  background: #f9fafb;
  color: #1f2937;
}

.faq-header:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Question Text */
.faq-question {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

/* Icon - Matches screenshot exactly */
.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

/* Body Content */
.faq-body {
  max-height: 0;
  overflow: hidden;
  background: #f9fafb;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-body p {
  margin: 1rem 0;
  padding-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Active States */
.faq-item.is-open .faq-header {
  background: #f8fafc;
  color: #1e40af;
  border-bottom: 2px solid;
}

.faq-item.is-open .faq-icon {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: rotate(0deg);
}

.faq-item.is-open .faq-body {
  padding: 1.1rem 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-wrapper {
    margin: 1.5rem 0;
  }
  
  .faq-header {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .faq-body {
    padding: 0 1.25rem;
  }
  
  .faq-body p {
    font-size: 0.9rem;
  }
}
