/*
  login-v2 card is 335px. Widen only the card (same selector the theme uses).
*/
.auth-wrapper.v2 .auth-form .card {
  width: 32rem;
  max-width: 100%;
}

/*
  login-v2 paints the photo on .auth-main. Admindek hides .auth-sidecontent
  below xl (1200px) but the photo stays and leaves a strip beside the form.
  Show the photo only at that same xl breakpoint. Below xl: form only.
*/
@media (min-width: 1200px) {
  .auth-main {
    background-image: none !important;
  }
  .auth-sidecontent {
    background-image: url('../assets/images/authentication/img-auth-bg-nexa-v2.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    flex: 1;
    width: 100%;
    min-height: 100vh;
    display: block !important;
  }
}

@media (max-width: 1199.98px) {
  .auth-main {
    overflow-x: hidden;
  }

  .auth-wrapper.v2 .auth-form {
    flex-grow: 1;
    width: 100%;
    min-width: 0;
  }

  .auth-wrapper.v2 .auth-form .card {
    width: 100%;
  }
}

.auth-form .form-control {
  color: var(--pc-heading-color);
  font-weight: 500;
}

.auth-form .form-control::placeholder {
  color: #adb5bd;
  font-weight: 400;
  opacity: 1;
}

.auth-form .form-control:-webkit-autofill,
.auth-form .form-control:-webkit-autofill:hover,
.auth-form .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--pc-heading-color);
}
