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;
}

/* Custom Orange Theme - #ff8d00 */
:root {
  --custom-orange: #ff8d00;
  --custom-orange-dark: #e67c00;
  --custom-orange-light: #ff9a1a;
}

/* Primary color overrides */
.bg-primary {
  background-color: var(--custom-orange) !important;
}

.btn-primary {
  background-color: var(--custom-orange);
  border-color: var(--custom-orange);
}

.btn-primary:hover {
  background-color: var(--custom-orange-dark);
  border-color: var(--custom-orange-dark);
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 141, 0, 0.5);
}

.text-primary {
  color: var(--custom-orange) !important;
}

/* Success color overrides for consistency */
.bg-success {
  background-color: var(--custom-orange) !important;
}

.btn-success {
  background-color: var(--custom-orange);
  border-color: var(--custom-orange);
}

.btn-success:hover {
  background-color: var(--custom-orange-dark);
  border-color: var(--custom-orange-dark);
}

.btn-success:focus, .btn-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 141, 0, 0.5);
}

/* Card header overrides */
.card-header.bg-primary {
  background-color: var(--custom-orange) !important;
}

.card-header.bg-success {
  background-color: var(--custom-orange) !important;
}

/* Badge overrides for primary and success */
.badge.bg-primary {
  background-color: var(--custom-orange) !important;
}

.badge.bg-success {
  background-color: var(--custom-orange) !important;
}

/* Toast notifications */
.toast.bg-success {
  background-color: var(--custom-orange) !important;
}

/* Focus states */
.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 var(--custom-orange);
}

/* Additional orange theme elements */
.navbar-brand {
  color: var(--custom-orange) !important;
}

.nav-link:hover {
  color: var(--custom-orange) !important;
}

/* Statistics cards in upload results */
.card.bg-info {
  background-color: var(--custom-orange-light) !important;
}

/* Custom styling for better orange theme integration */
.border-primary {
  border-color: var(--custom-orange) !important;
}

.text-success {
  color: var(--custom-orange) !important;
}

/* Statistics cards - create orange gradient theme */
.card.bg-info {
  background: linear-gradient(135deg, #ff8d00, #ff9a1a) !important;
}

.card.bg-warning {
  background: linear-gradient(135deg, #ffb84d, #ff8d00) !important;
}

/* Badge variations with orange theme */
.badge.bg-info {
  background-color: var(--custom-orange-light) !important;
}

.badge.bg-warning {
  background-color: #ffb84d !important;
}

.badge.bg-secondary {
  background-color: #666 !important;
}

/* Header backgrounds */
.card-header.bg-warning {
  background: linear-gradient(135deg, #ffb84d, #ff8d00) !important;
}