.login-pf body * {
  box-sizing: border-box;
}

.login-pf body {
  background-image: -webkit-image-set(
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-01-1.avif")
      type("image/avif"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-01-1.webp")
      type("image/webp"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-01-1.jpg")
      type("image/jpeg")
  );
  background-image: image-set(
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-01-1.avif")
      type("image/avif"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-01-1.webp")
      type("image/webp"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-01-1.jpg")
      type("image/jpeg")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: auto;
  min-height: auto;
  padding: 5vw 5vw;
}

.pf-v5-c-login {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 !important;
  position: relative;
}

.pf-v5-c-login::before {
  background-color: #d80f00;
  display: block;
  content: "";
  width: 10%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.pf-v5-c-login::after {
  background-image: -webkit-image-set(
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-02-1.avif")
      type("image/avif"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-02-1.webp")
      type("image/webp"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-02-1.jpg")
      type("image/jpeg")
  );
  background-image: image-set(
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-02-1.avif")
      type("image/avif"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-02-1.webp")
      type("image/webp"),
    url("https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/images/bg-02-1.jpg")
      type("image/jpeg")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0.25rem 0 0 0.25rem;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 60%;
  z-index: 0;
}

.pf-v5-c-login__container {
  align-items: start;
  background-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.75) 70%,
    rgba(255, 255, 255, 0.9) 100%
  );
  backdrop-filter: blur(4px);
  border-radius: 0 0.25rem 0.25rem 0;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  max-width: none;
  min-height: 60vh;
  padding: 3rem 2rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

/* TOTP / other long setup flows: full-width card (split hero is too narrow) */
.pf-v5-c-login:has(#kc-totp-settings),
body[data-page-id="login-config-totp"] .pf-v5-c-login {
  flex-direction: column;
  max-width: 42rem;
}

.pf-v5-c-login:has(#kc-totp-settings)::before,
.pf-v5-c-login:has(#kc-totp-settings)::after,
body[data-page-id="login-config-totp"] .pf-v5-c-login::before,
body[data-page-id="login-config-totp"] .pf-v5-c-login::after {
  display: none;
}

.pf-v5-c-login:has(#kc-totp-settings) .pf-v5-c-login__container,
body[data-page-id="login-config-totp"] .pf-v5-c-login__container {
  width: 100% !important;
  max-width: 42rem;
  border-radius: 0.25rem;
  margin: 0 auto;
  min-height: auto;
}

#kc-totp-settings {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

#kc-totp-settings > li + li {
  margin-top: 1rem;
}

#kc-totp-supported-apps {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

#kc-totp-secret-qr-code {
  display: block;
  max-width: 12rem;
  width: 100%;
  height: auto;
  margin: 0.75rem auto;
}

/* Responsivo - Open */

@media (min-width: 980px) {
  .pf-v5-c-login {
    flex-direction: row;
    /* padding: 0 5vh !important; */
  }

  .pf-v5-c-login::after {
    width: 50%;
  }

  .pf-v5-c-login__container {
    width: 50%;
  }

  .pf-v5-c-login:has(#kc-totp-settings),
  body[data-page-id="login-config-totp"] .pf-v5-c-login {
    flex-direction: column;
  }

  .pf-v5-c-login:has(#kc-totp-settings) .pf-v5-c-login__container,
  body[data-page-id="login-config-totp"] .pf-v5-c-login__container {
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
  .login-pf body {
    padding: 3rem 5vw;
  }
  .pf-v5-c-login::after {
    width: 60%;
  }

  .pf-v5-c-login__container {
    width: 40%;
  }

  .pf-v5-c-login:has(#kc-totp-settings) .pf-v5-c-login__container,
  body[data-page-id="login-config-totp"] .pf-v5-c-login__container {
    width: 100% !important;
  }
}

@media (min-width: 1536px) {
  .pf-v5-c-login__container {
    padding: 3rem;
  }
}

/* Responsivo - Close*/

#kc-header {
  margin: 0 0 3rem 0;
  width: 100%;
}

#kc-header-wrapper {
  aspect-ratio: 450 / 48;
  background-image: url(https://m3aawg-2026.amzb.securityserve.com/themes/custom/aero10/logo.svg);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 0;
  height: auto;
  margin: 0;
  max-width: 400px;
  width: 100%;
}

.pf-v5-c-login__main {
  background: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.pf-v5-c-login__main-header {
  border: none;
  color: #121b1d;
  padding: 0;
}

.pf-v5-c-login__main-body {
  color: #121b1d;
  padding: 0;
}

.pf-v5-c-form-control::before,
.pf-v5-c-form-control::after {
  display: none;
}

.pf-v5-c-login__main-header {
  display: block;
}

#kc-page-title {
  font-weight: 600;
}

#kc-form-login {
  gap: 0.5rem;
}

.pf-v5-c-login__main-body :is(input, select, textarea) {
  background: #fff;
  border: 1px solid #85c4d2 !important;
  color: #121b1d;
  padding: 1rem;
}

.pf-v5-c-form-control {
  align-items: inherit;
  background: none;
}

.pf-v5-c-input-group__item {
  border: none;
}

.pf-v5-c-form__label-text {
  color: #008ca7;
  font-size: 1rem;
}

.pf-v5-c-check__label {
  color: #121b1d;
}

.pf-v5-c-login__main-body input[type="checkbox"],
#kc-totp-settings-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #008ca7;
  border-radius: 3px;
  background-color: white;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.3s ease;
}

.pf-v5-c-login__main-body input[type="checkbox"]:checked,
#kc-totp-settings-form input[type="checkbox"]:checked {
  background-color: #008ca7;
  border-color: #008ca7;
}

.pf-v5-c-login__main-body input[type="checkbox"]:checked::after,
#kc-totp-settings-form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pf-v5-c-login__main-body input[type="checkbox"]:hover,
#kc-totp-settings-form input[type="checkbox"]:hover {
  border-color: #008ca7;
}

#kc-form-buttons,
#kc-form-login .pf-v5-c-button,
#kc-totp-settings-form input[type="submit"],
#kc-totp-settings-form .pf-v5-c-button.pf-m-primary {
  background-color: #008ca7;
  border: none;
  color: white !important;
  padding: 1rem 1.5rem;
  font-size: 18px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: none;
}

/* Hover */
#kc-form-buttons:hover,
#kc-form-login .pf-v5-c-button:hover,
#kc-totp-settings-form input[type="submit"]:hover,
#kc-totp-settings-form .pf-v5-c-button.pf-m-primary:hover {
  background-color: #007391;
  box-shadow: 0 2px 8px rgba(0, 140, 167, 0.3);
}

/* Active/Click */
#kc-form-buttons:active,
#kc-form-login .pf-v5-c-button:active,
#kc-totp-settings-form input[type="submit"]:active,
#kc-totp-settings-form .pf-v5-c-button.pf-m-primary:active {
  background-color: #006478;
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 140, 167, 0.2);
}

/* Focus */
#kc-form-buttons:focus,
#kc-form-login .pf-v5-c-button:focus,
#kc-totp-settings-form input[type="submit"]:focus,
#kc-totp-settings-form .pf-v5-c-button.pf-m-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 140, 167, 0.3);
}

/* Disabled */
#kc-form-buttons:disabled,
#kc-form-login .pf-v5-c-button:disabled,
#kc-totp-settings-form input[type="submit"]:disabled,
#kc-totp-settings-form .pf-v5-c-button.pf-m-primary:disabled {
  background-color: #007391;
  cursor: not-allowed;
  opacity: 0.6;
}

#reset-login {
  background-color: #008ca7;
}
#reset-login:hover {
  background-color: #007391;
}

.pf-v5-c-alert {
  background: #ffe4e2;
  border: 1px solid #ea5a4f;
  color: #000;
}
.pf-v5-c-alert * {
  color: #d80f00;
}

.pf-v5-c-login__main-body a {
  color: #007391;
  font-weight: 500;
  text-decoration: underline;
}
.pf-v5-c-login__main-body a:hover {
  color: #008ca7;
}

.pf-v5-c-helper-text__item.pf-m-error {
  justify-content: center;
  display: flex;
  width: 100%;
}
.pf-v5-c-helper-text__item.pf-m-error * {
  color: #d80f00;
}

.pf-v5-c-login__main-footer-band {
  border-color: #85c4d2;
}

.pf-v5-u-color-200 {
  color: #121b1d !important;
}

.pf-v5-c-form__actions .pf-v5-c-button {
  color: #007391;
  font-weight: 500;
  text-decoration: none !important;
}

.pf-v5-c-button::after {
  display: none;
}

.pf-v5-c-form__actions .pf-v5-c-button.pf-m-primary {
  color: #ffffff;
}
