html,
body {
  height: 100%;
}

.form-signin, .form-forgot, .form-reset {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/******* START LOGO *******/

/* Tema chiaro per schermi standard */
.logo_sign-in {
  background-image: url("../images/dapla_def_light_292x90.png");
  width: 292px; /* Larghezza dell'immagine originale */
  height: 90px; /* Altezza dell'immagine originale */
}

/* Tema chiaro per schermi Retina 2x */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  .logo_sign-in {
    background-image: url("../images/dapla_def_light_292x90@2x.png");
    background-size: 292px 90px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/* Tema chiaro per schermi Retina 3x */
@media only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (min-resolution: 288dpi) {
  .logo_sign-in {
    background-image: url("../images/dapla_def_light_292x90@3x.png");
    background-size: 292px 90px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/* Tema scuro per schermi standard */
:root[data-bs-theme="dark"] .logo_sign-in {
  background-image: url("../images/dapla_def_dark_292x90.png");
}

/* Tema scuro per schermi Retina 2x */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  :root[data-bs-theme="dark"] .logo_sign-in {
    background-image: url("../images/dapla_def_dark_292x90@2x.png");
    background-size: 292px 90px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/* Tema scuro per schermi Retina 3x */

@media only screen and (-webkit-min-device-pixel-ratio: 3),
  only screen and (min-resolution: 288dpi) {
  :root[data-bs-theme="dark"] .logo_sign-in {
    background-image: url("../images/dapla_def_dark_292x90@3x.png");
    background-size: 292px 90px; /* Dimensione dell'immagine originale per mantenere le proporzioni corrette */
  }
}

/******* END LOGO *******/