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

.btn-link-submit {
    background: none;
    border: none;
    padding: 0 2rem 0 2rem;
    color: #0056b3; /* Match your website's link color */
    text-decoration: underline;
    cursor: pointer;
    font: inherit; /* Inherit form text styling */
}

.btn-link-submit:hover {
    color: #003366; /* Hover state styling */
    text-decoration: none;
}

label:has(+ fieldset.required)::after,
label:has(+ input[data-val-required])::after,
label:has(+ select[data-val-required])::after,
label:has(+ textarea[data-val-required])::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Optional: If the input is nested inside the label */
label:has([data-val-required])::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Visually flags an invalid element after the user attempts a submission */
input.input-validation-error {
    border: 2px solid red;
    background-color: #fff8f8;
}

.form-control::placeholder {
  color: #A0A0A0;
  opacity: 1;
}

.form-group, 
div:has(> label.control-label) {
    margin-bottom: 1rem !important; 
}

input[type="date"].form-control {
  max-width: 12rem;
}

input[type="text"].phone {
  max-width: 8rem;
}

.review {
 white-space: nowrap!important;
 flex:0 0 auto;
 width: 16.66666666%
}

.review-4 {
 white-space: nowrap!important;
 flex:0 0 auto;
 width: 33.33333333%
}

.review-12 {
 white-space: wrap!important;
 flex:0 0 auto;
 width: 100%
}

div.review > dd {
  margin-bottom: 0;
}