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

.gradient-text-heading {
  background: linear-gradient(135deg, #111 0%, #800080 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  padding: 5px 0;
}

/* Dark mode overrides */
[data-bs-theme="dark"] a {
  color: #918787;
}

[data-bs-theme="dark"] .border-top {
  border-top: 1px solid #444;
}

[data-bs-theme="dark"] .border-bottom {
  border-bottom: 1px solid #444;
}

[data-bs-theme="dark"] .box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .3);
}

[data-bs-theme="dark"] .scrollable-feed::-webkit-scrollbar-thumb { 
  background-color: #555; 
}

[data-bs-theme="dark"] .badge.bg-light {
  background-color: #2b2b2b !important;
  color: #adb5bd !important;
  border-color: #444 !important;
}

[data-bs-theme="dark"] .bg-white {
  background-color: var(--bs-body-bg) !important;
}

[data-bs-theme="dark"] .bg-light {
  background-color: var(--bs-secondary-bg) !important;
}

[data-bs-theme="dark"] .badge.bg-dark {
  background-color: #444 !important;
  color: #dee2e6 !important;
}

[data-bs-theme="dark"] .gradient-text-heading {
  background: linear-gradient(135deg, #ffffff 0%, #800080 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}