/* تنسيقات الصفحة والأسئلة الشائعة */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #f8fafc;
  color: #0f172a;
  font-family: 'Cairo', sans-serif;
}

/* بطاقة السؤال الشائع المطابقة للصورة */
.faq-pill {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.025);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.faq-pill:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.faq-pill.is-open {
  border-color: #94a3b8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* الدائرة الرمادية المائلة للأزرق حول السهم */
.faq-icon-circle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9999px;
  background-color: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-pill:hover .faq-icon-circle {
  background-color: #e2e8f0;
}

.faq-pill.is-open .faq-icon-circle {
  background-color: #0f172a;
  color: #ffffff;
  transform: rotate(180deg);
}

/* حركة فتح وإغلاق الإجابة بسلاسة */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-pill.is-open .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

/* إخفاء شريط التمرير الأفقي في أزرار التنقل السريع على الجوال */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
