/* Ajustes finais da tela de acesso. Carregado por ultimo para prevalecer. */
.login-v2,
.login-v2 * {
  box-sizing: border-box;
}

.login-houseipet-logo-mobile {
  display: none;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .login-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr) !important;
  }

  .login-v2-marca.login-shurastey {
    padding: 30px !important;
  }

  .login-v2-marca.login-shurastey > div {
    padding: 18px;
  }

  .login-v2-form {
    padding: 30px;
  }
}

@media (max-width: 800px) {
  html,
  body.login-v2-body,
  #app,
  .login-v2 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .login-v2 {
    display: block !important;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .login-v2-marca.login-shurastey {
    display: none !important;
  }

  .login-v2-form {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(22px, 7vw, 38px) !important;
  }

  .login-v2-form > div {
    width: 100% !important;
    max-width: 420px;
  }

  .login-houseipet-logo-mobile {
    display: block;
    width: clamp(150px, 64vw, 250px);
    max-width: 100%;
    height: auto;
    max-height: min(90px, 14vh);
    margin: 0 auto 26px;
    object-fit: contain;
  }

  .login-v2-form h2 {
    font-size: clamp(30px, 10vw, 38px);
    line-height: 1.08;
  }

  .login-v2-form input,
  .login-v2-form form > button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .login-v2-form {
    align-items: flex-start;
    padding: 22px 18px !important;
  }

  .login-houseipet-logo-mobile {
    width: clamp(145px, 68vw, 220px);
    max-width: 100%;
    margin-bottom: 18px;
  }

  .login-v2-form > div > p {
    margin-bottom: 20px;
  }
}

@media (max-height: 680px) and (max-width: 800px) {
  .login-v2-form {
    align-items: flex-start;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .login-houseipet-logo-mobile {
    max-height: 62px;
    margin-bottom: 12px;
  }

  .login-v2-form h2 {
    margin-top: 4px;
  }

  .login-v2-form > div > p {
    margin-bottom: 16px;
  }
}
