/* =======================================================================
   Net Salary Calculator Ireland 2026 – Calculator-Specific Styles
   Tokens inherited from ic-base.css :root
   ======================================================================= */

/* ---------- Additional salary-specific tokens ---------- */
.ic-salarycalc {
    --ic-clr-tax:      var(--ic-primary);
    --ic-clr-usc:      var(--ic-warn);
    --ic-clr-prsi:     #7C3AED;
    --ic-clr-pension:  #0EA5E9;
    --ic-clr-net:      var(--ic-success);
}
.ic-salarycalc { font-family: var(--ic-font); color: var(--ic-text); background: var(--ic-bg); border-radius: 16px; overflow: hidden; box-shadow: var(--ic-shadow); border: 1px solid var(--ic-border); max-width: 960px; margin: 0 auto; -webkit-font-smoothing: antialiased; }
.ic-salarycalc *, .ic-salarycalc *::before, .ic-salarycalc *::after { box-sizing: border-box; }

/* ---------- Title bar ---------- */
/* Managed by shared ic-base.css so all calculators stay aligned consistently. */

/* ---------- Top bar ---------- */
.ic-salarycalc .ic-sal-topbar { background: var(--ic-surface); padding: 24px 28px 20px; border-bottom: 1px solid var(--ic-border); }
.ic-salarycalc .ic-sal-main-inputs { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto auto; gap: 12px; align-items: end; }
.ic-salarycalc .ic-sal-input-group { display: flex; flex-direction: column; gap: 5px; }
.ic-salarycalc .ic-sal-input-group label { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-input-group input[type="number"],
.ic-salarycalc .ic-sal-input-group select {
    width: 100%; padding: 10px 14px; min-height: var(--ic-input-height);
    border: 1.5px solid var(--ic-input-border); border-radius: var(--ic-radius-sm);
    font-family: var(--ic-font); font-size: var(--ic-base-font-size); color: var(--ic-text);
    background: var(--ic-input-bg);
    transition: border-color .15s, box-shadow .15s, background .15s; outline: none; -moz-appearance: textfield;
}
.ic-salarycalc .ic-sal-input-group input::-webkit-inner-spin-button,
.ic-salarycalc .ic-sal-input-group input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ic-salarycalc .ic-sal-input-group input::placeholder { color: var(--ic-text-placeholder); }
.ic-salarycalc .ic-sal-input-group input:hover,
.ic-salarycalc .ic-sal-input-group select:hover { border-color: var(--ic-input-hover-border); background: var(--ic-input-hover-bg); }
.ic-salarycalc .ic-sal-input-group input:focus,
.ic-salarycalc .ic-sal-input-group select:focus { border-color: var(--ic-input-focus-border); box-shadow: 0 0 0 3px var(--ic-input-focus-ring); background: var(--ic-surface); }
.ic-salarycalc .ic-sal-input-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.ic-salarycalc .ic-input-prefix-wrap { position: relative; }
.ic-salarycalc .ic-input-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 500; color: var(--ic-text-light); pointer-events: none; z-index: 1; }
.ic-salarycalc .ic-input-has-prefix { padding-left: 30px !important; }
.ic-salarycalc .ic-error { display: block; min-height: 16px; font-size: 12px; font-weight: 500; color: var(--ic-error); line-height: 1.3; }

.ic-salarycalc .ic-sal-main-inputs > .ic-calc-btn,
.ic-salarycalc .ic-sal-main-inputs > .ic-reset-btn {
    align-self: start;
    margin-top: 24px;
    margin-bottom: 0;
}

/* Top bar buttons */
.ic-salarycalc .ic-sal-topbar .ic-calc-btn {
    padding: 10px 22px; border: none; border-radius: var(--ic-radius-sm);
    background: var(--ic-primary); color: #fff; font-family: var(--ic-font); font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background .15s, box-shadow .15s, transform .1s;
    box-shadow: 0 1px 4px rgba(30,58,138,.18); white-space: nowrap; height: 42px;
}
.ic-salarycalc .ic-sal-topbar .ic-calc-btn:hover { background: var(--ic-primary-hover); }
.ic-salarycalc .ic-sal-topbar .ic-calc-btn:active { transform: scale(.98); }
.ic-salarycalc .ic-sal-topbar .ic-reset-btn {
    padding: 10px 14px; border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm);
    background: var(--ic-surface); color: var(--ic-text-muted); font-family: var(--ic-font); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .15s; white-space: nowrap; height: 42px; display: inline-flex; align-items: center; gap: 5px;
}
.ic-salarycalc .ic-sal-topbar .ic-reset-btn:hover { border-color: var(--ic-border-strong); color: var(--ic-text); }

/* ---------- Advanced panel ---------- */
.ic-salarycalc .ic-sal-adv-row { padding-top: 12px; }
.ic-salarycalc .ic-sal-adv-toggle { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ic-font); font-size: 12px; font-weight: 600; color: var(--ic-primary); background: none; border: none; cursor: pointer; padding: 4px 0; letter-spacing: .02em; }
.ic-salarycalc .ic-sal-adv-toggle svg { transition: transform .2s; width: 12px; height: 12px; }
.ic-salarycalc .ic-sal-adv-toggle.active svg { transform: rotate(180deg); }
.ic-salarycalc .ic-sal-advanced { padding-top: 20px; animation: ic-salFadeIn .2s ease; }
.ic-salarycalc .ic-sal-adv-group { margin-bottom: 26px; padding: 0 0 6px; }
.ic-salarycalc .ic-sal-adv-group + .ic-sal-adv-group { padding-top: 4px; border-top: 2px solid var(--ic-border); }
.ic-salarycalc .ic-sal-adv-group-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ic-text-muted); margin-bottom: 16px; padding-bottom: 0; border-bottom: none; }
.ic-salarycalc .ic-sal-adv-hint { font-size: 12px; color: var(--ic-text-light); margin: 0 0 16px; line-height: 1.5; }
.ic-salarycalc .ic-sal-adv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 18px; }
.ic-salarycalc .ic-sal-adv-grid--profile { grid-template-columns: 1fr 1fr 1fr; gap: 20px 24px; }
.ic-salarycalc .ic-sal-adv-grid .ic-field { display: flex; flex-direction: column; gap: 5px; }
.ic-salarycalc .ic-sal-adv-grid .ic-field label { font-size: 11px; font-weight: 500; color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-adv-grid .ic-field input,
.ic-salarycalc .ic-sal-adv-grid .ic-field select { width: 100%; padding: 8px 12px; border: 1.5px solid var(--ic-input-border); border-radius: var(--ic-radius-sm); font-family: var(--ic-font); font-size: 14px; color: var(--ic-text); background: var(--ic-input-bg); outline: none; -moz-appearance: textfield; transition: border-color .15s, box-shadow .15s, background .15s; }
.ic-salarycalc .ic-sal-adv-grid .ic-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.ic-salarycalc .ic-sal-adv-grid .ic-field input:hover,
.ic-salarycalc .ic-sal-adv-grid .ic-field select:hover { border-color: var(--ic-input-hover-border); background: var(--ic-input-hover-bg); }
.ic-salarycalc .ic-sal-adv-grid .ic-field input:focus,
.ic-salarycalc .ic-sal-adv-grid .ic-field select:focus { border-color: var(--ic-input-focus-border); box-shadow: 0 0 0 3px var(--ic-input-focus-ring); background: var(--ic-surface); }
.ic-salarycalc .ic-sal-adv-grid .ic-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ic-salarycalc .ic-field-hint { font-size: 10px; color: var(--ic-text-light); line-height: 1.4; margin-top: 5px; padding-top: 2px; }
.ic-salarycalc .ic-sal-defaults-btn { margin-top: 14px; padding: 7px 16px; border: 1px dashed var(--ic-border-strong); border-radius: var(--ic-radius-sm); background: var(--ic-bg-muted); color: var(--ic-text-muted); font-family: var(--ic-font); font-size: 12px; font-weight: 500; cursor: pointer; transition: all .15s; }
.ic-salarycalc .ic-sal-defaults-btn:hover { border-color: var(--ic-primary); color: var(--ic-primary); background: var(--ic-primary-light); }

/* ---------- Assumption Chips ---------- */
.ic-salarycalc .ic-sal-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ic-salarycalc .ic-sal-chip { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 11px; font-weight: 500; color: var(--ic-primary); background: var(--ic-primary-light); border: 1px solid rgba(30,58,138,.1); border-radius: 20px; letter-spacing: .01em; }

/* ---------- Info Banner (second job warning etc.) ---------- */
.ic-salarycalc .ic-sal-info-banner { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ic-text-muted); background: var(--ic-bg-muted); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 10px 14px; margin-bottom: 16px; line-height: 1.5; }
.ic-salarycalc .ic-sal-info-banner svg { flex-shrink: 0; color: var(--ic-text-light); margin-top: 1px; }

/* ---------- USC Breakdown Table ---------- */
.ic-salarycalc .ic-sal-usc-table { border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); overflow: hidden; }
.ic-salarycalc .ic-sal-usc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--ic-border); font-size: 13px; align-items: center; }
.ic-salarycalc .ic-sal-usc-row:last-child { border-bottom: none; }
.ic-salarycalc .ic-sal-usc-row--header { background: var(--ic-bg-muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-usc-row--total { background: var(--ic-primary-light); font-weight: 600; }
.ic-salarycalc .ic-sal-usc-label { color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-usc-income { font-family: var(--ic-font-display); font-weight: 500; color: var(--ic-text-muted); text-align: right; min-width: 80px; }
.ic-salarycalc .ic-sal-usc-amount { font-family: var(--ic-font-display); font-weight: 600; color: var(--ic-text); text-align: right; min-width: 70px; }

/* ---------- PRSI Breakdown Grid ---------- */
.ic-salarycalc .ic-sal-prsi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ic-salarycalc .ic-sal-prsi-card { background: var(--ic-bg); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 16px 18px; }
.ic-salarycalc .ic-sal-prsi-card-label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ic-clr-prsi); margin-bottom: 8px; }
.ic-salarycalc .ic-sal-prsi-card-sub { font-size: 12px; color: var(--ic-text-muted); margin-bottom: 4px; }
.ic-salarycalc .ic-sal-prsi-card-rate { font-size: 13px; color: var(--ic-text-muted); margin-bottom: 4px; }
.ic-salarycalc .ic-sal-prsi-card-amount { font-family: var(--ic-font-display); font-size: 16px; font-weight: 700; color: var(--ic-text); margin-top: 4px; }
.ic-salarycalc .ic-sal-prsi-card-credit { font-size: 12px; color: var(--ic-success); margin-top: 4px; }

/* ---------- Why Payslip May Differ ---------- */
.ic-salarycalc .ic-sal-differs-list { display: flex; flex-direction: column; gap: 0; }
.ic-salarycalc .ic-sal-differs-item { padding: 14px 0; border-bottom: 1px solid var(--ic-border); }
.ic-salarycalc .ic-sal-differs-item:first-child { padding-top: 6px; }
.ic-salarycalc .ic-sal-differs-item:last-child { border-bottom: none; padding-bottom: 4px; }
.ic-salarycalc .ic-sal-differs-title { font-size: 13px; font-weight: 600; color: var(--ic-text); margin-bottom: 5px; }
.ic-salarycalc .ic-sal-differs-desc { font-size: 12px; color: var(--ic-text-muted); line-height: 1.6; }

/* ---------- Empty state ---------- */
.ic-salarycalc .ic-results-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 60px 20px; }
.ic-salarycalc .ic-empty-icon-wrap { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ic-primary-light); margin-bottom: 6px; }
.ic-salarycalc .ic-empty-icon { width: 28px; height: 28px; color: var(--ic-primary); }
.ic-salarycalc .ic-empty-title { font-family: var(--ic-font-display); font-size: 16px; font-weight: 700; color: var(--ic-text); margin: 0; }
.ic-salarycalc .ic-empty-desc { font-size: 13px; color: var(--ic-text-muted); margin: 0; max-width: 280px; line-height: 1.5; }

/* ---------- Results dashboard ---------- */
.ic-salarycalc .ic-sal-dashboard { padding: 28px; }
.ic-salarycalc .ic-sal-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; margin-bottom: 20px; }
.ic-salarycalc .ic-sal-hero-left { display: flex; flex-direction: column; gap: 12px; }
.ic-salarycalc .ic-sal-net-card { background: var(--ic-primary); color: #fff; border-radius: var(--ic-radius); padding: 22px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ic-salarycalc .ic-sal-net-label,
.ic-salarycalc .ic-sal-net-value,
.ic-salarycalc .ic-sal-net-sub { text-align: center; width: 100%; }
.ic-salarycalc .ic-sal-net-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.ic-salarycalc .ic-sal-net-value { font-family: var(--ic-font-display); font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.ic-salarycalc .ic-sal-net-sub { font-size: 12px; opacity: .65; margin-top: 4px; }
.ic-salarycalc .ic-sal-rates { display: flex; gap: 10px; }
.ic-salarycalc .ic-sal-rate-badge { flex: 1; background: var(--ic-surface); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 12px 14px; text-align: center; }
.ic-salarycalc .ic-sal-rate-badge-label { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ic-text-light); }
.ic-salarycalc .ic-sal-rate-badge-value { font-family: var(--ic-font-display); font-size: 20px; font-weight: 700; color: var(--ic-text); margin-top: 2px; }

/* ---------- Donut chart ---------- */
.ic-salarycalc .ic-sal-donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ic-salarycalc .ic-sal-donut { width: 180px; height: 180px; border-radius: 50%; position: relative; transition: background .4s ease; }
.ic-salarycalc .ic-sal-donut::after { content: ''; position: absolute; inset: 28%; border-radius: 50%; background: var(--ic-bg); }
.ic-salarycalc .ic-sal-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
.ic-salarycalc .ic-sal-donut-center-label { font-size: 10px; font-weight: 600; color: var(--ic-text-light); text-transform: uppercase; letter-spacing: .04em; }
.ic-salarycalc .ic-sal-donut-center-value { font-family: var(--ic-font-display); font-size: 18px; font-weight: 800; color: var(--ic-text); }
.ic-salarycalc .ic-sal-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.ic-salarycalc .ic-sal-legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ---------- Frequency tabs ---------- */
.ic-salarycalc .ic-sal-freq-tabs { display: flex; gap: 4px; background: var(--ic-tab-bg); border-radius: var(--ic-radius-sm); padding: 3px; margin-bottom: 16px; }
.ic-salarycalc .ic-sal-freq-tab { flex: 1; padding: 8px 6px; border: none; border-radius: 6px; background: transparent; font-family: var(--ic-font); font-size: 12px; font-weight: 500; color: var(--ic-text-muted); cursor: pointer; transition: all .15s; text-align: center; }
.ic-salarycalc .ic-sal-freq-tab:hover { color: var(--ic-text); background: var(--ic-tab-hover-bg); }
.ic-salarycalc .ic-sal-freq-tab.active { background: var(--ic-tab-active-bg); color: var(--ic-tab-active-text); font-weight: 600; box-shadow: var(--ic-tab-active-shadow); }

/* ---------- Breakdown table ---------- */
.ic-salarycalc .ic-sal-breakdown { background: var(--ic-surface); border: 1px solid var(--ic-border); border-radius: var(--ic-radius); overflow: hidden; margin-bottom: 20px; }
.ic-salarycalc .ic-sal-bk-row { display: flex; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--ic-border); font-size: 14px; gap: 10px; }
.ic-salarycalc .ic-sal-bk-row:last-child { border-bottom: none; }
.ic-salarycalc .ic-sal-bk-row--header { background: var(--ic-bg-muted); padding: 10px 18px; }
.ic-salarycalc .ic-sal-bk-row--header span { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-bk-row--total { background: var(--ic-primary-light); font-weight: 600; }
.ic-salarycalc .ic-sal-bk-row--net { background: var(--ic-success-light); font-weight: 600; }
.ic-salarycalc .ic-sal-bk-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ic-salarycalc .ic-sal-bk-label { flex: 1; color: var(--ic-text-muted); font-weight: 400; }
.ic-salarycalc .ic-sal-bk-row--total .ic-sal-bk-label,
.ic-salarycalc .ic-sal-bk-row--net .ic-sal-bk-label { color: var(--ic-text); font-weight: 600; }
.ic-salarycalc .ic-sal-bk-bar { width: 80px; height: 6px; background: var(--ic-bg-muted); border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.ic-salarycalc .ic-sal-bk-bar-fill { height: 100%; border-radius: 3px; transition: width .4s ease; }
.ic-salarycalc .ic-sal-bk-value { font-family: var(--ic-font-display); font-weight: 600; color: var(--ic-text); min-width: 90px; text-align: right; }
.ic-salarycalc .ic-sal-bk-row--net .ic-sal-bk-value { color: var(--ic-success); }

/* ---------- Supporting sections ---------- */
.ic-salarycalc .ic-sal-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.ic-salarycalc .ic-sal-section-card { background: var(--ic-surface); border: 1px solid var(--ic-border); border-radius: var(--ic-radius); padding: 18px 20px; }
.ic-salarycalc .ic-sal-section-card h4 { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ic-text-muted); margin: 0 0 10px; }
.ic-salarycalc .ic-sal-section-card p { font-size: 13px; color: var(--ic-text-muted); line-height: 1.6; margin: 0; }
.ic-salarycalc .ic-sal-section-card strong { color: var(--ic-text); font-weight: 600; }
.ic-salarycalc .ic-sal-bonus-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ic-border); font-size: 13px; }
.ic-salarycalc .ic-sal-bonus-row:last-child { border-bottom: none; }
.ic-salarycalc .ic-sal-bonus-label { color: var(--ic-text-muted); }
.ic-salarycalc .ic-sal-bonus-val { font-weight: 600; color: var(--ic-success); }

/* ---------- FAQ ---------- */
.ic-salarycalc .ic-sal-faq { background: var(--ic-surface); border: 1px solid var(--ic-border); border-radius: var(--ic-radius); overflow: hidden; margin-bottom: 20px; }
.ic-salarycalc .ic-sal-faq-header { padding: 14px 18px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ic-text-muted); background: var(--ic-bg-muted); border-bottom: 1px solid var(--ic-border); }
.ic-salarycalc .ic-sal-faq-item { border-bottom: 1px solid var(--ic-border); }
.ic-salarycalc .ic-sal-faq-item:last-child { border-bottom: none; }
.ic-salarycalc .ic-sal-faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 18px; background: none; border: none; font-family: var(--ic-font); font-size: 14px; font-weight: 500; color: var(--ic-text); cursor: pointer; text-align: left; transition: background .1s; }
.ic-salarycalc .ic-sal-faq-q:hover { background: var(--ic-bg-muted); }
.ic-salarycalc .ic-sal-faq-q svg { flex-shrink: 0; transition: transform .2s; color: var(--ic-text-light); }
.ic-salarycalc .ic-sal-faq-q.open svg { transform: rotate(180deg); }
.ic-salarycalc .ic-sal-faq-a { padding: 0 18px 14px; font-size: 13px; color: var(--ic-text-muted); line-height: 1.6; display: none; }
.ic-salarycalc .ic-sal-faq-a.open { display: block; animation: ic-salFadeIn .2s ease; }

/* ---------- Disclaimer ---------- */
.ic-salarycalc .ic-sal-disclaimer { font-size: 11px; color: var(--ic-text-light); line-height: 1.5; padding-top: 8px; }

/* =======================================================================
   LANDING PAGE SECTIONS – Supporting content below calculator results
   ======================================================================= */

/* --- Shared section wrapper --- */
.ic-salarycalc .ic-sal-lp-section { background: var(--ic-surface); border: 1px solid var(--ic-border); border-radius: var(--ic-radius); padding: 24px 24px 20px; margin-bottom: 20px; }
.ic-salarycalc .ic-sal-lp-section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ic-salarycalc .ic-sal-lp-section-header svg { color: var(--ic-primary); flex-shrink: 0; }
.ic-salarycalc .ic-sal-lp-section-header h3 { font-family: var(--ic-font-display); font-size: 16px; font-weight: 700; color: var(--ic-text); margin: 0; }
.ic-salarycalc .ic-sal-lp-intro { font-size: 13px; color: var(--ic-text-muted); line-height: 1.6; margin: 0 0 16px; }
.ic-salarycalc .ic-sal-lp-intro strong { color: var(--ic-text); font-weight: 600; }
.ic-salarycalc .ic-sal-lp-note { font-size: 12px; color: var(--ic-text-light); line-height: 1.5; margin: 14px 0 0; }
.ic-salarycalc .ic-sal-lp-note strong { color: var(--ic-text); }

/* --- 1. Tax Bracket Breakdown --- */
.ic-salarycalc .ic-sal-tax-visual { margin-bottom: 16px; }
.ic-salarycalc .ic-sal-tax-bar { display: flex; height: 32px; border-radius: 6px; overflow: hidden; }
.ic-salarycalc .ic-sal-tax-bar-seg { display: flex; align-items: center; justify-content: center; min-width: 40px; transition: width .4s ease; }
.ic-salarycalc .ic-sal-tax-bar-seg span { font-size: 11px; font-weight: 700; color: #fff; }
.ic-salarycalc .ic-sal-tax-bar--20 { background: var(--ic-accent); }
.ic-salarycalc .ic-sal-tax-bar--40 { background: var(--ic-primary); }
.ic-salarycalc .ic-sal-tax-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ic-salarycalc .ic-sal-tax-detail-card { background: var(--ic-bg); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 16px 18px; }
.ic-salarycalc .ic-sal-tax-detail-rate { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ic-primary); margin-bottom: 6px; }
.ic-salarycalc .ic-sal-tax-detail-amount { font-family: var(--ic-font-display); font-size: 22px; font-weight: 800; color: var(--ic-text); line-height: 1.1; }
.ic-salarycalc .ic-sal-tax-detail-label { font-size: 11px; color: var(--ic-text-light); margin-top: 2px; }
.ic-salarycalc .ic-sal-tax-detail-due { font-size: 13px; color: var(--ic-text-muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ic-border); }
.ic-salarycalc .ic-sal-tax-detail-due strong { color: var(--ic-text); }

/* --- 2. Pay Period Comparison Table --- */
.ic-salarycalc .ic-sal-pp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); }
.ic-salarycalc .ic-sal-pp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 600px; }
.ic-salarycalc .ic-sal-pp-table thead th { background: var(--ic-bg-muted); padding: 10px 12px; text-align: right; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ic-text-muted); border-bottom: 1px solid var(--ic-border); white-space: nowrap; }
.ic-salarycalc .ic-sal-pp-table thead th.ic-sal-pp-label-col { text-align: left; }
.ic-salarycalc .ic-sal-pp-table tbody td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--ic-border); color: var(--ic-text-muted); font-weight: 400; font-family: var(--ic-font-display); }
.ic-salarycalc .ic-sal-pp-table tbody td.ic-sal-pp-label-col { text-align: left; font-family: var(--ic-font); font-weight: 500; color: var(--ic-text); }
.ic-salarycalc .ic-sal-pp-table tbody tr:last-child td { border-bottom: none; }
.ic-salarycalc .ic-sal-pp-table tbody tr.ic-sal-pp-row--net { background: var(--ic-success-light); }
.ic-salarycalc .ic-sal-pp-table tbody tr.ic-sal-pp-row--net td { font-weight: 600; color: var(--ic-success); }
.ic-salarycalc .ic-sal-pp-table tbody tr.ic-sal-pp-row--net td.ic-sal-pp-label-col { color: var(--ic-text); font-weight: 600; }

/* --- 3. Example Scenario Block --- */
.ic-salarycalc .ic-sal-scenario-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ic-salarycalc .ic-sal-scenario-card { background: var(--ic-bg); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 16px 14px; text-align: center; }
.ic-salarycalc .ic-sal-scenario-card--net { background: var(--ic-success-light); border-color: rgba(22,163,74,.15); }
.ic-salarycalc .ic-sal-scenario-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ic-salarycalc .ic-sal-scenario-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ic-text-light); margin-bottom: 4px; }
.ic-salarycalc .ic-sal-scenario-value { font-family: var(--ic-font-display); font-size: 18px; font-weight: 800; color: var(--ic-text); }
.ic-salarycalc .ic-sal-scenario-card--net .ic-sal-scenario-value { color: var(--ic-success); }

/* --- 4. How This Calculator Works --- */
.ic-salarycalc .ic-sal-steps { display: flex; flex-direction: column; gap: 0; }
.ic-salarycalc .ic-sal-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ic-border); }
.ic-salarycalc .ic-sal-step:last-child { border-bottom: none; }
.ic-salarycalc .ic-sal-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ic-primary); color: #fff; font-family: var(--ic-font-display); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ic-salarycalc .ic-sal-step-body { flex: 1; }
.ic-salarycalc .ic-sal-step-title { font-size: 14px; font-weight: 600; color: var(--ic-text); margin-bottom: 3px; }
.ic-salarycalc .ic-sal-step-desc { font-size: 13px; color: var(--ic-text-muted); line-height: 1.5; }

/* --- 6. Who This Calculator Is For --- */
.ic-salarycalc .ic-sal-audience-list { display: flex; flex-direction: column; gap: 0; }
.ic-salarycalc .ic-sal-audience-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ic-border); font-size: 14px; color: var(--ic-text-muted); line-height: 1.4; }
.ic-salarycalc .ic-sal-audience-item:last-child { border-bottom: none; }
.ic-salarycalc .ic-sal-audience-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--ic-primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ic-primary); }

/* --- 7. Related Guides --- */
.ic-salarycalc .ic-sal-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ic-salarycalc .ic-sal-guide-card { display: block; background: var(--ic-bg); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 16px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .1s; }
.ic-salarycalc .ic-sal-guide-card:hover { border-color: var(--ic-primary); box-shadow: 0 2px 8px rgba(30,58,138,.08); transform: translateY(-1px); }
.ic-salarycalc .ic-sal-guide-title { font-size: 14px; font-weight: 600; color: var(--ic-primary); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.ic-salarycalc .ic-sal-guide-title svg { flex-shrink: 0; opacity: .6; }
.ic-salarycalc .ic-sal-guide-desc { font-size: 12px; color: var(--ic-text-light); line-height: 1.4; }

/* --- 8. Related Calculators --- */
.ic-salarycalc .ic-sal-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ic-salarycalc .ic-sal-related-card { background: var(--ic-bg); border: 1px solid var(--ic-border); border-radius: var(--ic-radius-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ic-salarycalc .ic-sal-related-name { font-size: 13px; font-weight: 600; color: var(--ic-text); }
.ic-salarycalc .ic-sal-related-badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 10px; width: fit-content; }
.ic-salarycalc .ic-sal-related-badge--live { background: var(--ic-success-light); color: var(--ic-success); }
.ic-salarycalc .ic-sal-related-badge--soon { background: var(--ic-bg-muted); color: var(--ic-text-light); }

/* ---------- Outdated banner ---------- */
.ic-salarycalc .ic-results--outdated .ic-sal-stagger { opacity: .45; pointer-events: none; transition: opacity .2s ease; }
.ic-salarycalc .ic-outdated-banner { display: flex; align-items: center; gap: 7px; font-family: var(--ic-font); font-size: 12.5px; font-weight: 500; color: var(--ic-warn); background: rgba(217,119,6,.06); border: 1px solid rgba(217,119,6,.14); border-radius: var(--ic-radius-sm); padding: 9px 14px; margin-bottom: 14px; line-height: 1.4; animation: ic-salFadeIn .25s ease-out forwards; }
.ic-salarycalc .ic-outdated-banner svg { flex-shrink: 0; }
.ic-salarycalc .ic-outdated-banner strong { font-weight: 600; }

/* ---------- Animations ---------- */
@keyframes ic-salFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ic-salarycalc .ic-sal-stagger > * { opacity: 0; animation: ic-salFadeIn .3s ease-out forwards; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(1) { animation-delay: 0ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(2) { animation-delay: 50ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(3) { animation-delay: 100ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(4) { animation-delay: 150ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(5) { animation-delay: 200ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(6) { animation-delay: 250ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(7) { animation-delay: 300ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(8) { animation-delay: 350ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(9) { animation-delay: 400ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(10) { animation-delay: 450ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(11) { animation-delay: 500ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(12) { animation-delay: 550ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(13) { animation-delay: 600ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(14) { animation-delay: 650ms; }
.ic-salarycalc .ic-sal-stagger > *:nth-child(n+15) { animation-delay: 700ms; }

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
    .ic-salarycalc .ic-sal-main-inputs { grid-template-columns: 1fr 1fr; }
    .ic-salarycalc .ic-sal-main-inputs .ic-sal-input-group:first-child { grid-column: 1 / -1; }
    .ic-salarycalc .ic-sal-topbar { padding: 16px; }
    .ic-salarycalc .ic-sal-adv-grid { grid-template-columns: 1fr 1fr; }
    .ic-salarycalc .ic-sal-adv-grid--profile { grid-template-columns: 1fr 1fr; }
    .ic-salarycalc .ic-sal-hero { grid-template-columns: 1fr; }
    .ic-salarycalc .ic-sal-donut-wrap { order: -1; }
    .ic-salarycalc .ic-sal-net-value { font-size: 28px; }
    .ic-salarycalc .ic-sal-dashboard { padding: 20px 16px; }
    .ic-salarycalc .ic-sal-freq-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .ic-salarycalc .ic-sal-freq-tab { font-size: 11px; padding: 7px 4px; white-space: nowrap; }
    .ic-salarycalc .ic-sal-bk-bar { display: none; }
    .ic-salarycalc .ic-sal-sections { grid-template-columns: 1fr; }
    .ic-salarycalc .ic-sal-rates { flex-direction: column; }
    .ic-salarycalc .ic-sal-topbar .ic-calc-btn,
    .ic-salarycalc .ic-sal-topbar .ic-reset-btn { width: 100%; justify-content: center; }
    /* Landing page sections mobile */
    .ic-salarycalc .ic-sal-lp-section { padding: 18px 16px 16px; }
    .ic-salarycalc .ic-sal-tax-detail-grid { grid-template-columns: 1fr; }
    .ic-salarycalc .ic-sal-tax-detail-amount { font-size: 18px; }
    .ic-salarycalc .ic-sal-scenario-cards { grid-template-columns: 1fr 1fr; }
    .ic-salarycalc .ic-sal-scenario-value { font-size: 15px; }
    .ic-salarycalc .ic-sal-guides-grid { grid-template-columns: 1fr; }
    .ic-salarycalc .ic-sal-related-grid { grid-template-columns: 1fr 1fr; }
    .ic-salarycalc .ic-sal-prsi-grid { grid-template-columns: 1fr; }
    .ic-salarycalc .ic-sal-usc-row { grid-template-columns: 1fr auto; gap: 8px; }
    .ic-salarycalc .ic-sal-usc-income { display: none; }
}
