/* Design System - CalcAll */

:root {
  --bg-dark-opacity: rgba(33, 37, 41, 0.25);
  --border-color: rgba(255, 255, 255, 0.1);
  --bs-card-bg: var(--bg-dark-opacity) !important; /* Anula o background branco padrão do Bootstrap */
  --bs-card-border-color: var(--border-color) !important;
}

/* Base Typography Consistency */
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: #212529 !important; /* Cinza escuro profissional do Bootstrap Dark */
  color: #fff !important;
  min-height: 100vh;
}

/* Section Headers */
.content-section h1,
.content-section .display-4 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff !important;
}

.content-section h2,
.content-section .h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #fff !important;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.content-section h3,
.content-section .h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fff !important;
}

/* Formula Styling - Neutral & Professional */
.formula-box {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.formula-box code {
  font-size: 1.5rem;
  color: #fff !important;
  background: none;
  padding: 0;
}

/* Example Cards - Neutral & Professional */
.example-card,
.card {
  background-color: var(--bg-dark-opacity) !important;
  border: 1px solid var(--border-color) !important;
  color: #fff !important;
  margin-bottom: 2rem;
}

.card-body {
  background: transparent !important;
}

.example-card .card-title,
.card .card-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff !important;
}

/* Lists */
.content-section ul {
  margin-bottom: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

/* Units & Symbols */
.ms-3 {
  margin-left: 1rem !important;
}

/* Remove all ad-hoc colors */
.text-info,
.text-primary,
.border-info,
.border-primary {
  color: inherit !important;
  border-color: var(--border-color) !important;
}
