.elementor-5007 .elementor-element.elementor-element-90b9c04{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for html, class: .elementor-element-6cf35ae *//* ==========================================================================
   Rahafarin VAT Calculator Page Stylesheet
   Isolated Class Scope: .rhf-vat-
   ========================================================================== */

.rhf-vat-page {
  --rhf-v-primary: #0f766e;
  --rhf-v-primary-dark: #115e59;
  --rhf-v-primary-light: #f0fdfa;
  --rhf-v-primary-border: #99f6e4;
  --rhf-v-accent: #0d9488;
  --rhf-v-text: #1e293b;
  --rhf-v-text-muted: #64748b;
  --rhf-v-bg: #f8fafc;
  --rhf-v-white: #ffffff;
  --rhf-v-border: #e2e8f0;
  --rhf-v-warn-bg: #fffbeb;
  --rhf-v-warn-border: #fde68a;
  --rhf-v-warn-text: #92400e;
  --rhf-v-radius: 16px;
  --rhf-v-shadow: 0 10px 30px -5px rgba(15, 118, 110, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);

  background-color: var(--rhf-v-bg);
  color: var(--rhf-v-text);
  font-family: inherit;
  line-height: 1.9;
  direction: rtl;
}

.rhf-vat-page *,
.rhf-vat-page *::before,
.rhf-vat-page *::after {
  box-sizing: border-box;
}

.rhf-vat-container {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

/* ---------------- Hero Section ---------------- */
.rhf-vat-hero {
  position: relative;
  background: linear-gradient(135deg, #042f2e 0%, var(--rhf-v-primary-dark) 50%, var(--rhf-v-primary) 100%);
  color: var(--rhf-v-white);
  padding: 64px 0 90px;
  text-align: center;
}

.rhf-vat-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.rhf-vat-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.4;
  color: #ffffff;
}

.rhf-vat-lead {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 2.1;
}

.rhf-vat-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rhf-vat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
}

.rhf-vat-pill strong {
  color: #a7f3d0;
}

/* ---------------- Main Content Layout ---------------- */
.rhf-vat-main {
  padding-bottom: 70px;
}

/* ---------------- Calculator Container Card ---------------- */
.rhf-vat-calculator-card {
  position: relative;
  z-index: 5;
  background: var(--rhf-v-white);
  border: 1px solid var(--rhf-v-border);
  border-radius: var(--rhf-v-radius);
  box-shadow: var(--rhf-v-shadow);
  padding: 32px;
  margin-top: -55px;
  margin-bottom: 36px;
}

.rhf-vat-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rhf-v-border);
  margin-bottom: 24px;
}

.rhf-vat-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--rhf-v-primary-light);
  color: var(--rhf-v-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  border: 1px solid var(--rhf-v-primary-border);
}

.rhf-vat-card-header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rhf-v-primary-dark);
}

.rhf-vat-card-header p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--rhf-v-text-muted);
}

.rhf-vat-shortcode-container {
  min-height: 40px;
  padding: 10px 0;
}

.rhf-vat-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--rhf-vat-border, #e2e8f0);
  font-size: 0.85rem;
  color: var(--rhf-v-text-muted);
}

/* ---------------- Content Article Blocks ---------------- */
.rhf-vat-content-block {
  background: var(--rhf-v-white);
  border: 1px solid var(--rhf-v-border);
  border-radius: var(--rhf-v-radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.rhf-vat-content-block h2 {
  position: relative;
  margin: 0 0 18px;
  padding-right: 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--rhf-v-primary-dark);
}

.rhf-vat-content-block h2::before {
  content: "";
  position: absolute;
  top: 0.35em;
  right: 0;
  width: 4px;
  height: 1.1em;
  border-radius: 99px;
  background: var(--rhf-v-primary);
}

.rhf-vat-content-block p {
  margin: 0 0 14px;
  color: #334155;
  text-align: justify;
}

.rhf-vat-content-block p:last-child {
  margin-bottom: 0;
}

/* ---------------- Breakdown Grid ---------------- */
.rhf-vat-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.rhf-vat-breakdown-item {
  background: var(--rhf-v-primary-light);
  border: 1px solid var(--rhf-v-primary-border);
  padding: 18px;
  border-radius: 12px;
}

.rhf-vat-breakdown-num {
  display: block;
  font-weight: 800;
  color: var(--rhf-v-primary-dark);
  font-size: 1rem;
  margin-bottom: 6px;
}

.rhf-vat-breakdown-item p {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
}

/* ---------------- Formulas & Examples ---------------- */
.rhf-vat-formula-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.rhf-vat-formula-card {
  background: #fafafa;
  border: 1px solid var(--rhf-v-border);
  border-radius: 12px;
  padding: 22px;
}

.rhf-vat-formula-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rhf-v-primary-dark);
}

.rhf-vat-formula-expression {
  background: #0f172a;
  color: #38bdf8;
  border-radius: 10px;
  padding: 16px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  direction: rtl;
  text-align: right;
  font-family: inherit;
}

.rhf-vat-formula-expression code {
  font-size: 0.92rem;
  font-weight: 600;
}

.rhf-vat-example {
  background: #ffffff;
  border: 1px dashed var(--rhf-v-border);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #334155;
}

.rhf-vat-example ul {
  margin: 8px 0 0;
  padding-right: 20px;
}

/* ---------------- Exemptions List (Article 9) ---------------- */
.rhf-vat-exempt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.rhf-vat-exempt-col {
  background: #f8fafc;
  border: 1px solid var(--rhf-v-border);
  border-radius: 12px;
  padding: 20px;
}

.rhf-vat-exempt-col h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rhf-v-primary-dark);
  border-bottom: 2px solid var(--rhf-v-primary-border);
  padding-bottom: 8px;
}

.rhf-vat-exempt-col ul {
  margin: 0;
  padding-right: 18px;
}

.rhf-vat-exempt-col li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #334155;
}

.rhf-vat-exempt-col li:last-child {
  margin-bottom: 0;
}

/* ---------------- Alerts / Notes ---------------- */
.rhf-vat-note-box,
.rhf-vat-warning-box {
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 18px;
  font-size: 0.92rem;
}

.rhf-vat-note-box {
  background: #f1f5f9;
  border-right: 4px solid var(--rhf-v-muted, #64748b);
  color: #334155;
}

.rhf-vat-warning-box {
  background: var(--rhf-v-warn-bg);
  border: 1px solid var(--rhf-v-warn-border);
  border-right: 4px solid #f59e0b;
  color: var(--rhf-v-warn-text);
}

/* ---------------- Steps Grid ---------------- */
.rhf-vat-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.rhf-vat-step {
  background: #fcfcfd;
  border: 1px solid var(--rhf-v-border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.rhf-vat-step-badge {
  width: 28px;
  height: 28px;
  background: var(--rhf-v-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.rhf-vat-step h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--rhf-v-primary-dark);
}

.rhf-vat-step p {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

/* ---------------- FAQ Accordion ---------------- */
.rhf-vat-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rhf-vat-faq-item {
  border: 1px solid var(--rhf-v-border);
  border-radius: 12px;
  background: var(--rhf-v-white);
  overflow: hidden;
}

.rhf-vat-faq-item summary {
  position: relative;
  padding: 16px 44px 16px 18px;
  color: var(--rhf-v-text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  font-size: 0.96rem;
}

.rhf-vat-faq-item summary::-webkit-details-marker {
  display: none;
}

.rhf-vat-faq-item summary::before {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--rhf-v-primary);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}

.rhf-vat-faq-item[open] summary {
  color: var(--rhf-v-primary-dark);
  background: var(--rhf-v-primary-light);
}

.rhf-vat-faq-item[open] summary::before {
  content: "−";
}

.rhf-vat-faq-body {
  padding: 16px 20px 20px;
  color: #475569;
  border-top: 1px solid var(--rhf-v-border);
  font-size: 0.92rem;
}

.rhf-vat-faq-body p {
  margin: 0;
}

/* ---------------- Disclaimer Footer ---------------- */
.rhf-vat-disclaimer {
  background: #f1f5f9;
  border: 1px solid var(--rhf-v-border);
  border-radius: 14px;
  padding: 24px;
  margin-top: 28px;
}

.rhf-vat-disclaimer h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #334155;
}

.rhf-vat-disclaimer p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--rhf-v-text-muted);
}

/* ---------------- Responsive Rules ---------------- */
@media (max-width: 768px) {
  .rhf-vat-hero {
    padding: 48px 0 74px;
  }

  .rhf-vat-calculator-card {
    padding: 20px 16px;
    margin-top: -45px;
  }

  .rhf-vat-content-block {
    padding: 22px 18px;
    margin-bottom: 18px;
  }

  .rhf-vat-formula-expression {
    padding: 12px;
    font-size: 0.85rem;
  }

  .rhf-vat-exempt-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-578c33cf *//* ماشین‌حساب مالیات بر ارزش افزوده */
.rf-vat-calculator {
	max-width: 520px;
	margin: 30px auto;
	padding: 26px;
	direction: rtl;
	text-align: right;
	font-family: inherit;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 18px;
	box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.rf-vat-calculator *,
.rf-vat-calculator *::before,
.rf-vat-calculator *::after {
	box-sizing: border-box;
}

.rf-vat-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	text-align: center;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rf-vat-header h3 {
	margin: 0 0 7px;
	color: #172033;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.6;
}

.rf-vat-header p {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	line-height: 1.7;
}

.rf-vat-field {
	margin-bottom: 17px;
}

.rf-vat-field label {
	display: block;
	margin-bottom: 7px;
	color: #334155;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
}

.rf-vat-field label span {
	color: #64748b;
	font-weight: 400;
}

.rf-vat-checkbox-label {
	display: flex !important;
	align-items: center;
	gap: 9px;
	cursor: pointer;
}

.rf-vat-checkbox-label input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: #2563eb;
	cursor: pointer;
}

.rf-vat-input-with-suffix {
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.9);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rf-vat-input-with-suffix:focus-within {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

.rf-vat-input-with-suffix input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 13px;
	border: 0 !important;
	outline: 0 !important;
	background: transparent;
	color: #0f172a;
	font-family: inherit;
	font-size: 15px;
	box-shadow: none !important;
}

.rf-vat-input-with-suffix span {
	display: flex;
	align-items: center;
	padding: 0 12px;
	border-right: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #64748b;
	font-size: 12px;
	white-space: nowrap;
}

.rf-vat-result {
	margin-top: 23px;
	padding: 14px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: rgba(248, 250, 252, 0.78);
}

.rf-vat-result-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 9px 0;
	color: #475569;
	font-size: 14px;
	line-height: 1.7;
}

.rf-vat-result-row strong {
	color: #1e293b;
	font-weight: 700;
	white-space: nowrap;
}

.rf-vat-tax-row {
	color: #b45309;
}

.rf-vat-tax-row strong {
	color: #d97706;
}

.rf-vat-result-rate {
	color: #b45309;
	font-size: 12px;
	font-weight: 500;
}

.rf-vat-total-row {
	margin-top: 6px;
	padding-top: 13px;
	border-top: 1px dashed #cbd5e1;
	color: #172033;
	font-size: 15px;
	font-weight: 700;
}

.rf-vat-total-row strong {
	color: #15803d;
	font-size: 17px;
}

.rf-vat-calculation-area[hidden] {
	display: none !important;
}

@media (max-width: 600px) {
	.rf-vat-calculator {
		margin: 20px 10px;
		padding: 20px 16px;
	}

	.rf-vat-header h3 {
		font-size: 18px;
	}

	.rf-vat-result-row {
		font-size: 13px;
	}
}/* End custom CSS */