:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #292929;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

.login-shell {
  display: grid;
  grid-template-columns: 50.75% 49.25%;
  min-height: 100vh;
}

.login-showcase {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 100vh;
  color: #ffffff;
  background: linear-gradient(135deg, #21005c 0%, #3d007b 55%, #270061 100%);
}

.showcase-content {
  position: relative;
  z-index: 2;
  width: min(78%, 712px);
  text-align: center;
}

.euromundo-wordmark {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  margin-bottom: 42px;
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  letter-spacing: .03em;
}

.euromundo-symbol {
  display: grid;
  place-items: center;
  width: 72px;
  height: 54px;
  margin-right: 8px;
  border: 3px solid #ffffff;
  border-radius: 50% 14% 50% 14%;
  font-size: 2.8rem;
  line-height: 1;
}

.euromundo-wordmark small {
  grid-column: 2;
  justify-self: end;
  margin-top: -6px;
  font-size: .72rem;
  letter-spacing: 0;
}

.slider-card {
  display: grid;
  gap: 15px;
  padding: 28px 30px;
  border-radius: 8px;
  color: #25016d;
  background: #ffffff;
  font-size: 1.15rem;
}

.slider-card strong {
  font-size: 1.08rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.slider-dots span {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #8061bd;
}

.slider-dots .active {
  background: #ffffff;
}

.constellation {
  position: absolute;
  width: 340px;
  height: 340px;
  opacity: .34;
  background:
    radial-gradient(circle at 50% 50%, #a47bff 0 12%, transparent 13%),
    linear-gradient(27deg, transparent 49.4%, #a47bff 49.5% 50.5%, transparent 50.6%),
    linear-gradient(55deg, transparent 49.4%, #a47bff 49.5% 50.5%, transparent 50.6%),
    linear-gradient(78deg, transparent 49.4%, #a47bff 49.5% 50.5%, transparent 50.6%);
}

.constellation::before,
.constellation::after {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  content: "";
  background: #a47bff;
}

.constellation::before {
  top: 28px;
  left: 60px;
}

.constellation::after {
  right: 38px;
  bottom: 72px;
}

.constellation-top {
  top: -155px;
  right: -28px;
}

.constellation-bottom {
  bottom: -142px;
  left: -145px;
}

.login-panel {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px;
  background: #ffffff;
}

.login-form-container {
  width: min(100%, 525px);
  transform: translateY(-1vh);
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #280078;
}

.brand-lockup-large {
  gap: 18px;
  font-size: clamp(1.8rem, 2.1vw, 2.25rem);
}

.brand-lockup strong {
  font-weight: 500;
}

.brand-lockup strong span {
  color: #e6003a;
}

.brand-spark {
  font-size: 3.5rem;
  font-weight: 300;
}

.login-subtitle {
  margin: 32px 0 42px;
  text-align: center;
  font-size: 1.15rem;
}

.login-form {
  display: grid;
  gap: 64px;
}

.login-error {
  margin: -18px 0 24px;
  padding: 13px 16px;
  border: 1px solid #f1b7c5;
  border-radius: 8px;
  color: #a40028;
  background: #fff2f5;
  font-size: .88rem;
  line-height: 1.4;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: .82rem;
}

.form-field input {
  width: 100%;
  height: 53px;
  padding: 0 17px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  color: #292929;
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.form-field input:focus {
  border-color: #350087;
  box-shadow: 0 0 0 3px rgb(53 0 135 / 12%);
}

.field-validation {
  min-height: 18px;
  color: #d80032;
  font-size: .82rem;
}

.login-button {
  justify-self: center;
  width: min(65%, 342px);
  min-width: 240px;
  height: 69px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #e9003d;
  box-shadow: 0 8px 9px rgb(0 0 0 / 18%);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.login-button:hover {
  background: #cf0036;
}

.development-login-button {
  justify-self: center;
  margin-top: -44px;
  border: 0;
  color: #350087;
  background: transparent;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.development-login-button:hover {
  color: #e9003d;
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-showcase {
    min-height: 44vh;
    padding: 60px 24px;
  }

  .login-panel {
    min-height: 56vh;
    padding: 54px 24px;
  }

  .login-form-container {
    transform: none;
  }
}
