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 rgba(13, 110, 253, 0.25), 0 0 0 0.25rem rgba(37, 140, 251, 0.15);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  transition: background-color .2s ease, color .2s ease;
}

html[data-bs-theme="dark"] body {
  background-color: #121212;
}

:root {
  --theme-login-text: #000000;
}

html[data-bs-theme="dark"] {
  --theme-login-text: #ffffff;
}

html[data-bs-theme="light"] {
  --theme-login-text: #000000;
}

.theme-text {
  color: var(--theme-login-text) !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;
}

@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .btn-sm {
    min-height: 38px;
  }

  .table-responsive {
    font-size: 0.85rem;
  }

  .btn-mobile-full {
    width: 100%;
  }

  .form-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-actions-mobile .btn {
    width: 100%;
    margin-left: 0 !important;
  }
}