/* ═══════════════════════════════════════════════════════════
   Salary Breakup Calculator — CSS
   Prefix: sbc- (salary-breakup-calculator)
   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 ── */
.sbc-hero {
  text-align: center;
  padding: 48px 20px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.sbc-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;
}

.sbc-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;
}

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

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

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

.sbc-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 WRAPPER ── */
.sbc-calc-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

/* ── CARD — the #salary-breakup-calculator element itself ── */
#salary-breakup-calculator {
  font-family: 'DM Sans', sans-serif;
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

#salary-breakup-calculator * {
  box-sizing: border-box;
}

/* Green top accent bar */
#salary-breakup-calculator::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #34D399, #059669);
  z-index: 1;
}

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

.sbc-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;
}

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

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

/* ── CONTAINER INNER PADDING ── */
.sbc-container {
  padding: 28px 32px 32px;
}

@media (max-width: 600px) {
  .sbc-container { padding: 20px 18px 24px; }
  .sbc-calc-header { padding: 20px 18px 16px; }
}

/* ── INPUT SECTION ── */
.sbc-input-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

/* 2-column grid for CTC + Employment type */
.sbc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .sbc-grid-2 { grid-template-columns: 1fr; gap: 16px; }
}

.sbc-input-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Labels */
#salary-breakup-calculator label,
.sbc-input-group label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C8D8E8;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
  display: block;
}

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

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

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

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

/* ── INPUTS & SELECTS ──
   The JS references #sbc-ctc-input and #sbc-emp-type directly.
   These selectors must target the actual elements.
*/
#salary-breakup-calculator input[type="number"],
#salary-breakup-calculator select {
  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;
  -webkit-appearance: none;
  appearance: none;
}

#salary-breakup-calculator input[type="number"]::placeholder {
  color: #374B64;
}

#salary-breakup-calculator input[type="number"]:focus,
#salary-breakup-calculator select:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
  background: rgba(16,185,129,0.04);
}

/* Hide number spinners */
#salary-breakup-calculator input[type="number"]::-webkit-outer-spin-button,
#salary-breakup-calculator input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#salary-breakup-calculator input[type="number"] {
  -moz-appearance: textfield;
}

/* Select custom arrow */
#salary-breakup-calculator 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;
}

#salary-breakup-calculator select option {
  background: #111B2E;
  color: #FFFFFF;
}

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

/* Calculate button — JS targets by ID: #sbc-calculate-btn */
#salary-breakup-calculator button#sbc-calculate-btn {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.25s, box-shadow 0.25s, transform 0.1s;
  margin-top: 0;
}

#salary-breakup-calculator button#sbc-calculate-btn:hover {
  background-color: #0EA573;
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
  transform: translateY(-1px);
}

#salary-breakup-calculator button#sbc-calculate-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}

#salary-breakup-calculator button#sbc-calculate-btn:focus-visible {
  outline: 2px solid #10B981;
  outline-offset: 2px;
}

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

/* Clear All button */
.sbc-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;
}

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

/* ── ERROR MESSAGE ──
   JS targets: #sbc-error-msg .sbc-error
   Must be visible when text is set, hidden when empty.
*/
#salary-breakup-calculator .sbc-error {
  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;
  padding: 12px 16px;
  text-align: center;
  margin: 12px 0 0;
  min-height: 0;
  transition: opacity 0.3s;
}

#salary-breakup-calculator .sbc-error:empty {
  display: none;
}

/* ── HIDDEN STATE ── JS adds/removes this class */
#salary-breakup-calculator .sbc-hidden {
  display: none !important;
}

/* ── RESULT SECTION ── */
#sbc-result-section {
  border-top: 1px solid rgba(55,75,100,0.2);
  padding-top: 28px;
  animation: sbc-fade-up 0.45s ease-out;
}

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

/* ── CONTROLS / TOGGLE ── */
#salary-breakup-calculator .sbc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
}

#salary-breakup-calculator .sbc-toggle-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8899AA;
}

#salary-breakup-calculator .sbc-toggle-help {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #5A7090;
  margin-top: 0;
  margin-bottom: 24px;
}

/* ── TOGGLE SWITCH ──
   JS reads: .sbc-switch, input inside it, .sbc-slider
   All selectors must be preserved exactly.
*/
#salary-breakup-calculator .sbc-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

#salary-breakup-calculator .sbc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

#salary-breakup-calculator .sbc-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(55,75,100,0.6);
  transition: background-color 0.4s;
  border-radius: 34px;
}

#salary-breakup-calculator .sbc-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: #FFFFFF;
  transition: transform 0.4s;
  border-radius: 50%;
}

#salary-breakup-calculator input:checked + .sbc-slider {
  background-color: #10B981;
}

#salary-breakup-calculator input:checked + .sbc-slider:before {
  transform: translateX(24px);
}

#salary-breakup-calculator input:focus-visible + .sbc-slider {
  box-shadow: 0 0 0 3px rgba(16,185,129,0.3);
}

/* ── SUMMARY CARDS ──
   JS targets: .sbc-card-green, .sbc-card-blue, .sbc-card-red,
               .sbc-card-label, .sbc-card-value, #sbc-val-net,
               #sbc-val-gross, #sbc-val-deductions
*/
#salary-breakup-calculator .sbc-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  #salary-breakup-calculator .sbc-summary-cards {
    grid-template-columns: 1fr;
  }
}

#salary-breakup-calculator .sbc-card {
  padding: 18px 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

#salary-breakup-calculator .sbc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

#salary-breakup-calculator .sbc-card-green {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.25);
}

#salary-breakup-calculator .sbc-card-blue {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.25);
}

#salary-breakup-calculator .sbc-card-red {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.2);
}

#salary-breakup-calculator .sbc-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  color: #8899AA;
}

#salary-breakup-calculator .sbc-card-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

#salary-breakup-calculator .sbc-card-green .sbc-card-value {
  color: #10B981;
}

#salary-breakup-calculator .sbc-card-blue .sbc-card-value {
  color: #60A5FA;
}

#salary-breakup-calculator .sbc-card-red .sbc-card-value {
  color: #F87171;
}

/* ── TABLE HEADING ── */
.sbc-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;
}

/* ── TABLE ──
   JS targets: .sbc-table-container, .sbc-table, #sbc-table-body,
               .sbc-row-deduction, .sbc-row-total, .text-right
*/
#salary-breakup-calculator .sbc-table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(55,75,100,0.3);
  margin-bottom: 20px;
}

#salary-breakup-calculator .sbc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
}

#salary-breakup-calculator .sbc-table th {
  background: rgba(10,15,28,0.6);
  color: #8899AA;
  font-size: 13px;
  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);
}

#salary-breakup-calculator .sbc-table td {
  padding: 13px 16px;
  color: #C8D8E8;
  border-bottom: 1px solid rgba(55,75,100,0.15);
  vertical-align: middle;
  font-size: 15px;
}

#salary-breakup-calculator .sbc-table tbody tr:last-child td {
  border-bottom: none;
}

#salary-breakup-calculator .sbc-table tbody tr:hover td {
  background: rgba(55,75,100,0.1);
}

#salary-breakup-calculator .sbc-table .text-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Deduction rows — JS adds .sbc-row-deduction */
#salary-breakup-calculator .sbc-row-deduction td {
  color: #F87171;
}

/* Total row — JS adds .sbc-row-total */
#salary-breakup-calculator .sbc-row-total td {
  background: rgba(16,185,129,0.06);
  border-top: 1px solid rgba(16,185,129,0.2);
  color: #10B981;
  font-weight: 700;
  font-size: 15px;
}

/* ── CLEAR RESULTS ── */
.sbc-clear-results-wrap {
  text-align: center;
  margin-top: 8px;
}

.sbc-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;
}

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

/* ── TOAST NOTIFICATION ──
   JS appends a .sbc-toast div to #salary-breakup-calculator,
   then adds .sbc-toast-visible, .sbc-toast-success, .sbc-toast-error, .sbc-toast-info
   All four class names must be preserved exactly.
*/
#salary-breakup-calculator .sbc-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  max-width: 340px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* JS adds .sbc-toast-visible to show */
#salary-breakup-calculator .sbc-toast.sbc-toast-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

#salary-breakup-calculator .sbc-toast.sbc-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;
}

#salary-breakup-calculator .sbc-toast.sbc-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;
}

#salary-breakup-calculator .sbc-toast.sbc-toast-info {
  background: rgba(59,130,246,0.15);
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.3);
  border-left: 4px solid #3B82F6;
}

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

.sbc-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;
}

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

.sbc-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 ── */
.sbc-hiw-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 20px;
}

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 600px) {
  .sbc-info-block { padding: 24px 20px; }
}

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

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

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

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

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

@media (max-width: 600px) {
  .sbc-info-cards { grid-template-columns: 1fr; }
}

.sbc-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);
}

.sbc-card-g { border-color: rgba(16,185,129,0.2); }
.sbc-card-b { border-color: rgba(59,130,246,0.2); }

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

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

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

/* Private vs Government Compare */
.sbc-type-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

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

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

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

.sbc-tc-head-private {
  background: rgba(16,185,129,0.12);
  border-bottom: 1px solid rgba(16,185,129,0.2);
}

.sbc-tc-head-govt {
  background: rgba(59,130,246,0.12);
  border-bottom: 1px solid rgba(59,130,246,0.2);
}

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

.sbc-tc-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #8899AA;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

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

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

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

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

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

.sbc-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);
}

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

.sbc-related-tools {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.sbc-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;
}

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

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

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

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

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

.sbc-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;
}

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

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

.sbc-rtool-viewall { background: rgba(16,185,129,0.04); }
.sbc-rtool-viewall .sbc-rtool-text strong { color: #10B981; }

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

.sbc-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;
}

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

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

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

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

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

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

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

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

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

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

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

.sbc-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;
}

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

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

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

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

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

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

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

.sbc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10B981;
  color: #FFFFFF !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;
}

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

/* ── PRINT ── */
@media print {
  .sbc-btn-clear,
  .sbc-btn-clear-results,
  #salary-breakup-calculator button#sbc-calculate-btn,
  #salary-breakup-calculator .sbc-toast {
    display: none !important;
  }
  #salary-breakup-calculator .sbc-hidden {
    display: block !important;
  }
}
