html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ── Feature icons on landing page ────────────────────────────── */
.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

/* ── Result card ───────────────────────────────────────────────── */
.result-card {
  border: 2px solid #0d6efd20;
}

.result-card-header {
  background-color: #f0f6ff;
  border-bottom: 1px solid #0d6efd20;
}

/* ── Big result display ─────────────────────────────────────────── */
.result-highlight {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.5rem 1rem;
}

.result-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.result-time {
  font-size: 2rem;
  font-weight: 700;
  color: #0d6efd;
  line-height: 1.2;
}

.result-sublabel {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

.result-inflation-note {
  font-size: 0.8rem;
  color: #6c757d;
  font-style: italic;
}

.result-depletion-date {
  font-size: 0.95rem;
  color: #495057;
}

/* ── Disclaimer ─────────────────────────────────────────────────── */
.disclaimer {
  font-size: 0.8rem;
  opacity: 0.75;
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

.cookie-consent-content {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-settings-link {
  font-size: 0.875rem;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  body {
    margin-bottom: 130px;
  }
}
