/* ═══════════════════════════════════════════════════════════
   In-Hand Salary Calculator — Complete CSS
   Prefix: ihs- (in-hand-salary)
   Site Design System: Dark #0A0F1C | Green Silo #10B981
   Font: DM Sans (matches site)
   ═══════════════════════════════════════════════════════════ */
/* Rank Math Breadcrumb Styling */
.rank-math-breadcrumb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}
.rank-math-breadcrumb a {
  color: #5A7090;
  text-decoration: none;
}
.rank-math-breadcrumb a:hover {
  color: #10B981;
}
.rank-math-breadcrumb .separator {
  color: #374B64;
  margin: 0 8px;
}
.rank-math-breadcrumb .last {
  color: #8899AA;
}

/* ── HERO ── */
.ihs-hero {
  text-align: center;
  padding: 48px 20px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.ihs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  color: #10B981;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ihs-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 14px;
  line-height: 1.2;
}

.ihs-hero-title span {
  color: #10B981;
}

.ihs-hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #8899AA;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.ihs-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ihs-htag {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #10B981;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px;
  padding: 6px 14px;
}

/* ── CALCULATOR SECTION ── */
.ihs-calc-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

.ihs-calc-card {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Green top accent */
.ihs-calc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #34D399, #059669);
}

/* Card Header */
.ihs-calc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(55,75,100,0.2);
}

.ihs-calc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16,185,129,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.ihs-calc-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.ihs-calc-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A7090;
}

/* ── FORM ── */
.ihs-form {
  padding: 28px 32px;
}

.ihs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .ihs-grid-2 { grid-template-columns: 1fr; }
  .ihs-form { padding: 20px 18px; }
  .ihs-calc-header { padding: 20px 18px 16px; }
}

.ihs-field-group {
  display: flex;
  flex-direction: column;
}

.ihs-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C8D8E8;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.ihs-label-unit {
  color: #5A7090;
  font-weight: 400;
}

.ihs-field-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A7090;
  margin-top: 5px;
}

/* Input wrapper */
.ihs-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ihs-input-icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: #5A7090;
  pointer-events: none;
  z-index: 1;
}

/* Inputs & Selects */
.ihs-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  background: rgba(10,15,28,0.6);
  border: 1px solid rgba(55,75,100,0.4);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.ihs-input::placeholder {
  color: #374B64;
}

.ihs-input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
  background: rgba(16,185,129,0.04);
}

/* Select arrow */
.ihs-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A7090' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.ihs-select option {
  background: #111B2E;
  color: #FFFFFF;
}

/* Percent input */
.ihs-pct-wrap .ihs-input {
  padding-left: 14px;
  padding-right: 40px;
}

.ihs-pct-suffix {
  position: absolute;
  right: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #5A7090;
  pointer-events: none;
}

/* Regime Group */
.ihs-regime-group {
  margin-bottom: 24px;
}

.ihs-regime-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .ihs-regime-toggle { grid-template-columns: 1fr; }
}

.ihs-regime-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(10,15,28,0.5);
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.ihs-regime-option input[type="radio"] {
  display: none;
}

.ihs-regime-option:hover {
  border-color: rgba(16,185,129,0.4);
  background: rgba(16,185,129,0.04);
}

.ihs-regime-active {
  border-color: rgba(16,185,129,0.5) !important;
  background: rgba(16,185,129,0.08) !important;
  box-shadow: 0 0 0 1px rgba(16,185,129,0.2);
}

.ihs-regime-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.ihs-regime-text strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.ihs-regime-text small {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A7090;
}

/* ── BUTTONS ── */
.ihs-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ihs-btn-calc {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #10B981;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.ihs-btn-calc:hover {
  background: #0EA573;
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
  transform: translateY(-1px);
}

.ihs-btn-calc:active {
  transform: scale(0.98);
}

.ihs-btn-icon {
  font-size: 16px;
}

.ihs-btn-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(55,75,100,0.4);
  color: #8899AA;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.ihs-btn-clear:hover {
  border-color: rgba(239,68,68,0.4);
  color: #F87171;
  background: rgba(239,68,68,0.06);
}

/* Error */
.ihs-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FCA5A5;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ihs-error.sc-visible {
  display: block;
  opacity: 1;
}

/* ── RESULTS ── */
.ihs-results {
  display: none;
  opacity: 0;
  padding: 0 32px 32px;
  border-top: 1px solid rgba(55,75,100,0.2);
}

.ihs-results.sc-visible {
  display: block;
  opacity: 1;
  animation: ihs-fade-up 0.5s ease-out;
}

@keyframes ihs-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .ihs-results { padding: 0 18px 24px; }
}

/* Result Banner */
.ihs-result-banner {
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(16,185,129,0.05) 100%);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 16px;
  margin: 28px 0 24px;
  overflow: hidden;
}

.ihs-result-main {
  padding: 28px 32px;
  text-align: center;
  flex-shrink: 0;
}

.ihs-result-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5A7090;
  margin-bottom: 8px;
}

.ihs-result-value {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #10B981;
  line-height: 1;
  letter-spacing: -1px;
}

.ihs-result-annual {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A7090;
  margin-top: 6px;
}

.ihs-result-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(55,75,100,0.3);
}

.ihs-result-meta {
  display: flex;
  flex: 1;
  padding: 20px 28px;
  gap: 0;
}

.ihs-meta-item {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(55,75,100,0.2);
}

.ihs-meta-item:last-child {
  border-right: none;
}

.ihs-meta-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #5A7090;
  margin-bottom: 6px;
}

.ihs-meta-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #C8D8E8;
}

.ihs-meta-deduct {
  color: #F87171;
}

@media (max-width: 860px) {
  .ihs-result-banner { flex-direction: column; }
  .ihs-result-divider { width: 100%; height: 1px; }
  .ihs-result-main { padding: 24px 20px 16px; }
  .ihs-result-meta { padding: 16px 20px 20px; flex-wrap: wrap; }
  .ihs-meta-item { min-width: 33%; border-right: none; }
}

/* Tables */
.ihs-table-section {
  margin-bottom: 20px;
}

.ihs-table-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #C8D8E8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ihs-table-note {
  font-size: 14px;
  font-weight: 400;
  color: #5A7090;
}

.ihs-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(55,75,100,0.3);
}

.ihs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
}

.ihs-table th {
  background: rgba(10,15,28,0.6);
  color: #8899AA;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(55,75,100,0.3);
}

.ihs-table th.sc-amount,
.ihs-table td.sc-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ihs-table td {
  padding: 12px 16px;
  color: #C8D8E8;
  border-bottom: 1px solid rgba(55,75,100,0.15);
  vertical-align: middle;
}

.ihs-table tbody tr:last-child td {
  border-bottom: none;
}

.ihs-table tbody tr:hover td {
  background: rgba(55,75,100,0.1);
}

.ihs-table .sc-row-deduction {
  color: #F87171;
}

.ihs-row-earnings td {
  color: #10B981;
}

.ihs-row-total td {
  background: rgba(245,158,11,0.06);
  font-weight: 700;
  border-top: 1px solid rgba(245,158,11,0.2);
}

/* Row dots */
.ihs-row-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.ihs-dot-green { background: #10B981; }
.ihs-dot-red   { background: #F87171; }
.ihs-dot-orange{ background: #F59E0B; }
.ihs-dot-blue  { background: #3B82F6; }

/* Explanation box */
.ihs-explanation {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  border-left: 4px solid #10B981;
  border-radius: 10px;
  padding: 16px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #8899AA;
  margin-bottom: 20px;
}

/* Override inner recommendation styles to match dark theme */
.ihs-explanation .sc-recommendation {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.ihs-explanation .sc-rec-new,
.ihs-explanation .sc-rec-old {
  background: rgba(16,185,129,0.1);
  border-left: 4px solid #10B981;
  color: #6EE7B7;
}

.ihs-explanation .sc-rec-neutral {
  background: rgba(59,130,246,0.1);
  border-left: 4px solid #3B82F6;
  color: #93C5FD;
}

.ihs-explanation .sc-explanation-body {
  color: #8899AA;
}

/* Clear results */
.ihs-clear-results-wrap {
  text-align: center;
  margin-top: 8px;
}

.ihs-btn-clear-results {
  background: transparent;
  border: 1px solid rgba(55,75,100,0.4);
  color: #5A7090;
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
}

.ihs-btn-clear-results:hover {
  border-color: rgba(239,68,68,0.4);
  color: #F87171;
  background: rgba(239,68,68,0.06);
}

/* ── TOAST ── (override base sc-toast styles for dark theme) */
.sc-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.sc-toast {
  padding: 12px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  max-width: 340px;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.sc-toast-show { opacity: 1; transform: translateX(0); }
.sc-toast-hide { opacity: 0; transform: translateX(40px); }

.sc-toast-error {
  background: rgba(239,68,68,0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239,68,68,0.3);
  border-left: 4px solid #EF4444;
}

.sc-toast-warning {
  background: rgba(245,158,11,0.15);
  color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.3);
  border-left: 4px solid #F59E0B;
}

.sc-toast-success {
  background: rgba(16,185,129,0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16,185,129,0.3);
  border-left: 4px solid #10B981;
}

/* ── SECTION SHARED ── */
.ihs-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.ihs-section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ihs-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.ihs-section-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #8899AA;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.ihs-hiw-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.ihs-hiw-card {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.ihs-hiw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #3B82F6, #8B5CF6, #F59E0B);
}

.ihs-hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 720px) {
  .ihs-hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ihs-hiw-card { padding: 28px 20px; }
}

@media (max-width: 400px) {
  .ihs-hiw-steps { grid-template-columns: 1fr; }
}

.ihs-hiw-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}

.s1 { background: rgba(16,185,129,0.15); color: #10B981; }
.s2 { background: rgba(59,130,246,0.15); color: #3B82F6; }
.s3 { background: rgba(139,92,246,0.15); color: #8B5CF6; }
.s4 { background: rgba(245,158,11,0.15); color: #F59E0B; }

.ihs-hiw-stepname {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.ihs-hiw-stepdesc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #8899AA;
  line-height: 1.65;
}

/* ── INFO SECTIONS ── */
.ihs-info-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ihs-info-block {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 16px;
  padding: 32px;
}

.ihs-info-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #10B981;
  margin: 0 0 16px;
}

.ihs-info-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #8899AA;
  line-height: 1.8;
  margin: 0 0 12px;
}

.ihs-info-text:last-child { margin-bottom: 0; }

.ihs-info-note {
  color: #5A7090;
  font-style: italic;
  margin-top: 16px;
}

/* Info cards (CTC vs Gross vs In-Hand) */
.ihs-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .ihs-info-cards { grid-template-columns: 1fr; }
  .ihs-info-block { padding: 24px 20px; }
}

.ihs-info-card {
  background: rgba(10,15,28,0.5);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(55,75,100,0.2);
}

.ihs-card-green { border-color: rgba(16,185,129,0.2); }
.ihs-card-blue  { border-color: rgba(59,130,246,0.2); }

.ihs-icard-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.ihs-icard-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.ihs-icard-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #8899AA;
  line-height: 1.65;
}

/* Regime Compare */
.ihs-regime-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

@media (max-width: 580px) {
  .ihs-regime-compare { grid-template-columns: 1fr; }
}

.ihs-rc-col {
  background: rgba(10,15,28,0.5);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(55,75,100,0.2);
}

.ihs-rc-head {
  padding: 12px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.ihs-rc-head-new {
  background: rgba(16,185,129,0.12);
  border-bottom: 1px solid rgba(16,185,129,0.2);
}

.ihs-rc-head-old {
  background: rgba(59,130,246,0.12);
  border-bottom: 1px solid rgba(59,130,246,0.2);
}

.ihs-rc-list {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ihs-rc-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #8899AA;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.ihs-rc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #10B981;
}

/* ── FAQ ── */
.ihs-faq-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.ihs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ihs-faq-item {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.ihs-faq-item:hover {
  border-color: rgba(16,185,129,0.3);
}

.ihs-faq-item.ihs-faq-open {
  border-color: rgba(16,185,129,0.4);
}

.ihs-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.ihs-faq-q::after {
  content: '+';
  font-size: 22px;
  color: #10B981;
  flex-shrink: 0;
  font-weight: 400;
  transition: transform 0.3s;
  line-height: 1;
}

.ihs-faq-item.ihs-faq-open .ihs-faq-q::after {
  transform: rotate(45deg);
}

.ihs-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #8899AA;
  line-height: 1.7;
}

.ihs-faq-item.ihs-faq-open .ihs-faq-a {
  padding: 0 20px 18px;
}

/* ── CTA ── */
.ihs-cta-section {
  text-align: center;
  padding: 60px 20px 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(16,185,129,0.03) 100%);
}

.ihs-cta-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.ihs-cta-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #8899AA;
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.ihs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10B981;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s;
}

.ihs-cta-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.25);
  color: #fff !important;
}

/* ── RELATED TOOLS + QUICK FACTS SECTION ── */
.ihs-related-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.ihs-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 860px) {
  .ihs-related-grid { grid-template-columns: 1fr; }
}

.ihs-related-block {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 16px;
  overflow: hidden;
}

/* Column header — mirrors ihs-rc-head style */
.ihs-related-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(16,185,129,0.1);
  border-bottom: 1px solid rgba(16,185,129,0.2);
}

.ihs-related-head-icon {
  font-size: 16px;
}

/* ── Related Tool Items ── */
.ihs-related-tools {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.ihs-rtool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(55,75,100,0.12);
  transition: background 0.2s;
  cursor: pointer;
}

.ihs-rtool-item:last-child {
  border-bottom: none;
}

.ihs-rtool-item:hover {
  background: rgba(16,185,129,0.05);
}

.ihs-rtool-item:hover .ihs-rtool-arrow {
  color: #10B981;
  transform: translateX(3px);
}

.ihs-rtool-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.ihs-rtool-text {
  flex: 1;
  min-width: 0;
}

.ihs-rtool-text strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C8D8E8;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ihs-rtool-text small {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A7090;
  line-height: 1.5;
}

.ihs-rtool-arrow {
  font-size: 14px;
  color: #374B64;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

/* View All row — slightly highlighted */
.ihs-rtool-viewall {
  background: rgba(16,185,129,0.04);
}

.ihs-rtool-viewall .ihs-rtool-text strong {
  color: #10B981;
}

/* ── Quick Salary Facts ── */
.ihs-facts-list {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.ihs-fact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(55,75,100,0.12);
  transition: background 0.2s;
}

.ihs-fact-item:last-child {
  border-bottom: none;
}

.ihs-fact-item:hover {
  background: rgba(55,75,100,0.08);
}

.ihs-fact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;
}

.ihs-fact-body {
  flex: 1;
}

.ihs-fact-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #C8D8E8;
  margin-bottom: 3px;
  line-height: 1.3;
}

.ihs-fact-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #5A7090;
  line-height: 1.65;
}

/* ── Number spinner hide ── */
.ihs-input::-webkit-outer-spin-button,
.ihs-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ihs-input[type=number] {
  -moz-appearance: textfield;
}

/* ── Print ── */
@media print {
  .sc-toast-container, .ihs-btn-calc, .ihs-btn-clear, .ihs-btn-clear-results { display: none !important; }
  .ihs-results { display: block !important; opacity: 1 !important; }
  .ihs-calc-card { box-shadow: none; border: 1px solid #ddd; }
}
