.elementor-5032 .elementor-element.elementor-element-2bf7dce{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-5032 .elementor-element.elementor-element-f7062a4{--display:flex;}/* Start custom CSS for html, class: .elementor-element-34e6cc8 */:root {
  --rhf-bg-page: #f8fafc;
  --rhf-card-bg: #ffffff;
  --rhf-text-main: #1e293b;
  --rhf-text-muted: #64748b;
  --rhf-primary: #3b82f6;
  --rhf-primary-hover: #2563eb;
  --rhf-primary-soft: #eff6ff;
  --rhf-border: #e2e8f0;
  --rhf-border-focus: #bfdbfe;
  --rhf-success: #10b981;
  --rhf-warning-bg: #fffbeb;
  --rhf-warning-border: #fde68a;
  --rhf-warning-text: #92400e;
  --rhf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --rhf-shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --rhf-radius: 14px;
}

.rhf-light-webapp {
  direction: rtl;
  text-align: right;
  font-family: inherit;
  color: var(--rhf-text-main);
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--rhf-border);
  box-shadow: var(--rhf-shadow-md);
  margin: 15px auto;
  line-height: 1.8;
}

.rhf-light-webapp *,
.rhf-light-webapp *::before,
.rhf-light-webapp *::after {
  box-sizing: border-box;
}

.rhf-inner-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HERO (LIGHT THEME) ==================== */
.rhf-hero-light {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--rhf-border);
  padding: 40px 0 30px;
  text-align: center;
}

.rhf-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  background-color: var(--rhf-primary-soft);
  border: 1px solid #dbeafe;
  color: var(--rhf-primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.rhf-hero-h1 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 auto 12px;
  line-height: 1.5;
  max-width: 720px;
}

.rhf-hero-p {
  font-size: 14px;
  color: var(--rhf-text-muted);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.rhf-hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rhf-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--rhf-border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #475569;
  box-shadow: var(--rhf-shadow-sm);
}

/* ==================== SHORTCODE CONTAINER ==================== */
.rhf-calculator-area {
  background-color: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--rhf-radius);
  padding: 24px;
  margin: 30px 0 40px;
  box-shadow: var(--rhf-shadow-sm);
}

.rhf-calc-header {
  text-align: center;
  margin-bottom: 20px;
}

.rhf-calc-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.rhf-calc-desc {
  font-size: 13px;
  color: var(--rhf-text-muted);
}

/* ==================== SECTION & HEADINGS ==================== */
.rhf-content-section {
  padding: 25px 0;
}

.rhf-h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rhf-h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--rhf-primary);
  border-radius: 2px;
}

.rhf-sub-text {
  font-size: 13.5px;
  color: var(--rhf-text-muted);
  margin-bottom: 18px;
  text-align: justify;
}

/* ==================== CARDS GRID ==================== */
.rhf-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}

.rhf-info-card {
  background-color: #ffffff;
  border: 1px solid var(--rhf-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--rhf-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rhf-info-card:hover {
  border-color: var(--rhf-border-focus);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.rhf-card-icon-light {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--rhf-primary-soft);
  color: var(--rhf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: bold;
}

.rhf-info-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.rhf-info-card p {
  font-size: 12.5px;
  color: var(--rhf-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==================== FORMULA BOXES ==================== */
.rhf-formulas-wrap {
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
}

.rhf-formula-row {
  background-color: #f8fafc;
  border: 1px solid var(--rhf-border);
  border-radius: 10px;
  padding: 14px 16px;
}

.rhf-formula-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.rhf-formula-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.rhf-formula-law {
  font-size: 11.5px;
  color: var(--rhf-primary);
  background-color: var(--rhf-primary-soft);
  padding: 2px 8px;
  border-radius: 4px;
}

.rhf-formula-code-light {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
  direction: ltr;
  text-align: left;
  font-family: Consolas, Monaco, monospace;
  font-size: 12.5px;
  color: #0f172a;
  overflow-x: auto;
}

/* ==================== DATA TABLE ==================== */
.rhf-table-container-light {
  overflow-x: auto;
  border: 1px solid var(--rhf-border);
  border-radius: 12px;
  margin-bottom: 25px;
}

.rhf-light-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 600px;
}

.rhf-light-table th {
  background-color: #f1f5f9;
  color: #0f172a;
  padding: 11px 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--rhf-border);
}

.rhf-light-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--rhf-border);
  color: #475569;
}

.rhf-light-table tr:last-child td {
  border-bottom: none;
}

/* ==================== ACCORDION (FAQ) ==================== */
.rhf-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.rhf-faq-card {
  background: #ffffff;
  border: 1px solid var(--rhf-border);
  border-radius: 10px;
  padding: 12px 16px;
}

.rhf-faq-card summary {
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rhf-faq-card summary::-webkit-details-marker {
  display: none;
}

.rhf-faq-card summary::after {
  content: "+";
  font-size: 16px;
  color: var(--rhf-primary);
  font-weight: bold;
}

.rhf-faq-card[open] summary::after {
  content: "−";
}

.rhf-faq-card p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--rhf-text-muted);
  line-height: 1.7;
}

/* ==================== DISCLAIMER ==================== */
.rhf-alert-legal {
  background-color: var(--rhf-warning-bg);
  border: 1px solid var(--rhf-warning-border);
  border-right: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--rhf-warning-text);
  line-height: 1.7;
}

/* ==================== RESPONSIVE (MOBILE) ==================== */
@media (max-width: 900px) {
  .rhf-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rhf-inner-wrap {
    padding: 0 14px;
  }
  .rhf-hero-light {
    padding: 25px 0 20px;
  }
  .rhf-hero-h1 {
    font-size: 18px;
  }
  .rhf-hero-p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .rhf-h2 {
    font-size: 15px;
  }
  .rhf-grid-4 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .rhf-calculator-area {
    padding: 14px 10px;
    margin: 20px 0;
  }
  .rhf-formula-code-light {
    font-size: 11.5px;
  }
}
/* ===== ماشین‌حساب تسویه حساب ===== */
.tasviyeh-container,
.tasviyeh-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.tasviyeh-container {
    max-width: 540px;
    margin: 24px auto;
    padding: 28px 22px;
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
     color: #2b2f38;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    direction: rtl;
    text-align: right;
}

.tasviyeh-container .tasviyeh-title {
    margin: 0 0 22px 0;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #1d3557;
    line-height: 1.6;
}

.tasviyeh-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tasviyeh-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tasviyeh-field > label,
.tasviyeh-col > label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    line-height: 1.6;
}

/* ردیف دو ستونه تاریخ */
.tasviyeh-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tasviyeh-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* سه select کنار هم — کلید حل بهم‌ریختگی */
.tasviyeh-date-selects {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1.4fr;
    gap: 6px;
}

.tasviyeh-date-selects select {
    width: 100%;
    min-width: 0;
}

/* یکسان‌سازی ورودی‌ها */
.tasviyeh-form select,
.tasviyeh-form input {
    width: 100%;
    max-width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d6dae2;
    border-radius: 8px;
    font-size: 14px;
    line-height: 44px;
    font-family: inherit;
    color: #2b2f38;
    background-color: #fafbfc;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}

/* فلش سفارشی برای select */
.tasviyeh-form select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 14px;
    padding-left: 32px;
}

.tasviyeh-form select:focus,
.tasviyeh-form input:focus {
    border-color: #457b9d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(69,123,157,.12);
    background-color: #fff;
}

.tasviyeh-submit {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    background: #1d3557;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    line-height: 46px;
    transition: background .2s;
}

.tasviyeh-submit:hover {
    background: #274a77;
}

/* ===== بخش نتیجه ===== */
.tasviyeh-result {
    margin-top: 24px;
    border: 1px solid #dde7f0;
    border-radius: 10px;
    overflow: hidden;
}

.tasviyeh-result-head {
    background: #e8f0f8;
    color: #1d3557;
    font-weight: 700;
    padding: 12px 16px;
    font-size: 14px;
}

.tasviyeh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tasviyeh-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eef1f5;
    line-height: 1.8;
}

.tasviyeh-table td:first-child {
    color: #555;
    white-space: nowrap;
}

.tasviyeh-table td:last-child {
    text-align: left;
    font-weight: 600;
    direction: ltr;
}

.tasviyeh-table .tasviyeh-total td {
    background: #e9f7ef;
    color: #1e7a46;
    font-weight: 700;
    border-bottom: none;
    font-size: 15px;
}

.tasviyeh-note {
    padding: 10px 16px;
    font-size: 12px;
    color: #8a8f99;
    background: #f8f9fb;
    line-height: 1.9;
}

.tasviyeh-error {
    margin-top: 18px;
    padding: 12px;
    background: #fdecea;
    color: #c0392b;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* ===== موبایل ===== */
@media (max-width: 520px) {
    .tasviyeh-container {
        padding: 20px 14px;
    }
    .tasviyeh-row {
        grid-template-columns: 1fr;
    }
    .tasviyeh-date-selects {
        grid-template-columns: 1fr 1.6fr 1.4fr;
    }
}/* End custom CSS */