/* ===== CSS Custom Properties (modern take on the simonkayar.com Chronus theme) ===== */
:root {
  --primary: #cc5555;
  --primary-dark: #b33c3c;
  --accent: #91cc56;
  --highlight: #239999;
  --highlight-dark: #1a7a7a;
  --highlight-soft: rgba(35, 153, 153, 0.10);
  --text: #22313a;
  --text-medium: #5b6b76;
  --text-light: #93a1ab;
  --bg: #ffffff;
  --bg-light: #f4f7f8;
  --bg-lighter: #eceff1;
  --border: #dde4e8;
  --border-light: #e8edf0;
  --input-bg: #fff8d9;
  --input-border: #e3cf6e;
  --output-bg: #e7f1fd;
  --output-border: #a9cdf5;
  --output-text: #1360b4;
  --success: #2e9e46;
  --warning: #f9a825;
  --danger: #e53935;
  --shadow: 0 1px 2px rgba(16, 42, 51, 0.06), 0 4px 14px rgba(16, 42, 51, 0.06);
  --shadow-hover: 0 2px 4px rgba(16, 42, 51, 0.07), 0 14px 34px rgba(16, 42, 51, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1300px;
  --header-height: 70px;
  --transition: 0.22s ease;
  --font-body: 'Raleway', arial, helvetica, sans-serif;
  --font-heading: 'Rambla', arial, helvetica, sans-serif;
  --grad-teal:   linear-gradient(135deg, #2ab3b3, #1a7a7a);
  --grad-green:  linear-gradient(135deg, #4caf50, #2e7d32);
  --grad-blue:   linear-gradient(135deg, #42a5f5, #1565c0);
  --grad-orange: linear-gradient(135deg, #ff9800, #e65100);
  --grad-purple: linear-gradient(135deg, #7e57c2, #4d2e9e);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }
a { color: var(--highlight); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--highlight-dark); }

:focus-visible {
  outline: 3px solid rgba(35, 153, 153, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
h1 { font-size: 1.9rem; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 0.8rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

#content {
  flex: 1;
  padding: 32px 0 40px;
}

/* ===== Header ===== */
#site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border-light), 0 2px 12px rgba(16, 42, 51, 0.05);
}

#site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--highlight), var(--accent));
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link { display: flex; align-items: center; }

.site-logo {
  height: 44px;
  width: auto;
  display: block;
}

.site-tagline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}

/* ===== Navigation ===== */
#main-nav {
  display: flex;
  align-items: center;
}

#main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

#main-nav ul li a {
  display: block;
  padding: 8px 15px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--text);
  border-radius: 999px;
  transition: all var(--transition);
  white-space: nowrap;
}

#main-nav ul li a:hover {
  background: var(--highlight-soft);
  color: var(--highlight-dark);
}

#main-nav ul li a.active {
  background: var(--grad-teal);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(26, 122, 122, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Page Hero (slim heading) ===== */
.page-hero {
  margin: 6px 0 28px;
}

.page-hero h1 {
  margin-bottom: 4px;
}

.page-hero p {
  color: var(--text-medium);
  font-size: 1rem;
  margin: 0;
}

/* ===== Cards ===== */
.card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
  border: 1px solid var(--border-light);
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.card-header h2, .card-header h3 {
  margin: 0;
  flex: 1;
}

.card-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-teal);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(16, 42, 51, 0.18);
}

.card-icon.green  { background: var(--grad-green); }
.card-icon.blue   { background: var(--grad-blue); }
.card-icon.teal   { background: var(--grad-teal); }
.card-icon.orange { background: var(--grad-orange); }
.card-icon.purple { background: var(--grad-purple); }

/* ===== Calculator Tiles (index page) ===== */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  padding: 26px 26px 22px;
  color: var(--text);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tile-grad, var(--grad-teal));
  opacity: 0;
  transition: opacity var(--transition);
}

.tile:hover, .tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  color: var(--text);
}

.tile:hover::before, .tile:focus-visible::before { opacity: 1; }

.tile-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--tile-grad, var(--grad-teal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px var(--tile-glow, rgba(26, 122, 122, 0.35));
}

.tile-icon svg {
  width: 28px;
  height: 28px;
}

.tile h3 {
  margin-bottom: 8px;
  color: var(--tile-color, var(--highlight));
  font-size: 1.18rem;
}

.tile p {
  color: var(--text-medium);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}

.tile-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tile-color, var(--highlight));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tile-cta span {
  transition: transform var(--transition);
}

.tile:hover .tile-cta span {
  transform: translateX(4px);
}

.tile-green  { --tile-grad: var(--grad-green);  --tile-color: #2e7d32; --tile-glow: rgba(46, 125, 50, 0.30); }
.tile-blue   { --tile-grad: var(--grad-blue);   --tile-color: #1565c0; --tile-glow: rgba(21, 101, 192, 0.30); }
.tile-teal   { --tile-grad: var(--grad-teal);   --tile-color: #1a7a7a; --tile-glow: rgba(26, 122, 122, 0.32); }
.tile-purple { --tile-grad: var(--grad-purple); --tile-color: #5e35b1; --tile-glow: rgba(94, 53, 177, 0.30); }
.tile-orange { --tile-grad: var(--grad-orange); --tile-color: #e65100; --tile-glow: rgba(230, 81, 0, 0.30); }

/* ===== Form Elements ===== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 5px;
  color: var(--text-medium);
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 180px;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus, select:focus {
  border-color: var(--highlight);
  box-shadow: 0 0 0 3px rgba(35, 153, 153, 0.16);
}

/* Yellow input cells (user editable - like spreadsheet) */
.input-cell {
  background: var(--input-bg) !important;
  border-color: var(--input-border);
  font-weight: 600;
}

.input-cell:focus {
  border-color: #c9a800;
  box-shadow: 0 0 0 3px rgba(201, 168, 0, 0.18);
}

/* Blue output cells (calculated) */
.output-cell {
  background: var(--output-bg) !important;
  border-color: var(--output-border);
  color: var(--output-text);
  font-weight: 700;
  cursor: default;
}

.output-value {
  display: inline-block;
  background: var(--output-bg);
  color: var(--output-text);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid var(--output-border);
  font-variant-numeric: tabular-nums;
}

.output-value.large {
  font-size: 1.3rem;
  padding: 10px 20px;
}

.output-value.danger-value {
  background: #fdecea;
  color: #c62828;
  border-color: #f2b8b5;
}

/* ===== Legend ===== */
.cell-legend {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-medium);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cell-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-box {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.legend-box.yellow { background: var(--input-bg); border-color: var(--input-border); }
.legend-box.blue { background: var(--output-bg); border-color: var(--output-border); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 3px 10px rgba(26, 122, 122, 0.30);
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--highlight); color: var(--highlight-dark); background: var(--highlight-soft); }

.btn-success {
  background: var(--grad-green);
  color: #fff;
}
.btn-success:hover { filter: brightness(1.08); color: #fff; }

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { background: #c62828; color: #fff; }

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-icon {
  padding: 6px 10px;
  font-size: 1rem;
  line-height: 1;
}

/* ===== Tables ===== */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table th {
  background: #33424c;
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: sticky;
  top: 0;
}

table th.amount,
table th.text-right { text-align: right; }

.table-green th  { background: #2e7d32; }
.table-teal th   { background: #1a7a7a; }
.table-blue th   { background: #1565c0; }
.table-orange th { background: #e65100; }

table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

table tbody tr:hover {
  background: rgba(35, 153, 153, 0.06);
}

table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

table tbody tr:nth-child(even):hover {
  background: rgba(35, 153, 153, 0.08);
}

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

table td.highlight-row {
  background: #fce4ec !important;
  font-weight: 700;
}

table td input {
  width: 100%;
  min-width: 90px;
  padding: 5px 8px;
  font-size: 0.88rem;
}

table td .output-cell {
  min-width: 90px;
}

/* Sections targeted by sub-tabs need room below the sticky header + tab bar */
.card[id] {
  scroll-margin-top: calc(var(--header-height) + 70px);
}

/* ===== Charts ===== */
.chart-container {
  margin: 20px 0;
  min-height: 300px;
}

/* ===== Consent Banner ===== */
#consent-banner {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  margin: 0 auto;
  max-width: 720px;
  background: var(--bg);
  color: var(--text);
  padding: 18px 22px;
  z-index: 1000;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 40px rgba(16, 42, 51, 0.25);
}

#consent-banner.show { display: block; }

.consent-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.consent-inner p {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  min-width: 250px;
  color: var(--text-medium);
}

.consent-inner p strong { color: var(--text); }

.consent-inner .consent-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== Section Headers ===== */
.section-header {
  margin-bottom: 24px;
}

.section-header h1 {
  margin-bottom: 4px;
}

.section-header p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ===== Info/Note Boxes ===== */
.info-box {
  background: #e9f6ea;
  border-left: 4px solid var(--success);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.note-box {
  background: #fff6e5;
  border-left: 4px solid var(--warning);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.warning-box {
  background: #fdecea;
  border-left: 4px solid var(--danger);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ===== Inline Result Display ===== */
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.result-row:last-child { border-bottom: none; }

.result-row .label {
  color: var(--text-medium);
  font-size: 0.92rem;
}

/* ===== Dynamic Row Controls ===== */
.dynamic-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.dynamic-row input {
  flex: 1;
  min-width: 100px;
}

.dynamic-row .row-name {
  flex: 2;
  min-width: 140px;
}

.dynamic-row .row-amount {
  flex: 1;
  min-width: 100px;
}

.add-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  background: none;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-medium);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 4px;
}

.add-row-btn:hover {
  border-color: var(--highlight);
  color: var(--highlight-dark);
  background: var(--highlight-soft);
}

/* ===== Checkbox (for expense DONE) ===== */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--success);
  cursor: pointer;
}

/* ===== Two-column layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

/* ===== Tax Slab Visual ===== */
.slab-bar {
  display: flex;
  height: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 12px 0;
}

.slab-bar .slab-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  font-weight: 600;
  min-width: 2px;
  transition: all var(--transition);
}

/* ===== Footer ===== */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: 22px 0;
  margin-top: auto;
}

#site-footer::before {
  content: '';
  display: block;
  height: 3px;
  margin-top: -22px;
  margin-bottom: 19px;
  background: linear-gradient(90deg, var(--highlight), var(--accent));
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.footer-inner p { margin-bottom: 4px; }

.disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}

/* ===== Savings Rate Highlight ===== */
.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--success), var(--highlight));
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(46, 158, 70, 0.30);
}

/* ===== Tab Navigation (within a page) ===== */
.sub-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: sticky;
  top: var(--header-height);
  background: var(--bg-light);
  z-index: 50;
  padding: 8px 20px 10px;
  margin-left: -20px;
  margin-right: -20px;
}

.sub-tabs button {
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-medium);
  transition: all var(--transition);
}

.sub-tabs button:hover {
  color: var(--highlight-dark);
  border-color: var(--highlight);
  background: var(--highlight-soft);
}

.sub-tabs button.active {
  color: #fff;
  background: var(--grad-teal);
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(26, 122, 122, 0.35);
}

/* ===== Corpus Depleted Row ===== */
.depleted { background: #fdecea !important; }
.depleted td { color: var(--danger); font-weight: 700; }

/* ===== Output-value overflow for long text ===== */
.output-value.large.text-overflow {
  font-size: 0.95rem;
  padding: 8px 14px;
  white-space: nowrap;
}

/* ===== Result row border fix (was red highlight) ===== */
.result-row.primary-border {
  border-bottom: 2px solid var(--highlight);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .two-col, .three-col {
    grid-template-columns: 1fr;
  }
  .tiles-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-logo { height: 38px; }

  .nav-toggle {
    display: flex;
  }

  #main-nav {
    display: none;
    width: 100%;
    order: 3;
    padding: 10px 0;
  }

  #main-nav.open {
    display: block;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  #main-nav ul li a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row .form-group {
    min-width: auto;
  }

  .card {
    padding: 18px;
    margin-bottom: 16px;
  }

  #content {
    padding: 18px 0 28px;
  }

  table {
    font-size: 0.82rem;
  }

  table th, table td {
    padding: 6px 8px;
  }

  #consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .consent-inner {
    flex-direction: column;
    text-align: center;
  }

  .dynamic-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }

  .site-tagline { display: none; }

  .btn { padding: 8px 16px; font-size: 0.88rem; }

  .sub-tabs button {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .tile {
    padding: 22px 20px 18px;
  }

  .cell-legend {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== Print Styles ===== */
@media print {
  #site-header, #site-footer, #consent-banner, .nav-toggle, .btn, .add-row-btn {
    display: none !important;
  }
  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  body { background: #fff; }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-medium); }
.text-small { font-size: 0.85rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
