html:has(.aseguramiento-login),
body:has(.aseguramiento-login) {
  min-height: 100%;
  overflow-x: hidden;
  background: #07065f;
}

body:has(.aseguramiento-login) {
  margin: 0;
  overflow: hidden;
}

body:has(.aseguramiento-login) .dialog-off-canvas-main-canvas,
body:has(.aseguramiento-login) .page-wrapper,
body:has(.aseguramiento-login) .layout-main-wrapper,
body:has(.aseguramiento-login) .layout-container,
body:has(.aseguramiento-login) .layout-main,
body:has(.aseguramiento-login) .main-content,
body:has(.aseguramiento-login) .main-content__container,
body:has(.aseguramiento-login) .region--content,
body:has(.aseguramiento-login) .region-content,
body:has(.aseguramiento-login) .block-system-main-block {
  min-height: 100vh;
  transform: none !important;
}

body:has(.aseguramiento-login) .page-wrapper,
body:has(.aseguramiento-login) .layout-main-wrapper,
body:has(.aseguramiento-login) .layout-container,
body:has(.aseguramiento-login) .layout-main,
body:has(.aseguramiento-login) .main-content,
body:has(.aseguramiento-login) .main-content__container,
body:has(.aseguramiento-login) .region--content,
body:has(.aseguramiento-login) .block-system-main-block {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.aseguramiento-login) #page-wrapper,
body:has(.aseguramiento-login) #main-wrapper,
body:has(.aseguramiento-login) #main,
body:has(.aseguramiento-login) #content,
body:has(.aseguramiento-login) #block-olivero-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body:has(.aseguramiento-login) .main-content__container,
body:has(.aseguramiento-login) .region--content {
  grid-column: 1 / -1 !important;
}

body:has(.aseguramiento-login) .site-header,
body:has(.aseguramiento-login) .site-footer,
body:has(.aseguramiento-login) .region-primary-menu,
body:has(.aseguramiento-login) .region-secondary-menu,
body:has(.aseguramiento-login) .region-highlighted,
body:has(.aseguramiento-login) .region-breadcrumb,
body:has(.aseguramiento-login) .region--content-above,
body:has(.aseguramiento-login) .page-title,
body:has(.aseguramiento-login) .tabs {
  display: none !important;
}

.aseguramiento-login {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  grid-template-columns: 50vw 50vw;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.aseguramiento-login__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 10.2vw;
  background: #160064 url("../assets/login/fondo-izquierdo.jpg") center / cover no-repeat;
}

.aseguramiento-login__panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(5, 0, 56, 0.18);
  pointer-events: none;
}

.aseguramiento-login__content {
  position: relative;
  z-index: 1;
  width: min(100%, 562px);
  margin-top: -6vh;
  text-align: center;
}

.aseguramiento-login__logo {
  display: block;
  width: 204px;
  max-width: 64%;
  height: auto;
  margin: 0 auto 44px;
}

.aseguramiento-login__heading {
  margin-bottom: 42px;
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.12;
}

.aseguramiento-login__heading div:first-child {
  font-weight: 600;
}

.aseguramiento-login__form-card {
  width: min(100%, 562px);
  margin: 0 auto;
}

.aseguramiento-login-form {
  margin: 0;
}

.aseguramiento-login-form .form-item {
  margin: 0 0 47px;
}

.aseguramiento-login-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.aseguramiento-login-form input[type="text"],
.aseguramiento-login-form input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  height: 49px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  outline: 0;
  background: #eaf2ff;
  color: #151a33;
  font-size: 17px;
  font-weight: 500;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 42px rgba(7, 0, 52, 0.18);
}

.aseguramiento-login-form input[type="text"]:focus,
.aseguramiento-login-form input[type="password"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 21, 133, 0.34), 0 18px 42px rgba(7, 0, 52, 0.18);
}

.aseguramiento-login-form .description,
.aseguramiento-login-form .form-item__description {
  display: none;
}

.aseguramiento-login-form .form-actions {
  margin: 0;
}

body:has(.aseguramiento-login) .messages-list,
body:has(.aseguramiento-login) .messages {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  width: min(560px, calc(100vw - 32px));
  margin: 0;
  transform: translateX(-50%);
}

.aseguramiento-login-form input[type="submit"] {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 7px;
  background: #ff1384;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255, 19, 132, 0.25);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.aseguramiento-login-form input[type="submit"]:hover,
.aseguramiento-login-form input[type="submit"]:focus {
  background: #ff2b94;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(255, 19, 132, 0.32);
}

.aseguramiento-login__visual {
  min-height: 100vh;
  background: #07065f url("../assets/login/fondo-derecho.jpg") center center / cover no-repeat;
}

@media (max-width: 900px) {
  .aseguramiento-login {
    grid-template-columns: 1fr;
    min-height: 100svh;
    background: #12005a url("../assets/login/fondo-derecho.jpg") center / cover no-repeat;
  }

  .aseguramiento-login__panel {
    min-height: 100svh;
    padding: 36px 24px;
    background: rgba(8, 0, 62, 0.74);
    backdrop-filter: blur(1px);
  }

  .aseguramiento-login__visual {
    display: none;
  }

  .aseguramiento-login__logo {
    width: 180px;
    margin-bottom: 36px;
  }

  .aseguramiento-login__heading {
    margin-bottom: 34px;
    font-size: 22px;
  }

  .aseguramiento-login-form .form-item {
    margin-bottom: 28px;
  }
}
