/*
 * Fee schedule — /fee-schedule/ (templates/page-fee-schedule.html).
 * Ported from mockup/fees/fees.html (its inline styles and page <style>).
 * Tables reuse .data-table from components.css. Markup of the tabs and panels
 * comes from carigen-core's includes/fees.php (carigen/fee-schedule block).
 */

.fee-notice *, .fee-schedule *, .fee-cta * { box-sizing: border-box; }

/* NOTICE BAND under the hero */
.fee-notice { background: var(--teal-l); border-top: 3px solid var(--teal); padding: 20px var(--gutter); }
.fee-notice p { color: var(--teal-d); font-size: .93rem; font-weight: 500; max-width: 760px; }

/* TAB BAR — jump links without JS, a role="tablist" once the view script runs.
   Sticky like the mockup's (which sits under the sticky site header). */
.fee-tabs-bar { background: var(--white); border-bottom: 2px solid var(--teal-l); padding: 0 var(--gutter); position: sticky; top: 0; z-index: 50; }
.fee-tabs { display: flex; gap: 0; overflow-x: auto; }
.fee-tab { display: block; padding: 18px 24px; font-family: inherit; font-size: .9rem; font-weight: 600; line-height: normal; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none; cursor: pointer; }
.fee-tab:hover, .fee-tab[aria-selected="true"] { color: var(--teal); }
.fee-tab[aria-selected="true"] { border-bottom-color: var(--teal); }
.fee-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }

/* PANELS */
.fee-section { padding: 72px var(--gutter); background: var(--bg); scroll-margin-top: 80px; }
.fee-section[hidden] { display: none; }
.fee-section:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.fee-subhead { margin-top: 8px; }
.fee-subhead .section-title { font-size: 1.3rem; }

/* TABLES */
.fee-table-wrap { overflow-x: auto; margin-bottom: 40px; }
.fee-table-wrap.is-last { margin-bottom: 0; }
/* The first cell is a row header (<th scope="row">); it looks like the mockup's <td>. */
.fee-table tbody th { background: transparent; color: var(--text); padding: 10px 14px; border-bottom: 1px solid #ddf0f4; font-size: inherit; font-weight: 400; text-transform: none; letter-spacing: normal; text-align: left; }
.fee-table tbody tr:nth-child(even) th { background: var(--bg); }
.fee-table tbody th a { color: var(--teal); font-weight: 600; }
.fee-table a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.fee-price { font-weight: 700; color: var(--dark); font-size: .9rem; white-space: nowrap; }
.fee-price.fee-soon { font-weight: 600; color: var(--muted); font-size: .84rem; }

.info-note { margin-top: 20px; background: var(--teal-l); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: .88rem; color: var(--teal-d); line-height: 1.6; }
.info-note a { color: var(--teal); }

/* CTA */
.fee-cta p.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 8px 0 0; max-width: none; font-size: 1rem; color: inherit; }
.fee-cta .btn-translucent { background: rgba(255,255,255,.15); color: #fff; padding: 12px 32px; }
.fee-cta .btn-translucent:hover { background: rgba(255,255,255,.25); }
.fee-cta .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fee-cta .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
