.elementor-2248 .elementor-element.elementor-element-91a6497{--display:flex;}/* Start custom CSS for html, class: .elementor-element-0f76de0 *//* ظاهر کلی مثل Excel */
.acf-excel-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
  background: #ffffff; /* ✅ پس‌زمینه سفید */
}

/* سلول‌ها */
.acf-excel-table th,
.acf-excel-table td {
  border: 1px solid #d9d9d9;
  padding: 0.4em;
  text-align: right !important; /* ✅ RTL واقعی */
  vertical-align: middle;
  font-size: 14px;
  color: #000;
}

/* هدر دقیقاً مثل Excel */
.acf-excel-table th {
  background: #f2f2f2;
  font-weight: bold;
}

/* ردیف‌های راه‌راه خیلی ملایم */
.acf-excel-table tbody tr:nth-child(even) {
  background: #fcfcfc;
}

/* تصویر */
.acf-excel-table img {
  max-width: 55px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* لینک نمایش بیشتر شبیه سلول اکسل */
.cv-more-link {
  color: #0563c1; /* رنگ لینک اکسل */
  text-decoration: underline;
  font-size: 13px;
}

/* صفحه‌بندی ساده و تمیز */
.acf-pagination {
  margin-top: 15px;
  text-align: center;
  direction: rtl;
}

.acf-pagination a,
.acf-pagination span {
  padding: 5px 10px;
  margin: 0 2px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 13px;
}

.acf-pagination .current {
  background: #e6e6e6;
  font-weight: bold;
}
/* ===== Desktop ===== */
.acf-table-wrapper {
  width: 100%;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

  .acf-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .acf-excel-table {
    min-width: 900px; /* باعث می‌شود جدول نشکند */
    border-collapse: collapse;
  }

  .acf-excel-table th,
  .acf-excel-table td {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px;
  }

  .acf-excel-table img {
    max-width: 40px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .acf-excel-table th:nth-child(4),
  .acf-excel-table td:nth-child(4),
  .acf-excel-table th:nth-child(7),
  .acf-excel-table td:nth-child(7) {
    display: none;
  }
}

textarea, input:not([type="checkbox"]):not([type="radio"]) {
    appearance: none;
    outline: none;
    width: 100% !important;
    background-color: #ffffff;
}/* End custom CSS */