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;
}

/* App */

.btn-nissan, .btn-nissan:active, .btn-nissan:hover, .btn-nissan:focus {
  display: inline-block;
  background: #000000;
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 40px;
  letter-spacing: 1px;
  box-shadow: none;
}

.input-disabled {
  background-color: #eee;
  color: #777;
  border: 1px solid #ccc;
  cursor: not-allowed;
  user-select: none;        /* Prevent text selection */
  pointer-events: none;     /* Prevent interaction (no focus, no click) */
}

/* Three-state toggles */
.toggle-wrapper {
  width: 50px;
  min-width: 50px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  margin: 5px;
  cursor: pointer;
  display: inline-block;
}

.toggle-knob {
  margin: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  transition: left 0.2s ease;
}

.toggle-left .toggle-knob { left: 1px; background: #3c763d; }
.toggle-middle .toggle-knob { left: 16px; background: #777777; }
.toggle-right .toggle-knob { left: 31px; background: #a94442; }

.text-validation {
  font-size: 0.75em;
}