.elementor-5021 .elementor-element.elementor-element-5fc8cb31{--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-ff4a3ac *//* =========================================
   Rahafarin Salary Tax Calculator - 1405
   Isolated prefix: rhf-salary-tax-
========================================= */

.rhf-salary-tax-page {
  --rhf-tax-primary: #176b4a;
  --rhf-tax-primary-dark: #0d4f35;
  --rhf-tax-primary-light: #eaf7f0;
  --rhf-tax-text: #1e293b;
  --rhf-tax-muted: #64748b;
  --rhf-tax-border: #e2e8f0;
  --rhf-tax-bg: #f8fafc;
  --rhf-tax-white: #ffffff;
  --rhf-tax-warning-bg: #fff8e8;
  --rhf-tax-warning-border: #f4c967;
  --rhf-tax-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);

  color: var(--rhf-tax-text);
  font-family: inherit;
  line-height: 2;
  background: var(--rhf-tax-bg);
  overflow: hidden;
}

.rhf-salary-tax-page *,
.rhf-salary-tax-page *::before,
.rhf-salary-tax-page *::after {
  box-sizing: border-box;
}

.rhf-salary-tax-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Hero */
.rhf-salary-tax-hero {
  position: relative;
  padding: 72px 0 78px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(90, 205, 148, 0.26), transparent 33%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, var(--rhf-tax-primary-dark), var(--rhf-tax-primary));
}

.rhf-salary-tax-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 3px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.86rem;
  font-weight: 700;
}

.rhf-salary-tax-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.45;
}

.rhf-salary-tax-lead {
  max-width: 850px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.13rem);
  line-height: 2.1;
}

.rhf-salary-tax-hero-note {
  display: inline-block;
  max-width: 100%;
  margin-top: 26px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
}

/* Main */
.rhf-salary-tax-main {
  padding: 46px 0 72px;
}

.rhf-salary-tax-content-section {
  padding: 34px;
  margin-top: 26px;
  border: 1px solid var(--rhf-tax-border);
  border-radius: 18px;
  background: var(--rhf-tax-white);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.035);
}

.rhf-salary-tax-content-section h2,
.rhf-salary-tax-disclaimer h2 {
  position: relative;
  margin: 0 0 18px;
  padding-right: 15px;
  color: var(--rhf-tax-primary-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.7;
}

.rhf-salary-tax-content-section h2::before,
.rhf-salary-tax-disclaimer h2::before {
  position: absolute;
  top: 0.38em;
  right: 0;
  width: 5px;
  height: 1.15em;
  border-radius: 99px;
  background: var(--rhf-tax-primary);
  content: "";
}

.rhf-salary-tax-content-section h3 {
  margin: 0 0 12px;
  color: var(--rhf-tax-primary-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.rhf-salary-tax-content-section p {
  margin: 0 0 14px;
  color: #334155;
}

.rhf-salary-tax-content-section p:last-child {
  margin-bottom: 0;
}

/* Calculator box */
.rhf-salary-tax-calculator-box {
  position: relative;
  z-index: 2;
  padding: 34px;
  margin-top: -86px;
  border: 1px solid rgba(23, 107, 74, 0.13);
  border-radius: 20px;
  background: var(--rhf-tax-white);
  box-shadow: var(--rhf-tax-shadow);
}

.rhf-salary-tax-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--rhf-tax-border);
}

.rhf-salary-tax-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--rhf-tax-primary-dark);
  background: var(--rhf-tax-primary-light);
  font-size: 1.4rem;
  font-weight: 900;
}

.rhf-salary-tax-section-heading h2 {
  margin: 0;
  color: var(--rhf-tax-primary-dark);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.6;
}

.rhf-salary-tax-section-heading p {
  margin: 2px 0 0;
  color: var(--rhf-tax-muted);
  font-size: 0.92rem;
}

.rhf-salary-tax-shortcode {
  min-height: 50px;
}

.rhf-salary-tax-helper-text {
  padding-top: 18px;
  margin: 20px 0 0;
  border-top: 1px dashed var(--rhf-tax-border);
  color: var(--rhf-tax-muted);
  font-size: 0.86rem;
}

/* Highlight */
.rhf-salary-tax-highlight {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #ccebdc;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1fbf5, #e7f7ee);
}

.rhf-salary-tax-highlight-number {
  flex-shrink: 0;
  color: var(--rhf-tax-primary-dark);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  line-height: 1.5;
}

.rhf-salary-tax-highlight-text {
  display: flex;
  flex-direction: column;
  color: #334155;
  line-height: 1.75;
}

.rhf-salary-tax-highlight-text strong {
  color: var(--rhf-tax-primary-dark);
}

.rhf-salary-tax-highlight-text span {
  color: var(--rhf-tax-muted);
  font-size: 0.9rem;
}

/* Table */
.rhf-salary-tax-table-wrap {
  overflow-x: auto;
  margin: 20px 0 14px;
  border: 1px solid var(--rhf-tax-border);
  border-radius: 12px;
}

.rhf-salary-tax-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: right;
}

.rhf-salary-tax-table th,
.rhf-salary-tax-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rhf-tax-border);
}

.rhf-salary-tax-table th {
  color: #fff;
  background: var(--rhf-tax-primary-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.rhf-salary-tax-table td {
  color: #334155;
  background: #fff;
  font-size: 0.94rem;
}

.rhf-salary-tax-table tbody tr:nth-child(even) td {
  background: #fbfefd;
}

.rhf-salary-tax-table tbody tr:last-child td {
  border-bottom: 0;
}

.rhf-salary-tax-rate {
  display: inline-block;
  min-width: 54px;
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--rhf-tax-primary-dark);
  background: var(--rhf-tax-primary-light);
  text-align: center;
  font-weight: 800;
}

.rhf-salary-tax-rate-free {
  color: #237146;
  background: #dcf6e7;
}

.rhf-salary-tax-caption {
  color: var(--rhf-tax-muted) !important;
  font-size: 0.86rem;
}

/* Formula and example */
.rhf-salary-tax-formula-box {
  padding: 20px;
  margin: 20px 0;
  border-right: 4px solid var(--rhf-tax-primary);
  border-radius: 10px;
  background: #f6fbf8;
}

.rhf-salary-tax-formula-box p {
  margin-bottom: 8px;
  color: var(--rhf-tax-primary-dark);
}

.rhf-salary-tax-formula-box p:last-child {
  margin-bottom: 0;
}

.rhf-salary-tax-example {
  padding: 20px 24px;
  margin: 20px 0;
  border: 1px solid #dcece3;
  border-radius: 12px;
  background: #fbfefc;
}

.rhf-salary-tax-example ol {
  padding: 0 22px 0 0;
  margin: 0;
}

.rhf-salary-tax-example li {
  padding-right: 5px;
  margin-bottom: 8px;
  color: #334155;
}

.rhf-salary-tax-example li:last-child {
  margin-bottom: 0;
}

/* Tips */
.rhf-salary-tax-tips {
  padding: 22px;
  margin-top: 22px;
  border: 1px solid #cfe9dc;
  border-radius: 13px;
  background: #f7fcf9;
}

.rhf-salary-tax-tips ul {
  padding-right: 21px;
  margin: 0;
}

.rhf-salary-tax-tips li {
  margin-bottom: 8px;
  color: #334155;
}

.rhf-salary-tax-tips li:last-child {
  margin-bottom: 0;
}

/* FAQ */
.rhf-salary-tax-faq {
  display: grid;
  gap: 12px;
}

.rhf-salary-tax-faq-item {
  overflow: hidden;
  border: 1px solid var(--rhf-tax-border);
  border-radius: 12px;
  background: #fff;
}

.rhf-salary-tax-faq-item summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  color: var(--rhf-tax-text);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.8;
  list-style: none;
}

.rhf-salary-tax-faq-item summary::-webkit-details-marker {
  display: none;
}

.rhf-salary-tax-faq-item summary::before {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  color: var(--rhf-tax-primary);
  content: "+";
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.rhf-salary-tax-faq-item[open] summary {
  color: var(--rhf-tax-primary-dark);
  background: #f8fcfa;
}

.rhf-salary-tax-faq-item[open] summary::before {
  content: "−";
}

.rhf-salary-tax-faq-answer {
  padding: 0 18px 18px;
  color: #475569;
}

.rhf-salary-tax-faq-answer p {
  margin: 0;
}

/* Disclaimer */
.rhf-salary-tax-disclaimer {
  padding: 28px 32px;
  margin-top: 26px;
  border: 1px solid var(--rhf-tax-warning-border);
  border-radius: 16px;
  background: var(--rhf-tax-warning-bg);
}

.rhf-salary-tax-disclaimer h2 {
  color: #815900;
}

.rhf-salary-tax-disclaimer h2::before {
  background: #d49a13;
}

.rhf-salary-tax-disclaimer p {
  margin: 0;
  color: #5e4b1e;
}

/* Responsive */
@media (max-width: 767px) {
  .rhf-salary-tax-container {
    width: min(100% - 24px, 1120px);
  }

  .rhf-salary-tax-hero {
    padding: 52px 0 80px;
  }

  .rhf-salary-tax-hero-note {
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .rhf-salary-tax-main {
    padding: 30px 0 48px;
  }

  .rhf-salary-tax-calculator-box {
    padding: 22px 16px;
    margin-top: -58px;
    border-radius: 16px;
  }

  .rhf-salary-tax-content-section,
  .rhf-salary-tax-disclaimer {
    padding: 24px 18px;
    margin-top: 18px;
    border-radius: 14px;
  }

  .rhf-salary-tax-highlight {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
  }

  .rhf-salary-tax-section-heading {
    align-items: flex-start;
  }

  .rhf-salary-tax-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .rhf-salary-tax-table th,
  .rhf-salary-tax-table td {
    padding: 12px 14px;
  }

  .rhf-salary-tax-example,
  .rhf-salary-tax-tips,
  .rhf-salary-tax-formula-box {
    padding: 17px;
  }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-7287b29c */.tax-calc-container {
    max-width: 520px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
    border: 1px solid #eee;
}

.tax-header {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.tax-header h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #fff;
}

.tax-header p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.tax-body {
    padding: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: left;
    direction: ltr;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #3498db;
    outline: none;
}

.tax-settings-toggle {
    margin-bottom: 20px;
}

.settings-panel {
    padding: 15px;
    background: #fafbfc;
    border: 1px solid #eee;
    border-radius: 8px;
}

.settings-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.setting-item {
    margin-bottom: 12px;
}

.setting-item label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.82rem;
    color: #555;
    font-weight: 600;
}

.setting-item input {
    width: 100%;
    padding: 9px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
    text-align: left;
    direction: ltr;
}

.setting-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
}

.setting-grid .full-width {
    grid-column: 1 / -1;
}

.input-suffix {
    position: relative;
}

.input-suffix input {
    padding-left: 30px;
}

.input-suffix span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 0.85rem;
}

.reset-rates-btn {
    width: 100%;
    padding: 10px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.reset-rates-btn:hover {
    background: #c0392b;
}

.calc-btn {
    width: 100%;
    padding: 14px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.calc-btn:hover {
    background: #219150;
}

.results-wrapper {
    margin-top: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px dashed #ccc;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.result-row:last-of-type {
    border-bottom: none;
}

.result-row.highlight {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.05rem;
}

.result-row.main-tax {
    color: #e67e22;
    font-weight: bold;
}

.result-row .value {
    font-family: 'Segoe UI', Tahoma;
}

.breakdown-wrapper {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.breakdown-wrapper small {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-weight: bold;
}

.breakdown-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breakdown-wrapper ul li {
    padding: 5px 0;
    font-size: 0.82rem;
    color: #555;
    border-bottom: 1px dotted #e0e0e0;
}/* End custom CSS */