body.wbn-login-active {
  overflow: hidden !important;
}

#wbn-login-screen,
#wbn-login-screen *,
#wbn-login-screen *::before,
#wbn-login-screen *::after {
  box-sizing: border-box;
}

#wbn-login-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  background: #f47a08;
  color: #17324d;
  font-family: Montserrat, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#wbn-login-screen .wbn-login-stage {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100vw, 129.77vh);
  height: min(77.06vw, 100vh);
  transform: translateX(-50%);
}

#wbn-login-screen .wbn-login-scene {
  position: absolute;
  inset: -2px;
  background-color: #f47a08;
  background-image: url("../images/login-webarrio.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
}

#wbn-login-screen .wbn-login-panel {
  position: absolute;
  top: clamp(22px, 4.2vh, 46px);
  right: clamp(24px, 4.5vw, 88px);
  width: min(250px, calc(100vw - 32px));
  margin: 0;
  padding: 0;
}

#wbn-login-screen .wbn-login-trigger {
  width: 132px;
  height: 40px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
  list-style: none;
  text-transform: uppercase;
}

#wbn-login-screen .wbn-login-trigger svg,
#wbn-login-screen .wbn-login-trigger span {
  opacity: 0;
}

#wbn-login-screen .wbn-login-trigger::-webkit-details-marker {
  display: none;
}

#wbn-login-screen .wbn-login-trigger::marker {
  content: "";
}

#wbn-login-screen .wbn-login-trigger:hover,
#wbn-login-screen .wbn-login-trigger:focus-visible {
  background: transparent;
  color: transparent;
  outline: none;
}

#wbn-login-screen .wbn-login-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,255,255,.7);
}

#wbn-login-screen .wbn-login-card {
  margin-top: 10px;
  padding: 19px;
  border: 1px solid rgba(23,50,77,.08);
  border-radius: 2px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 46px rgba(91,52,19,.2);
  backdrop-filter: blur(8px);
}

#wbn-login-screen .wbn-login-card h1 {
  margin: 0;
  color: #17324d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

#wbn-login-screen .wbn-login-intro {
  margin: 5px 0 14px;
  color: #637386;
  font-size: 12px;
  line-height: 1.45;
}

#wbn-login-screen .wbn-login-error {
  margin: 0 0 12px;
  padding: 9px 10px;
  border-left: 3px solid #d94a2f;
  background: #fff0eb;
  color: #9b3422;
  font-size: 12px;
  line-height: 1.4;
}

#wbn-login-screen .wbn-login-form {
  display: grid;
  gap: 7px;
  margin: 0;
}

#wbn-login-screen .wbn-login-form > label:not(.wbn-login-remember) {
  margin-top: 2px;
  color: #17324d;
  font-size: 11px;
  font-weight: 700;
}

#wbn-login-screen .wbn-login-form input[type="text"],
#wbn-login-screen .wbn-login-form input[type="password"] {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d9c5bc;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  color: #17324d;
  font: inherit;
  font-size: 13px;
  outline: 0;
}

#wbn-login-screen .wbn-login-form input[type="text"]:focus,
#wbn-login-screen .wbn-login-form input[type="password"]:focus {
  border-color: #f15a3c;
  box-shadow: 0 0 0 3px rgba(241,90,60,.16);
}

#wbn-login-screen .wbn-login-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 3px 0 2px;
  color: #637386;
  font-size: 11px;
  font-weight: 500;
}

#wbn-login-screen .wbn-login-remember input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #f15a3c;
}

#wbn-login-screen .wbn-login-form button {
  min-height: 38px;
  margin-top: 2px;
  padding: 8px 12px;
  border: 1px solid #f15a3c;
  border-radius: 3px;
  background: #f15a3c;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
}

#wbn-login-screen .wbn-login-form button:hover,
#wbn-login-screen .wbn-login-form button:focus-visible {
  border-color: #d94a2f;
  background: #d94a2f;
  color: #fff;
}

#wbn-login-screen .wbn-login-form button:focus-visible {
  outline: 3px solid rgba(241,90,60,.23);
  outline-offset: 2px;
}

#wbn-login-screen .wbn-login-lost {
  display: block;
  margin-top: 11px;
  color: #d94a2f;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

#wbn-login-screen .wbn-login-lost:hover,
#wbn-login-screen .wbn-login-lost:focus-visible {
  color: #a83b26;
  text-decoration: underline;
}

#wbn-login-screen .wbn-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 720px) {
  #wbn-login-screen .wbn-login-stage {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  #wbn-login-screen .wbn-login-scene {
    background-position: center bottom;
    background-size: auto 100%;
  }

  #wbn-login-screen .wbn-login-panel {
    top: 18px;
    right: 16px;
    width: min(310px, calc(100vw - 32px));
  }

  #wbn-login-screen .wbn-login-trigger {
    width: max-content;
    height: auto;
    gap: 10px;
    padding: 6px 10px;
    background: #f47a08;
    color: #fff;
  }

  #wbn-login-screen .wbn-login-trigger svg,
  #wbn-login-screen .wbn-login-trigger span {
    opacity: 1;
  }

  #wbn-login-screen .wbn-login-trigger:hover,
  #wbn-login-screen .wbn-login-trigger:focus-visible {
    background: #df6500;
    color: #fff;
  }

  #wbn-login-screen .wbn-login-card {
    margin-top: 8px;
  }
}

@media (max-height: 560px) {
  #wbn-login-screen {
    overflow: auto;
  }

  #wbn-login-screen .wbn-login-panel {
    position: relative;
    top: auto;
    right: auto;
    margin: 18px 16px 24px auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #wbn-login-screen * {
    scroll-behavior: auto !important;
  }
}
