:root {
  /* Fon və mətn */
  --navy: #0b1026;
  --navy-2: #1e1b4b;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6e8f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;

  /* Əsas rəng — indiqo */
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-soft: #eef2ff;
  --accent-border: #c7d2fe;
  --accent-ink: #312e81;

  /* Qazanc / ən sərfəli — zümrüd */
  --success: #059669;
  --success-strong: #047857;
  --success-soft: #ecfdf5;
  --success-border: #a7f3d0;
  --success-ink: #065f46;

  /* Pensiya / diqqət — kəhrəba */
  --warn-soft: #fffbeb;
  --warn-border: #fde68a;
  --warn-ink: #92400e;

  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(30, 27, 75, .07);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header / hero ---------- */
.site-header {
  background:
    radial-gradient(900px 380px at 85% -5%, rgba(124, 58, 237, .45) 0%, transparent 60%),
    radial-gradient(700px 320px at 10% 110%, rgba(79, 70, 229, .35) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding-bottom: 5.5rem;
}
.site-header .nav-link { color: rgba(255,255,255,.75); font-weight: 500; }
.site-header .nav-link:hover { color: #fff; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); font-weight: 800; font-size: .85rem;
}
.hero { padding-top: 2.5rem; }
.hero-badge {
  display: inline-block; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  font-size: .8rem; color: #cbd5e1; margin-bottom: 1rem;
}
.hero-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.hero-sub { color: #cbd5e1; font-size: 1.05rem; margin: .75rem 0 0; max-width: 620px; }

.main-wrap { margin-top: -4rem; }
/* Böyük ekranda sol menyu başlığın üstünə çıxır, məzmun isə açıq fonda başlayır (başlıq tünd fona düşməsin) */
@media (min-width: 992px) { .main-wrap > .row > .col-lg-9 { padding-top: 4.5rem; } }

/* Yeni başlıq */
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name span { color: #a5b4fc; font-weight: 700; }
.live-pill {
  font-size: .75rem; font-weight: 600; color: var(--success-border); background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35); padding: .3rem .7rem; border-radius: 999px; white-space: nowrap;
}
.hero-title .hl { background: linear-gradient(90deg, #a5b4fc, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.hero-chip {
  color: #e2e8f0; text-decoration: none; font-size: .85rem; font-weight: 500;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .45rem .85rem; border-radius: 999px; transition: background .15s, border-color .15s;
}
.hero-chip:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
/* minmax(0,1fr): uzun mətn sütunu genişləndirib səhifəni ekrandan çıxarmasın */
.hero-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.hero-tile { min-width: 0; }
.hero-tile {
  display: flex; flex-direction: column; gap: .15rem; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: .9rem 1rem; backdrop-filter: blur(6px);
  transition: transform .15s, background .15s;
}
.hero-tile:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); color: #fff; }
.hero-tile small { color: #94a3b8; font-size: .75rem; font-weight: 600; }
.hero-tile strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.hero-tile span { color: #cbd5e1; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 575px) {
  .hero-board { gap: .5rem; }
  .hero-tile { padding: .7rem .8rem; }
  .hero-tile strong { font-size: 1.15rem; }
  .live-pill { display: none; }
}

/* ---------- Panels ---------- */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.panel-section + .panel-section {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem; padding-top: 1.5rem;
}
.panel-title {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.step {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: .8rem; font-weight: 700;
}
.form-label { font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-bottom: .35rem; }
.form-control, .form-select, .input-group-text { border-color: #d7dde7; border-radius: 10px; }
.input-group-text { background: var(--surface); color: var(--muted); }
.form-control:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
}
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.note { font-size: .82rem; color: var(--muted); background: var(--surface); border-radius: 10px; padding: .6rem .8rem; }

/* ---------- Summary ---------- */
.summary {
  position: sticky; top: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.summary-head {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff; padding: 1.4rem 1.5rem;
}
.summary-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.summary-total { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.summary-usd { font-size: 1rem; opacity: .85; }
.summary-table td { padding: .7rem 1.5rem; border-color: var(--line); vertical-align: top; }
.summary-table td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.summary-table td:nth-child(3) { white-space: nowrap; }
.summary-table .group-row { cursor: pointer; }
.summary-table .group-row:hover td { background: var(--accent-soft); }
.summary-table .caret { color: var(--accent); display: inline-block; width: 1em; }
.summary-table .child-row td { background: var(--surface); padding-top: .45rem; padding-bottom: .45rem; color: #475569; }
.summary-table .child-row td:first-child { padding-left: 2.4rem; }
.summary-foot { padding: .9rem 1.5rem; font-size: .8rem; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }
.loan-stats > div { padding: .9rem .5rem; border-bottom: 1px solid var(--line); }
.loan-stats > div + div { border-left: 1px solid var(--line); }
.loan-stats small { display: block; color: var(--muted); font-size: .75rem; }
.loan-stats strong { font-size: .95rem; }
.loan-schedule { max-height: 420px; overflow: auto; }
.loan-schedule thead th { position: sticky; top: 0; background: var(--surface); font-size: .75rem; color: var(--muted); font-weight: 600; padding: .6rem .75rem; }
.loan-schedule td { padding: .5rem .75rem !important; font-size: .85rem; }
/* Valyuta seçimi (sahənin sağında) */
.input-group .cur-sel { flex: 0 0 64px; max-width: 64px; padding-right: 1.6rem; background-color: var(--surface); font-weight: 600; color: var(--ink-2); cursor: pointer; }
.input-group-sm .cur-sel { flex-basis: 56px; max-width: 56px; }

/* Əlavə hissələr siyahısı */
.parts-head, .parts-row {
  display: grid;
  grid-template-columns: 1fr 130px 70px 90px 32px;
  gap: .5rem; align-items: center;
}
.parts-head { font-size: .78rem; color: var(--muted); font-weight: 600; margin-bottom: .35rem; }
.parts-row { margin-bottom: .5rem; }
.parts-row .p-sum { font-weight: 600; font-size: .9rem; }
.parts-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .75rem; padding: .7rem .9rem; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink);
}
@media (max-width: 575px) {
  .parts-row { grid-template-columns: 1fr 1fr 70px 32px; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); }
  .parts-row .p-name { grid-column: 1 / -1; }
  .parts-row .p-sum { display: none; }
}
.disclaimer { font-size: .78rem; color: var(--muted); margin-top: .9rem; }

/* ---------- Sol tablar ---------- */
.side-tabs {
  position: sticky; top: 1rem;
  display: flex; flex-direction: column; gap: .4rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem;
}
.side-tab {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem .85rem; border-radius: 10px;
  color: var(--ink); text-decoration: none; border-left: 3px solid transparent;
  transition: background .15s;
}
.side-tab:hover { background: var(--surface-2); color: var(--ink); }
.side-tab.active { background: var(--accent-soft); border-left-color: var(--accent); }
.side-tab.active strong { color: var(--accent); }
.side-tab strong { display: block; font-size: .95rem; }
.side-tab small { display: block; color: var(--muted); font-size: .75rem; }
.side-ico {
  display: grid; place-items: center; flex: 0 0 38px; height: 38px;
  border-radius: 10px; background: var(--surface-2); font-size: 1.15rem;
}
.side-tab.active .side-ico { background: #fff; }
.side-group {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding: .6rem .85rem .15rem;
}
.side-group:first-child { padding-top: .3rem; }
@media (max-width: 991px) {
  .side-group { display: none; }
  .side-tabs { position: static; flex-direction: row; overflow-x: auto; }
  .side-tab { flex: 1 0 auto; border-left: 0; border-bottom: 3px solid transparent; }
  .side-tab.active { border-bottom-color: var(--accent); }
  .side-tab small { display: none; }
}

/* ---------- Banklar ---------- */
.bank-card {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem;
}
.bank-card:hover { border-color: var(--accent-border); }
.bank-logo {
  display: grid; place-items: center; flex: 0 0 44px; height: 44px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: .9rem;
}
.bank-card a.small { color: var(--muted); text-decoration: none; }
.bank-card a.small:hover { color: var(--accent); }
.min-w-0 { min-width: 0; }
.bank-logo.sm { flex: 0 0 32px; height: 32px; border-radius: 9px; font-size: .72rem; }
.bank-pills .nav-link { border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); padding: .45rem 1rem; }
.bank-pills .nav-link.active { background: var(--accent); color: #fff; }
.bank-table thead th { background: var(--surface); font-size: .78rem; color: var(--muted); font-weight: 600; padding: .75rem 1rem; white-space: nowrap; }
.bank-table td { padding: .7rem 1rem; font-size: .9rem; border-color: var(--line); }
.bank-table .bank-name { color: var(--ink); text-decoration: none; font-weight: 600; }
.bank-table .bank-name:hover { color: var(--accent); }
.bank-table td.best { color: var(--success-strong); font-weight: 700; }
.bank-table .best { color: var(--success-strong); font-weight: 700; background: var(--success-soft); padding: .15rem .45rem; border-radius: 6px; }

/* Banklar – peşəkar görünüş */
.updated-badge {
  font-size: .78rem; color: var(--success-ink); background: var(--success-soft); border: 1px solid var(--success-border);
  padding: .3rem .7rem; border-radius: 999px; font-weight: 600;
}
.updated-badge:empty { display: none; }
.updated-badge::before { content: "●"; margin-right: .4rem; color: var(--success); }
.search-box { position: relative; }
.search-box .search-ico { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.1rem; pointer-events: none; }
.search-box .form-control { padding-left: 2.2rem; }
.stat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.1rem; height: 100%;
  display: flex; flex-direction: column; gap: .15rem;
}
.stat-tile small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.stat-tile strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.stat-tile span { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bank-scroll { max-height: 620px; overflow: auto; }
.bank-table thead th { position: sticky; top: 0; z-index: 1; }
.th-sort {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; white-space: nowrap;
}
.th-sort:hover, .th-sort.active { color: var(--accent); }
.th-sort .arrow { font-size: .7rem; opacity: .55; }
.th-sort.active .arrow { opacity: 1; }
.bank-table tbody tr:hover td { background: var(--surface); }
.cat-badge {
  display: inline-block; margin-top: .2rem; font-size: .7rem; font-weight: 600;
  color: #475569; background: var(--surface-2); padding: .1rem .5rem; border-radius: 999px;
}

/* ---------- Əmək haqqı ---------- */
.seg { display: flex; gap: .35rem; background: var(--surface-2); padding: .3rem; border-radius: 12px; }
.seg .btn { flex: 1; border: 0; border-radius: 9px; font-weight: 600; color: var(--muted); padding: .55rem .5rem; }
.seg .btn small { font-weight: 500; opacity: .8; }
.seg .btn-check:checked + .btn { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.sal-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.2); }
.sal-bar span:first-child { background: #fff; transition: width .3s; }
.sal-bar span:last-child { background: rgba(255,255,255,.35); transition: width .3s; }
.summary-table .sal-group td { background: var(--surface); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: .55rem; padding-bottom: .55rem; }
.summary-table .sal-sum td { border-top: 2px solid var(--line); }

/* ---------- PAŞA Həyat ---------- */
.hys-intro { background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%); }
.hys-pills { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.hys-pills span { background: #fff; border: 1px solid var(--accent-border); color: var(--accent); font-weight: 600; font-size: .78rem; padding: .35rem .7rem; border-radius: 999px; }
.product-card {
  display: flex; flex-direction: column; gap: .4rem; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem; color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.product-card:hover { border-color: var(--accent-border); transform: translateY(-2px); color: var(--ink); }
.product-card p { color: var(--muted); font-size: .88rem; margin: 0; flex: 1; }
.product-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: .15rem .55rem; border-radius: 999px; }
.product-link { font-size: .85rem; font-weight: 600; color: var(--accent); }

/* Əmək haqqı: pensiya kartı */
.pension-card {
  display: flex; gap: .85rem; align-items: center;
  margin: 1rem 1.5rem; padding: .9rem 1rem; border-radius: 12px;
  background: var(--warn-soft); border: 1px solid var(--warn-border); color: var(--warn-ink);
}
.pension-ico { font-size: 1.6rem; line-height: 1; }
.pension-card small { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.pension-card strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--warn-ink); }
.pension-card span { font-size: .82rem; }
.summary-table .sal-net td { font-weight: 700; color: var(--success-strong); }

/* Valyuta / depozit / saxlama */
.best-badge { background: var(--success-soft) !important; color: var(--success-ink) !important; }
.save-list { display: flex; flex-direction: column; gap: .75rem; }
.save-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.2rem;
}
.save-card.win { border-color: var(--success-border); background: linear-gradient(180deg, var(--success-soft), #fff); }
.save-card.win .hys-bar span { background: var(--success); }
/* Sadə müqayisə görünüşü */
.save-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.save-summary-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.save-summary-row small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.save-summary-row strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.save-summary-row span { font-size: .85rem; color: var(--muted); }
.save-summary-row .win strong { color: var(--success-strong); }
.save-summary-row .win span { color: var(--success-strong); font-weight: 600; }
.save-summary-row .arrow { font-size: 1.6rem; color: var(--muted); }
.save-head { display: flex; gap: .9rem; align-items: flex-start; }
.save-rank { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-weight: 800; color: var(--muted); }
.save-card.win .save-rank { background: var(--success); color: #fff; }
.save-title { font-weight: 700; font-size: 1.05rem; }
.save-how { margin: .3rem 0 0; font-size: .9rem; color: var(--ink-2); }
.save-result { text-align: right; min-width: 150px; }
.save-result small { display: block; color: var(--muted); font-size: .72rem; }
.save-result strong { display: block; font-size: 1.35rem; font-weight: 800; }
.save-result span { font-size: .85rem; font-weight: 600; }
.save-plus { font-size: .82rem; color: var(--muted); }
.save-details { font-size: .82rem; color: #475569; margin-top: .35rem; }
.save-details summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.save-details ul { margin: .35rem 0 0; padding-left: 1.1rem; }
@media (max-width: 575px) {
  .save-head { flex-wrap: wrap; }
  .save-result { text-align: left; min-width: 0; width: 100%; padding-left: calc(30px + .9rem); }
  .save-summary-row { grid-template-columns: 1fr; }
  .save-summary-row .arrow { display: none; }
}
.hys-alert.mx-0 { margin-left: 0; margin-right: 0; margin-top: 0; }

/* Rəsmi mənbə linkləri */
.gov-links { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.25rem; }
.gov-links strong { font-size: .9rem; margin-bottom: .2rem; }
.gov-links a { font-size: .85rem; text-decoration: none; color: var(--accent); }
.gov-links a:hover { text-decoration: underline; }

/* HYS: net → gross izahı */
.hys-explain { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; }
.hys-explain:empty { display: none; }
.hys-explain > div { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .2rem 0; font-size: .9rem; }
.hys-explain > div strong { font-size: 1.05rem; }
.hys-explain details { margin-top: .4rem; font-size: .82rem; color: #475569; }
.hys-explain summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.hys-explain p { margin: .4rem 0 0; }

/* HYS müqayisə / cəlbedici blok */
.hys-alert {
  display: flex; gap: .8rem; align-items: flex-start;
  margin: 1rem 1.5rem 0; padding: .9rem 1rem; border-radius: 12px;
  background: var(--success-soft); border: 1px solid var(--success-border); color: var(--success-ink);
}
.hys-alert-ico { font-size: 1.5rem; line-height: 1; }
.hys-alert strong { display: block; font-size: 1.05rem; }
.hys-alert span { font-size: .85rem; }
.hys-vs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: 1rem 1.5rem; }
.hys-col { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; }
.hys-col small { color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.hys-col strong { display: block; font-size: 1.35rem; font-weight: 800; margin: .15rem 0 .5rem; }
.hys-col.hys { border-color: var(--success-border); background: linear-gradient(180deg, var(--success-soft), #fff); }
.hys-col.hys strong { color: var(--success-strong); }
.hys-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: .6rem; }
.hys-bar span { display: block; height: 100%; border-radius: 999px; background: #94a3b8; transition: width .3s; }
.hys-col.hys .hys-bar span { background: var(--success); }
.hys-col ul { list-style: none; padding: 0; margin: 0; font-size: .82rem; color: #475569; }
.hys-col li { padding: .15rem 0; }
.hys-cta { display: flex; flex-direction: column; gap: .4rem; padding: 0 1.5rem 1.2rem; }
.hys-cta .btn { font-weight: 700; }
.hys-cta span { font-size: .78rem; color: var(--muted); text-align: center; }
@media (max-width: 575px) { .hys-vs { grid-template-columns: 1fr; } }

/* ---------- Section title ---------- */
.section-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.25rem; }

/* ---------- Calculator ---------- */
.calc-card .btn { width: 100%; font-size: 1.1rem; font-weight: 600; padding: .7rem 0; border-radius: 10px; }
.calc-card .btn-op { background: var(--accent); color: #fff; }
.calc-card .btn-op:hover { background: var(--accent-strong); color: #fff; }
.calc-card .btn-fn { background: #e2e8f0; color: var(--ink); }
.calc-card #display { font-weight: 700; background: var(--surface); }
.result-box { background: var(--accent-soft); color: var(--accent-ink); border-radius: 10px; padding: .75rem 1rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0; color: var(--muted); font-size: .85rem; background: #fff; }

@media (max-width: 991px) {
  .summary { position: static; }
}
@media (max-width: 576px) {
  .panel { padding: 1.1rem; }
  .summary-table td { padding: .6rem 1rem; }
  .summary-total { font-size: 1.8rem; }
}


/* ---------- Bootstrap komponentlərini palitraya uyğunlaşdır ---------- */
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent-strong); --bs-btn-hover-border-color: var(--accent-strong); --bs-btn-active-bg: var(--accent-strong); --bs-btn-active-border-color: var(--accent-strong); }
.btn-outline-primary { --bs-btn-color: var(--accent); --bs-btn-border-color: var(--accent-border); --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent); --bs-btn-active-bg: var(--accent-strong); }
.btn-success { --bs-btn-bg: var(--success); --bs-btn-border-color: var(--success); --bs-btn-hover-bg: var(--success-strong); --bs-btn-hover-border-color: var(--success-strong); --bs-btn-active-bg: var(--success-strong); box-shadow: 0 6px 18px rgba(5, 150, 105, .25); }
.text-success { color: var(--success-strong) !important; }
.text-danger { color: var(--danger) !important; }
.form-range { accent-color: var(--accent); }
.form-range::-webkit-slider-thumb { background: var(--accent); }
.form-range::-moz-range-thumb { background: var(--accent); }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
::selection { background: var(--accent-soft); color: var(--accent-ink); }
