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 rgba(99, 102, 241, 0.4);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Responsive stacked buttons for mobile */
.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.stack-sm > .btn,
.stack-sm > label.btn,
.stack-sm > .btn-group > .btn {
  flex: 1 1 auto;
}

.stack-sm-inline {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stack-sm-inline > .btn,
.stack-sm-inline > label.btn,
.stack-sm-inline > .btn-group > .btn {
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  .stack-sm {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .stack-sm-inline {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

/* Responsive width utilities (Bootstrap doesn't ship w-md-auto/w-lg-auto) */
@media (min-width: 768px) {
  .w-md-auto { width: auto !important; }
}
@media (min-width: 992px) {
  .w-lg-auto { width: auto !important; }
}

.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;
}

/* Utility: orange color classes for credit utilization (50-75% range) */
.text-orange { color: #fd7e14 !important; }
.bg-orange { background-color: #fd7e14 !important; }