.faq-container {
  max-width: 900px;
  margin: 100px auto 50px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  border: 1px solid #e1e4e8;
}

.faq-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  margin-bottom: 40px;
}

.search-box {
  text-align: center;
  margin-bottom: 30px;
}

.search-box input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.faq-section {
  margin-top: 40px;
}

.category-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  background-color: #f1f5f9;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e2e8f0;
}

.icon {
  font-size: 22px;
  color: #4f46e5;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f8fafc;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  padding: 0 24px;
}

.faq-answer.show {
  max-height: 200px;
  background: #f9fafb;
  padding-bottom: 30px;
}

.faq-answer p {
  padding: 10px 0px;
}

.faq-item.open {
  border-color: #4f46e5;
}

.icon.open {
  transform: rotate(180deg);
}

.no-result {
  text-align: center;
  color: #94a3b8;
  font-size: 18px;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 20px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    font-size: 16px;
  }

  .category-title {
    font-size: 20px;
  }
}
