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;
}

/* Hide the empty validation summary container so it doesn't render a stray bullet. */
.validation-summary-valid {
  display: none;
}

/* ---------------------------------------------------------------------------
   Self-service password pages: centered card layout
   --------------------------------------------------------------------------- */

.auth-body {
  min-height: 100vh;
  margin-bottom: 0;
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 45%, #eef6ff 100%);
}

.auth-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.auth-main {
  width: 100%;
  max-width: 460px;
}

.auth-footer {
  margin-top: 1.5rem;
}

.auth-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

.auth-card__body {
  padding: 2rem 2rem 1.75rem;
}

.auth-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background-color: rgba(37, 140, 251, 0.12);
  color: #1d6fe0;
  font-size: 1.4rem;
}

.auth-card__title {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.auth-card__subtitle {
  color: var(--bs-secondary-color);
  margin-bottom: 1.5rem;
}

.auth-card .form-floating {
  margin-bottom: 1rem;
}

.auth-card .btn-submit {
  width: 100%;
  padding-block: 0.6rem;
  font-weight: 600;
}

.auth-card .form-help {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}
