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.layout-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.layout-main {
  flex: 1 0 auto;
}

/* Modal filtro país/tipo: scroll vertical en el cuerpo (móvil / listas largas). */
#albumTipoFilterModal .modal-dialog {
  max-height: calc(100vh - 1rem);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#albumTipoFilterModal .modal-content {
  max-height: min(92vh, calc(100vh - 1rem));
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* El form envuelve header/body/footer: sin min-height:0 el cuerpo no encoge y el footer (Aceptar) queda fuera de pantalla. */
#albumTipoFilterModal .modal-content > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  max-height: 100%;
  overflow: hidden;
}

#albumTipoFilterModal .modal-header,
#albumTipoFilterModal .modal-footer {
  flex-shrink: 0;
}

#albumTipoFilterModal .modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}

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

.bg-mundial {
  background-color: #2563eb;
}

.header-logo {
  height: 50px;
}

.sign-in-card {
  background-color: #fff;
  border-radius: 12px;
  max-width: 420px;
  margin: 0 auto;
}
