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;
}

/* ReverbHealth dashboard */
.health-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 1.5rem;
}

.health-content {
  max-width: 42rem;
  width: 100%;
}

.health-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.health-description {
  color: #64748b;
  text-align: center;
  margin: 0 0 1.5rem;
}

.health-error {
  color: #dc2626;
  text-align: center;
  margin: 0 0 1rem;
}

.health-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.health-section {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  padding: 1rem 1.25rem;
}

.health-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.health-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.health-list-dense .health-item {
  padding: 0.35rem 0;
}

.health-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

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

.health-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  font-weight: bold;
  border-radius: 50%;
}

.health-icon.health-inline {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.875rem;
}

.health-ok {
  color: #16a34a;
  background: #dcfce7;
}

.health-fail {
  color: #dc2626;
  background: #fee2e2;
}

.health-name {
  font-weight: 500;
  color: #334155;
  flex: 1 1 auto;
  min-width: 0;
}

.health-message {
  font-size: 0.875rem;
  color: #64748b;
  min-width: 5.5rem;
  text-align: right;
}

.health-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.health-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: #334155;
  background: #e2e8f0;
}

.health-actions .btn:hover {
  background: #cbd5e1;
  color: #334155;
}