/* Defensive CSS to prevent dynamic CSS injection from breaking layout */
html {
  font-size: 13px !important; /* Default to desktop size to prevent layout breaks */
}

@media (max-width: 767px) {
  html {
    font-size: 11px !important; /* Only reduce font-size on actual mobile devices */
  }
}

/* Prevent dynamic CSS reset injection from affecting the layout */
html, body {
  margin: unset !important;
  padding: unset !important;
}

/* Specifically override any injected CSS reset for headings and paragraphs */
h1, h2, h3, h4, h5, h6, p {
  margin: revert !important;
  padding: revert !important;
}

.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;
    background-image: url('/Img/IOS.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
    background-color: #e8eff5;/* /* Fallback color if image doesn't load */*/
}

.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;
}
