/* ===== CALCTOOLKITS — INCOME TAX CALCULATOR STYLES ===== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
button,
input,
select,
textarea {
  max-width: 100%;
}

.tax-page-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 1rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ===== HERO HEADER ===== */
.tax-hero {
  text-align: center;
  padding: 2.25rem 1.25rem 1.75rem;
  background: linear-gradient(135deg, rgba(229, 50, 45, 0.06) 0%, rgba(245, 246, 250, 0.95) 100%);
  border-radius: 20px;
  border: 1px solid rgba(229, 50, 45, 0.15);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
}

.tax-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fef2f2;
  color: var(--accent, #e5322d);
  border: 1px solid rgba(229, 50, 45, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

.tax-hero-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900, #1d1d1f);
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.5px;
  word-break: break-word;
}

.tax-hero-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--gray-700, #444444);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== MAIN CALCULATOR GRID ===== */
.tax-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ===== INPUT COLUMN CARD ===== */
.tax-input-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8e8e8;
  width: 100%;
}

.card-header-bar h2,
.card-header-bar h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1d1d1f;
  word-break: break-word;
}

.pulse-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pulse-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

/* Form Groups */
.tax-form-group {
  margin-bottom: 1.35rem;
  width: 100%;
  box-sizing: border-box;
}

.label-with-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.4rem;
  width: 100%;
  box-sizing: border-box;
}

.tax-form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1d1d1f;
}

.income-formatted-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e5322d;
  background: #fef2f2;
  padding: 2px 55px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Financial Year & Tax Regime Grid Groups */
.financial-year-group,
.regime-toggle-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: #f8fafc;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  width: 100%;
  box-sizing: border-box;
}

.financial-year-option,
.toggle-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #444444;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.financial-year-option span,
.toggle-option span,
.toggle-option small {
  white-space: normal;
  word-break: break-word;
  width: 100%;
}

.toggle-option input {
  display: none;
}

.financial-year-option small,
.toggle-option small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #666666;
  margin-top: 2px;
}

.toggle-option.active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.toggle-option.active small {
  color: #e5322d;
}

/* Currency Input Wrapper */
.currency-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.currency-symbol {
  position: absolute;
  left: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #666666;
  pointer-events: none;
}

.tax-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.3rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: #1d1d1f;
  background: #f8fafc;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.tax-input:focus {
  background: #ffffff;
  border-color: #e5322d;
  box-shadow: 0 0 0 3.5px rgba(229, 50, 45, 0.12);
}

.readonly-input {
  background: #f1f5f9;
  color: #666666;
  padding-left: 1rem;
  border-style: dashed;
}

/* Preset Pills */
.quick-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.6rem;
  width: 100%;
  box-sizing: border-box;
}

.preset-pill {
  background: #f1f5f9;
  border: 1px solid #e8e8e8;
  color: #444444;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.preset-pill:hover,
.preset-pill:active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

.tax-select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #1d1d1f;
  background: #f8fafc;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.tax-select:focus {
  border-color: #e5322d;
  background: #ffffff;
}

/* Deductions Section Collapsible */
.deductions-collapsible {
  background: #f8fafc;
  border: 1.5px dashed #d5d5d5;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.35rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.deductions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e8e8e8;
}

.deductions-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1d1d1f;
}

.deduction-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.deduction-field {
  margin-bottom: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.deduction-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #444444;
  margin-bottom: 0.35rem;
}

.field-help {
  font-size: 0.76rem;
  color: #666666;
  margin-top: 3px;
  display: block;
}

/* Action Buttons */
.form-action-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.65rem;
  margin-top: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.btn-calculate {
  background: #e5322d;
  color: #ffffff;
  border: none;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(229, 50, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-height: 46px;
}

.btn-calculate:hover {
  background: #c9201b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 50, 45, 0.35);
}

.btn-reset {
  background: #f1f5f9;
  color: #444444;
  border: 1px solid #d5d5d5;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-height: 46px;
}

.btn-reset:hover {
  background: #e8e8e8;
  color: #1d1d1f;
}

/* ===== OUTPUT COLUMN CARDS ===== */
.tax-result-column {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
  box-sizing: border-box;
}

/* Comparison Banner */
.comparison-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 6px 25px rgba(5, 150, 105, 0.05);
  width: 92%;
  box-sizing: border-box;
}

.comp-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.comp-text h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 0.25rem;
}

.comp-text p {
  font-size: 0.92rem;
  color: #047857;
  line-height: 1.5;
}

/* Primary Result Card */
.tax-result-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8e8e8;
  width: 100%;
  flex-wrap: wrap;
}

.result-card-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1d1d1f;
}

.selected-regime-pill {
  font-size: 0.78rem;
  font-weight: 700;
  background: #fef2f2;
  color: #e5322d;
  border: 1px solid rgba(229, 50, 45, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.main-tax-amount {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 900;
  color: #1d1d1f;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  word-break: break-word;
}

/* Result Stats Row */
.result-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-box {
  background: #f8fafc;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 0.75rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

.stat-box.highlight-stat {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.stat-val {
  font-size: 1rem;
  font-weight: 800;
  color: #1d1d1f;
  word-break: break-word;
}

.text-green {
  color: #059669 !important;
}

.text-red {
  color: #e5322d !important;
}

/* Summary Breakdown List */
.summary-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #f8fafc;
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  margin-bottom: 1.25rem;
  width: 90%;
  box-sizing: border-box;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.summary-item .item-title {
  color: #444444;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.summary-item .item-value {
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.border-top-dash {
  border-top: 1px dashed #d5d5d5;
  padding-top: 0.55rem;
}

.summary-item.total-row {
  border-top: 2px solid #1d1d1f;
  padding-top: 0.65rem;
  margin-top: 0.2rem;
}

.summary-item.total-row .item-title {
  font-weight: 800;
  font-size: 1rem;
  color: #1d1d1f;
}

.summary-item.total-row .item-value {
  font-weight: 900;
  font-size: 1.15rem;
  color: #e5322d;
}

/* Action Bar */
.result-action-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
}

.btn-action-tool {
  background: #ffffff;
  border: 1.5px solid #d5d5d5;
  color: #444444;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

.btn-action-tool:hover {
  background: #f0f0f0;
  border-color: #1d1d1f;
  color: #1d1d1f;
}

/* Tax Slab Breakdown Table Card */
.slab-breakdown-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  width: 92%;
  box-sizing: border-box;
  overflow: hidden;
}

.slab-breakdown-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8e8e8;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.tax-slab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.tax-slab-table th {
  background: #f8fafc;
  color: #444444;
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 2px solid #e8e8e8;
  white-space: nowrap;
}

.tax-slab-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e8e8e8;
  color: #1d1d1f;
  font-weight: 600;
  white-space: nowrap;
}

.tax-slab-table tr:last-child td {
  border-bottom: none;
}

/* Visual Donut Chart Card */
.visual-chart-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.visual-chart-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8e8e8;
}

.chart-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.donut-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  border-radius: 50%;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.donut-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
}

.donut-pct {
  font-size: 1.05rem;
  font-weight: 900;
  color: #059669;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.green-dot {
  background: #10b981;
}

.red-dot {
  background: #ef4444;
}

.legend-details {
  display: flex;
  flex-direction: column;
}

.legend-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #666666;
}

.legend-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #1d1d1f;
}

/* SEO Content Cards */
.seo-content-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.seo-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.seo-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 0.85rem;
  letter-spacing: -0.3px;
}

.seo-card p {
  font-size: 1rem;
  color: #444444;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.subsection-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1d1d1f;
  margin: 1.5rem 0 0.65rem;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.seo-table th,
.seo-table td {
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  text-align: left;
}

.seo-table th {
  background: #f8fafc;
  color: #1d1d1f;
  font-weight: 700;
}

.seo-table td {
  color: #444444;
  line-height: 1.45;
}

.badge-free {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* FAQ Section */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.4rem;
}

.faq-answer {
  font-size: 0.94rem;
  color: #444444;
  line-height: 1.6;
  margin: 0 !important;
}

/* ===== TABLET RESPONSIVE RULES (<= 900px) ===== */
@media (max-width: 900px) {
  .tax-calc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .tax-hero {
    padding: 1.75rem 1rem 1.25rem;
    border-radius: 18px;
  }

  .tax-input-card,
  .tax-result-card,
  .slab-breakdown-card,
  .visual-chart-card,
  .seo-card {
    padding: 1.35rem 1rem;
    border-radius: 18px;
  }

  .result-stats-row {
    grid-template-columns: 1fr;
  }

  .form-action-row {
    grid-template-columns: 1fr;
  }

  .chart-flex-container {
    flex-direction: column;
    text-align: center;
  }

  .result-action-bar {
    grid-template-columns: 1fr;
  }
}

/* ===== SMALL MOBILE RESPONSIVE RULES (<= 480px) ===== */
@media (max-width: 480px) {
  .tax-page-wrapper {
    margin: 0.5rem auto 1.75rem;
    padding: 0 4px;
    width: 100%;
    max-width: 100%;
  }

  .tax-hero {
    padding: 1.25rem 0.65rem 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .tax-badge {
    font-size: 0.7rem;
    padding: 4px 9px;
    letter-spacing: 0.2px;
  }

  .tax-input-card,
  .tax-result-card,
  .slab-breakdown-card,
  .visual-chart-card,
  .seo-card {
    padding: 1rem 0.65rem;
    border-radius: 16px;
  }

  .card-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .card-header-bar h2 {
    font-size: 1.1rem;
  }

  /* Form Controls iOS Zoom Prevention (font-size >= 16px) */
  .tax-input,
  .tax-select {
    font-size: 16px !important;
    padding: 0.75rem 0.75rem 0.75rem 2.2rem;
    border-radius: 10px;
  }

  .tax-select {
    padding-left: 0.75rem;
  }

  .currency-symbol {
    left: 10px;
    font-size: 1rem;
  }

  .quick-preset-pills {
    gap: 4px;
  }

  .preset-pill {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .result-stats-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stat-box {
    padding: 0.7rem;
    border-radius: 10px;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .stat-val {
    font-size: 0.95rem;
  }

  .summary-breakdown-list {
    padding: 0.8rem;
    gap: 0.55rem;
  }

  .summary-item {
    font-size: 0.84rem;
  }

  /* Tables Mobile Touch Scroll */
  .tax-slab-table th,
  .tax-slab-table td,
  .seo-table th,
  .seo-table td {
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .table-responsive {
    border-radius: 10px;
    border: 1px solid #e8e8e8;
  }

  .deductions-collapsible {
    padding: 0.8rem;
    border-radius: 14px;
  }

  .comparison-banner {
    padding: 0.8rem;
    border-radius: 14px;
    gap: 0.65rem;
  }

  .comp-icon {
    font-size: 1.35rem;
  }

  .comp-text h4 {
    font-size: 0.95rem;
  }

  .comp-text p {
    font-size: 0.84rem;
  }

  .seo-card h2 {
    font-size: 1.25rem;
  }

  .seo-card p {
    font-size: 0.9rem;
  }
}