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;
}

/* HTML Content Styles */
.html-content {
  font-size: 16px;
  line-height: 1.8;
}

.html-content h1,
.html-content h2,
.html-content h3,
.html-content h4,
.html-content h5,
.html-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.html-content h1 { font-size: 2em; }
.html-content h2 { font-size: 1.75em; }
.html-content h3 { font-size: 1.5em; }
.html-content h4 { font-size: 1.25em; }
.html-content h5 { font-size: 1.1em; }
.html-content h6 { font-size: 1em; }

.html-content p {
  margin-bottom: 1em;
}

.html-content ul,
.html-content ol {
  margin-bottom: 1em;
  padding-left: 2em;
}

.html-content li {
  margin-bottom: 0.5em;
}

.html-content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  margin: 1em 0;
  color: #666;
  font-style: italic;
}

.html-content code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.html-content pre {
  background-color: #f4f4f4;
  padding: 1em;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 1em;
}

.html-content pre code {
  background-color: transparent;
  padding: 0;
}

.html-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}

.html-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.html-content table th,
.html-content table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.html-content table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.html-content a {
  color: #0d6efd;
  text-decoration: underline;
}

.html-content a:hover {
  color: #0a58ca;
}

.html-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid #ddd;
}

.html-content strong,
.html-content b {
  font-weight: bold;
}

.html-content em,
.html-content i {
  font-style: italic;
}