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 var(--bs-body-bg), 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

iframe {
  color-scheme: inherit;
  background-color: var(--bs-body-bg);
}

.rich-text-toolbar {
  background: var(--bs-tertiary-bg);
}

.rich-text-format {
  width: 10rem;
}

.rich-text-font {
  width: 11rem;
}

.rich-text-content {
  min-height: 24rem;
  max-height: 65vh;
  overflow-y: auto;
  outline: none;
  background: var(--bs-body-bg);
}

.rich-text-content:focus {
  box-shadow: inset 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

.rich-text-content table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.rich-text-content th,
.rich-text-content td {
  padding: 0.5rem;
  border: 1px solid var(--bs-border-color);
}

.rich-text-preview {
  width: 100%;
  min-height: 32rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: var(--bs-body-bg);
  color-scheme: inherit;
}

[data-bs-theme="dark"] .bg-light {
  background-color: var(--bs-tertiary-bg) !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;
}
