/* mf: add requier rtl */

/* فقط منوهای افزونه: فونت ایران‌یکان */
#adminmenu li.toplevel_page_hmwp_settings,
#adminmenu li.toplevel_page_hmwp_settings .wp-submenu,
#adminmenu li.toplevel_page_hmwp_settings a,
#adminmenu li.toplevel_page_hmwp_settings .wp-menu-name,
#adminmenu li.toplevel_page_hmwp_settings .wp-submenu li a {
  font-family: iranyekan, Tahoma, Arial, sans-serif !important;
}

#wpbody-content {
  width: 98% !important;
  padding: 12px 15px 12px 0px !important;
}

.switch.switch-sm input:checked + label::after {
  margin-right: calc(-0.0625rem * 0.8) !important;
}
.hmwp_col.hmwp_col_side.p-0.m-0.mr-2,
.hmwp_col.flex-grow-1.px-3.py-3.mr-2.mb-3.bg-white {
  width: 98% !important;
}

.hmwp_col.hmwp_col_side.mr-2 {
  width: 99% !important;
}

.card-body.f-gray-dark.text-left.border-bottom ul.text-info {
  margin-right: 16px !important;
}

#report .text-black-50 {
  margin-top: 20px;
}

/* --- استایل بخش کارت‌های ویژگی (Features) - فضای بیشتر، کمتر فشرده --- */
.hmwp_features .row.row-cols-1.row-cols-md-3 {
  gap: 1.5rem 0;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
/* رفع فشردگی ناشی از Bootstrap: .col با flex-basis:0 و flex-grow:1 */
.hmwp_features .row .col {
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
  -ms-flex-positive: 0;
  flex-grow: 0;
  flex-shrink: 0;
  width: 33.333%;
  max-width: 33.333%;
  min-width: 280px;
  padding: 0 0.75rem !important;
  margin-bottom: 2rem !important;
}
@media (max-width: 991px) {
  .hmwp_features .row .col {
    width: 50%;
    max-width: 50%;
    min-width: 260px;
  }
}
@media (max-width: 576px) {
  .hmwp_features .row .col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
.hmwp_features .hmwp_feature.card {
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.hmwp_features .hmwp_feature .card-body {
  padding: 0.5rem 0 !important;
}
.hmwp_features .hmwp_feature .card-body > .text-center {
  padding-top: 1.25rem !important;
  padding-bottom: 0.5rem !important;
}
.hmwp_features .hmwp_feature .card-body .text-center .dashicons-before,
.hmwp_features .hmwp_feature .card-body .text-center .fa {
  height: 4rem !important;
  margin-bottom: 0.5rem !important;
}
.hmwp_features .hmwp_feature .card-body h5 {
  padding: 0.25rem 0.75rem !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
.hmwp_features .hmwp_feature .card-body .mx-3.my-3 {
  margin: 1rem 1.25rem 1.25rem !important;
  min-height: 72px !important;
  padding: 0.5rem 0 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}
.hmwp_features .hmwp_feature .card-body .mx-3.my-3 .small {
  padding-top: 0.5rem !important;
  padding-bottom: 0.25rem !important;
}
.hmwp_features .hmwp_feature .card-body .pt-3.pb-1 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.5rem !important;
}
.hmwp_features .hmwp_feature .card-footer {
  min-height: 56px;
  padding: 0.75rem 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.hmwp_features .hmwp_feature .card-footer .row {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 0.5rem !important;
}
.hmwp_features .hmwp_feature .card-footer .col-7,
.hmwp_features .hmwp_feature .card-footer .col-5 {
  display: flex;
  align-items: center;
  margin: 0;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}
.hmwp_features .hmwp_feature .card-footer .col-7 {
  justify-content: flex-start;
}
.hmwp_features .hmwp_feature .card-footer .col-5 {
  justify-content: flex-end;
}
.hmwp_features .hmwp_feature .card-footer .col-5 .hmwp_help {
  white-space: nowrap;
}
.hmwp_features .hmwp_feature .card-footer .checker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  flex: 1;
}
.hmwp_features .hmwp_feature .card-footer .checker .switch {
  font-size: 1rem;
}
.hmwp_features
  .hmwp_feature
  .card-footer
  .checker
  .switch.switch-sm
  input
  + label {
  min-width: calc(calc(2.375rem * 0.9) * 2);
  height: calc(2.375rem * 0.9);
  line-height: calc(2.375rem * 0.9);
}
.hmwp_features
  .hmwp_feature
  .card-footer
  .checker
  .switch.switch-sm
  input
  + label::before {
  width: calc(calc(2.375rem * 0.9) * 2);
}
.hmwp_features
  .hmwp_feature
  .card-footer
  .checker
  .switch.switch-sm
  input
  + label::after {
  width: calc(calc(2.375rem * 0.9) - 4px);
  height: calc(calc(2.375rem * 0.9) - 4px);
}
.hmwp_features .hmwp_feature .card-footer form.ajax_submit {
  margin: 0;
  width: 100%;
}
.hmwp_features .hmwp_feature .card-footer .btn.btn-sm.btn-default {
  min-height: 32px;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
}
.switch.switch-sm input:checked + label::after {
  right: calc(1.75rem * 0.8) !important;
  left: auto !important;
}
.hmwp_notice.notice {
  border-right: 4px solid #e5765c !important;
  border-left: 0 !important;
}
.hmwp_notice.notice a {
  padding-left: 10px;
}
.bootstrap-select .dropdown-toggle .filter-option {
  float: right !important;
  text-align: right !important;
}
#hmwp_wrap .hmwp_nav .hmwp_nav_item.active,
#hmwp_wrap .hmwp_nav .hmwp_nav_item:hover {
  border-right: 2px solid var(--hmwp-color-primary) !important;
  border-left: 0 !important;
}
