/**
 * Global typography: base font one step smaller (16px → 15px).
 */
html {
  font-size: 15px;
}

body,
.layout-wrapper,
.content-wrapper,
.menu-inner,
.layout-navbar,
.content-footer {
  font-size: 0.9375rem;
}

h1, .h1 { font-size: 1.75rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.125rem; }
h5, .h5 { font-size: 1rem; }
h6, .h6 { font-size: 0.875rem; }

.card-title,
.menu-header,
.app-brand-text {
  font-size: 0.9375rem;
}

.form-control,
.form-select,
.btn,
.dropdown-item,
.table,
.pagination,
.dt-container,
.alert {
  font-size: 0.875rem;
}

.form-control-lg,
.form-select-lg {
  font-size: 0.9375rem;
}

.menu-link {
  font-size: 0.875rem;
}

.small,
.form-text,
.text-muted {
  font-size: 0.8125rem;
}

.badge.badge-sm {
  --bs-badge-padding-x: 0.5em;
  --bs-badge-padding-y: 0.32em;
  --bs-badge-font-size: 0.68em;
  font-size: 0.6875rem !important;
  line-height: 1.1;
  padding: 0.28rem 0.5rem !important;
}

.lead-action-btn {
  transition: all 0.18s ease;
}

.lead-action-btn .icon-base {
  transition: color 0.18s ease, transform 0.18s ease;
}

.lead-action-btn:hover,
.lead-action-btn:focus-visible {
  transform: translateY(-1px);
}

.lead-action-btn:hover .icon-base,
.lead-action-btn:focus-visible .icon-base {
  color: #fff;
  transform: scale(1.05);
}

.lead-action-btn.btn-label-primary:hover,
.lead-action-btn.btn-label-primary:focus-visible {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.lead-action-btn.btn-label-success:hover,
.lead-action-btn.btn-label-success:focus-visible {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
  color: #fff;
}

.lead-action-btn.btn-label-secondary:hover,
.lead-action-btn.btn-label-secondary:focus-visible {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
}

.lead-action-btn.btn-label-danger:hover,
.lead-action-btn.btn-label-danger:focus-visible {
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
  color: #fff;
}
