/* Start custom CSS for html, class: .elementor-element-2198acb *//* ===== استایل اصلاح‌شده سکشن سؤالات متداول و فرم سایدبار ===== */
.mh-faq-sec {
  width: 100%;
  max-width: var(--mh-container);
  margin: 0 auto 70px auto;
}

.mh-faq-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 45px;
}

/* --- ستون آکاردئون (راست) --- */
.mh-faq-content {
  flex: 1;
  min-width: 0;
}

.mh-faq-content .mh-sec-header {
  text-align: right;
  margin-bottom: 30px;
}

.mh-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mh-acc-item {
  background-color: var(--mh-surface);
  border-radius: 14px;
  overflow: hidden;
  border: none;
}

/* حذف فلش پیش‌فرض مرورگر از تگ summary */
.mh-acc-header {
  list-style: none !important;
  padding: 22px 28px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  user-select: none;
}

.mh-acc-header::-webkit-details-marker,
.mh-acc-header::marker {
  display: none !important;
  content: "" !important;
}

.mh-acc-title {
  color: var(--mh-navy);
  font-size: 1.05em;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  text-align: right;
}

/* آیکون مثبت و منفی فیروزه‌ای در سمت چپ */
.mh-acc-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mh-acc-icon::before,
.mh-acc-icon::after {
  content: "";
  position: absolute;
  background-color: var(--mh-cyan);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* خط افقی */
.mh-acc-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2.5px;
}

/* خط عمودی (در حالت بسته علامت + می‌سازد) */
.mh-acc-icon::after {
  top: 0;
  left: 5.75px;
  width: 2.5px;
  height: 14px;
}

/* تبدیل + به - هنگام باز بودن آکاردئون */
.mh-acc-item[open] .mh-acc-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.mh-acc-content {
  padding: 0 28px 24px 28px;
  color: var(--mh-text);
  font-size: 0.94em;
  line-height: 2;
  text-align: justify;
}

/* --- ستون فرم مشاوره (چپ) دقیقا مطابق طرح --- */
.mh-faq-sidebar {
  flex: 0 0 380px;
  max-width: 380px;
  position: sticky;
  top: 30px;
}

.mh-side-form-box {
  background: linear-gradient(7deg, #2b2b9e 0%, #00006a 100%);
  border-radius: 24px;
  padding: 42px 38px 36px 38px;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 106, 0.14);
  text-align: right;
}

.mh-side-form-title {
  color: #ffffff !important;
  font-size: 1.45em !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.4 !important;
  text-align: right !important;
}

.mh-side-form-subtitle {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.92em !important;
  line-height: 1.95 !important;
  margin: 0 0 34px 0 !important;
  text-align: right !important;
}

.mh-side-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0;
}

.mh-side-field {
  width: 100%;
}

.mh-side-input {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid #6c88c4 !important;
  border-radius: 0 !important;
  padding: 10px 4px !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.96em !important;
  text-align: right !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.25s ease;
}

.mh-side-input::placeholder {
  color: #8da6d6 !important;
  opacity: 1 !important;
}

.mh-side-input:focus {
  border-bottom-color: var(--mh-cyan) !important;
}

/* استایل دقیق دکمه سبز رنگ وسط‌چین مطابق طرح */
.mh-side-submit {
  background: linear-gradient(7deg, #28ab66 0%, #10d36b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 11px 28px !important;
  width: auto !important;
  min-width: 180px !important;
  min-height: 44px !important;
  font-family: inherit !important;
  font-size: 0.98em !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin: 6px auto 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(16, 211, 107, 0.22) !important;
  transition: all 0.25s ease !important;
}

.mh-side-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.mh-side-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed !important;
}

.mh-side-msg {
  text-align: center;
  font-size: 0.86em;
  margin-top: -14px;
  display: none;
}

.mh-side-msg.is-success {
  display: block;
  color: #4df099;
}

.mh-side-msg.is-error {
  display: block;
  color: #ff8b8b;
}

.mh-side-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}

.mh-side-avatars img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: 3px solid #141c80 !important;
  object-fit: cover !important;
  margin-left: -12px !important;
}

.mh-side-avatars img:last-child {
  margin-left: 0 !important;
}

@media (max-width: 991px) {
  .mh-faq-inner {
    flex-direction: column;
    gap: 40px;
  }
  .mh-faq-content {
    width: 100%;
  }
  .mh-faq-sidebar {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: static;
  }
}

@media (max-width: 575px) {
  .mh-side-form-box {
    padding: 35px 24px 30px 24px;
  }
  .mh-acc-header {
    padding: 18px 20px;
  }
  .mh-acc-content {
    padding: 0 20px 20px 20px;
  }
}/* End custom CSS */