/* CalculatorMax - Financial Calculators Website */
/* Modern, Clean Fintech UI - Mobile First */

/* Reset and Base Styles */
:root {
  --bg: #f3f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-muted: #eef4fb;
  --text: #24324a;
  --text-soft: #5f6f86;
  --heading: #16253d;
  --primary: #1f6fd6;
  --primary-dark: #1557ac;
  --primary-soft: rgba(31, 111, 214, 0.12);
  --accent: #12a594;
  --accent-dark: #0b7d70;
  --border: rgba(148, 163, 184, 0.2);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 22px 50px rgba(15, 23, 42, 0.1);
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 214, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 165, 148, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 30%, #edf3f8 100%);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--heading);
}

.logo a,
.logo a:hover {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  overflow-wrap: anywhere;
  color: var(--heading);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p,
li,
td,
th,
label {
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.nav a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

.nav a.active {
  background: linear-gradient(135deg, rgba(31, 111, 214, 0.14), rgba(18, 165, 148, 0.12));
  color: var(--heading);
}

.top-tools {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Search Bar */
.search-bar {
  max-width: 1200px;
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem auto 0;
  padding: 0 1rem;
}

#search-input,
.search-input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

#search-input:focus,
.search-input:focus,
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(31, 111, 214, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 111, 214, 0.12);
}

.search-btn {
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--primary), #2e8df3);
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(31, 111, 214, 0.22);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin: 2.25rem 0;
  align-items: start;
}

main > p {
  max-width: 72ch;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar h3 {
  margin-bottom: 1rem;
  color: var(--heading);
}

.sidebar-section {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 0.8rem;
}

.sidebar a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar a:hover {
  color: var(--primary-dark);
  padding-left: 0.2rem;
}

/* Calculator Card */
.calculator-card {
  background: var(--surface);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--heading);
}

.form-group input,
.form-group select {
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.calculate-btn {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--accent), #43ba8a);
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 18px 32px rgba(18, 165, 148, 0.24);
}

.calculate-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* Results */
.results {
  background: linear-gradient(180deg, rgba(18, 165, 148, 0.1), rgba(255,255,255,0.9));
  padding: 1.5rem;
  border: 1px solid rgba(18, 165, 148, 0.18);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.results h3 {
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

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

/* Chart Container */
.chart-container {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
  overflow-x: auto;
}

/* Explanation */
.explanation {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0;
}

.explanation h3 {
  color: var(--heading);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.24), transparent 35%),
    linear-gradient(135deg, #1d5fc1 0%, #0f8a83 100%);
  color: white;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.18);
}

.hero p,
.cta-section p {
  color: rgba(255, 255, 255, 0.88);
}

.cta-btn {
  display: inline-block;
  padding: 1rem 1.8rem;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-1px);
}

/* SEO Content */
.seo-content {
  margin: 2rem 0;
}

.seo-content h2 {
  color: var(--heading);
  margin: 2rem 0 1rem;
}

.seo-content p {
  margin-bottom: 1rem;
}

.seo-visualization {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(31, 111, 214, 0.08), rgba(18, 165, 148, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.seo-visualization-kicker {
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-visualization-copy h3 {
  margin-bottom: 0.7rem;
}

.seo-visualization-copy p:last-child {
  margin-bottom: 0;
}

.seo-visualization-chart {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.25rem;
  backdrop-filter: blur(8px);
}

.seo-bar-row + .seo-bar-row {
  margin-top: 1rem;
}

.seo-bar-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.94rem;
}

.seo-bar-labels span {
  color: var(--heading);
  font-weight: 600;
}

.seo-bar-labels strong {
  color: var(--text-soft);
}

.seo-bar-track {
  width: 100%;
  height: 0.8rem;
  background: rgba(221, 231, 243, 0.9);
  border-radius: 999px;
  overflow: hidden;
}

.seo-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.seo-bar-fill.tone-primary {
  background: linear-gradient(135deg, var(--primary), #5ea7ff);
}

.seo-bar-fill.tone-accent {
  background: linear-gradient(135deg, var(--accent), #59d5b2);
}

.seo-bar-fill.tone-soft {
  background: linear-gradient(135deg, #7c8fb0, #b2bfd4);
}

.seo-bar-fill.tone-danger {
  background: linear-gradient(135deg, #d65d72, #f1969e);
}

.seo-visualization-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

table {
  width: 100%;
  margin: 1.25rem 0 1.75rem;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

thead th {
  background: linear-gradient(180deg, #edf4fb 0%, #e6f0fb 100%);
  color: var(--heading);
  font-weight: 700;
}

th,
td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) td {
  background: rgba(247, 250, 252, 0.78);
}

/* FAQ */
.faq {
  margin: 2rem 0;
}

.faq-item {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.faq-item h3 {
  color: var(--heading);
  cursor: pointer;
}

.faq-item p {
  margin-top: 1rem;
}

/* AdSense Placeholders */
.ad-banner {
  background:
    linear-gradient(135deg, rgba(31, 111, 214, 0.08), rgba(18, 165, 148, 0.08)),
    rgba(255, 255, 255, 0.8);
  height: 90px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(95, 111, 134, 0.28);
  border-radius: var(--radius-md);
  margin: 1rem auto 0;
  padding: 0 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.ad-sidebar {
  background:
    linear-gradient(180deg, rgba(31, 111, 214, 0.08), rgba(18, 165, 148, 0.06)),
    rgba(255, 255, 255, 0.8);
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(95, 111, 134, 0.28);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.ad-in-content {
  background:
    linear-gradient(135deg, rgba(31, 111, 214, 0.08), rgba(18, 165, 148, 0.06)),
    rgba(255, 255, 255, 0.8);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(95, 111, 134, 0.28);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #17263c 0%, #111c2d 100%);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section li {
  margin-bottom: 0.6rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .header-content {
    padding: 1rem 2rem;
  }

  .main-content {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .nav {
    display: flex;
  }

  .sidebar {
    position: sticky;
    top: 96px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .top-tools {
    padding: 0 2rem;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.btn {
  padding: 0.82rem 1.45rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2f8df0);
  color: white;
  box-shadow: 0 16px 26px rgba(31, 111, 214, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #2176d4);
  color: white;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-muted);
  color: var(--text-soft);
}

.btn-secondary:hover {
  background: #dbe7f4;
}

/* Tax Calculator Styles */
.regime-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.regime-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(31, 111, 214, 0.24);
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.regime-btn.active {
  background: linear-gradient(135deg, var(--primary), #2f8df0);
  color: white;
}

.regime-btn:hover {
  background: var(--primary-dark);
  color: white;
}

.tax-table {
  margin-bottom: 2rem;
}

.tax-table h4 {
  color: var(--heading);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tax-table table {
  width: 100%;
  border-collapse: collapse;
}

.tax-table th,
.tax-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.tax-table th {
  background: #edf4fb;
  font-weight: 600;
  color: var(--heading);
}

.hidden {
  display: none;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Homepage specific styles */
.hero {
  text-align: center;
  padding: 4.2rem 2rem;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 30%),
    linear-gradient(135deg, #1b67ce 0%, #17a18d 100%);
  color: white;
  margin-bottom: 2.5rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(17, 24, 39, 0.18);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.calculator-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.calculator-card,
.category {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.calculator-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.calculator-card:hover,
.category:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(31, 111, 214, 0.14);
}

.calculator-card h3 {
  margin-bottom: 0.75rem;
}

.calculator-card p {
  margin-bottom: 1rem;
}

.calculator-card .btn {
  margin-top: auto;
}

.category h3 {
  color: var(--heading);
  margin-bottom: 1rem;
}

.category ul {
  list-style: none;
}

.category li {
  margin-bottom: 0.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-post {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-post h2 {
  margin-bottom: 0.75rem;
}

.blog-post p {
  margin-bottom: 1rem;
}

article > p:last-of-type {
  margin-bottom: 1rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.article-actions .btn {
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 2rem;
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  h1 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: inline-flex;
    min-width: 92px;
    padding: 0.72rem 0.95rem;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0 0;
    background: rgba(240, 246, 252, 0.92);
    border-radius: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
  }

  .search-bar {
    flex-direction: column;
    padding: 0 1rem;
  }

  .search-btn {
    width: 100%;
  }

  .container {
    padding: 0 0.875rem;
  }

  .main-content {
    gap: 1.25rem;
    margin: 1.25rem 0;
  }

  .calculator-card,
  .sidebar-section,
  .explanation,
  .faq-item,
  .chart-container,
  .blog-post,
  .category,
  .feature {
    padding: 1.125rem;
  }

  .calculator-card {
    margin-bottom: 1.25rem;
  }

  .calculator-form {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group select,
  .btn,
  .cta-btn,
  .calculate-btn {
    width: 100%;
  }

  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .hero {
    padding: 2.5rem 1.25rem;
    border-radius: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .ad-sidebar {
    height: 280px;
  }

  .ad-banner,
  .ad-in-content {
    height: auto;
    min-height: 120px;
    padding: 1rem;
    text-align: center;
  }

  .seo-visualization {
    grid-template-columns: 1fr;
    padding: 1.1rem;
  }

  .seo-visualization-chart {
    padding: 1rem;
  }

  .breadcrumb {
    line-height: 1.8;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 1rem;
  }

  canvas {
    max-width: 100%;
  }
}

/* Breadcrumb */
.breadcrumb {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin: 0 0.5rem;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
