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;
}

/* ── Floating label: tarayıcı autofill fix ─────────────────────────────────
   Chrome/Edge autofill devreye girince :placeholder-shown güncellenmez.
   Animasyon tabanlı tespit: animationstart eventi ile .is-autofilled
   class'ı eklenir (input-filter.js tarafından dinlenir).
   ─────────────────────────────────────────────────────────────────────── */
@keyframes ela-autofill-start { from {} }
@keyframes ela-autofill-stop  { from {} }

.form-group input:-webkit-autofill {
  animation-name: ela-autofill-start;
  animation-duration: 1ms;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  transition: background-color 9999s ease-in-out 0s;
}
.form-group input:not(:-webkit-autofill) {
  animation-name: ela-autofill-stop;
  animation-duration: 1ms;
}

/* JS tarafından eklenen class ile label'ı yukarı çıkar */
.form-group.is-autofilled label {
  top: -.5rem !important;
  font-size: 10px !important;
  font-family: 'JetBrains Mono', 'SF Mono', monospace !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #7b8b6b !important;
}