:root {
  --login-green: #3fae49;
  --login-logo-green: #06921d;
  --login-logo-blue: #1e59c8;
  --login-purple: #514cff;
  --login-ink: #101010;
  --login-text: #1e2b44;
  --login-muted: #6f7f9f;
  --login-input: #aab4c8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--login-text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.login-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
}

.login-background-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.login-card {
  position: absolute;
  left: 8%;
  top: 13%;
  display: flex;
  width: 350px;
  min-height: 435px;
  flex-direction: column;
  border: 1px solid #cfe9ce;
  background: rgba(255, 255, 255, .96);
  padding: 18px 20px 22px;
  box-shadow: 0 2px 9px rgba(20, 80, 27, .07);
}

.login-brand {
  display: flex;
  align-items: baseline;
  margin-bottom: 77px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.login-brand span {
  color: var(--login-logo-green);
}

.login-brand strong {
  color: var(--login-logo-blue);
  font-weight: 700;
}

.login-copy h1 {
  margin: 0 0 9px;
  color: var(--login-purple);
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0;
}

.login-copy p {
  margin: 0 0 26px;
  color: #17243d;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
}

.login-copy .login-supporting-copy {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 23px;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.login-form label {
  margin-bottom: 2px;
  color: var(--login-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.login-form input {
  width: 310px;
  height: 37px;
  border: 2px solid var(--login-input);
  border-radius: 0;
  background: #ffffff;
  padding: 0 13px;
  color: #22304a;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  outline: none;
}

.login-form input::placeholder {
  color: #8f9bb3;
  opacity: 1;
}

.login-form input:focus {
  border-color: #7f8dab;
}

.login-error {
  margin-top: 5px;
  color: #c73434;
  font-size: 11px;
  line-height: 15px;
}

.login-form button {
  width: 86px;
  height: 39px;
  margin-top: 27px;
  border: 0;
  border-radius: 3px;
  background: var(--login-green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
}

.login-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
}

.login-actions button {
  margin-top: 0;
}

.login-actions a {
  color: var(--login-purple);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
}

.login-copyright {
  width: 290px;
  margin: auto 0 0;
  color: var(--login-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.login-hero-copy {
  position: absolute;
  top: 14.8%;
  left: 47.3%;
  color: var(--login-ink);
}

.login-hero-copy h2 {
  margin: 0 0 17px;
  color: var(--login-ink);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.login-hero-copy h2 span {
  color: #5aa354;
}

.login-hero-copy p {
  margin: 0;
  color: #252525;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: 0;
}

@media (max-width: 1400px) {
  .login-card {
    left: 5%;
    width: 440px;
  }

  .login-form input {
    width: 100%;
  }

  .login-hero-copy {
    left: 48%;
  }

  .login-hero-copy h2 {
    font-size: 52px;
  }
}

@media (max-width: 991px) {
  .login-page {
    display: grid;
    min-height: 100vh;
    align-items: start;
    padding: 42px 24px 220px;
  }

  .login-card,
  .login-hero-copy {
    position: relative;
    inset: auto;
  }

  .login-card {
    width: min(100%, 493px);
    min-height: 560px;
    margin: 0 auto;
  }

  .login-brand {
    margin-bottom: 76px;
  }

  .login-hero-copy {
    order: -1;
    width: min(100%, 493px);
    margin: 0 auto 28px;
  }

  .login-hero-copy h2 {
    font-size: 38px;
    letter-spacing: 0;
  }

  .login-hero-copy p {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .login-page {
    padding: 24px 16px 180px;
  }

  .login-card {
    min-height: 500px;
    padding: 22px 20px 26px;
  }

  .login-brand {
    margin-bottom: 58px;
    font-size: 46px;
  }

  .login-copy h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .login-copy p {
    margin-bottom: 30px;
    font-size: 23px;
    line-height: 29px;
  }

  .login-form label {
    font-size: 16px;
  }

  .login-form input {
    height: 48px;
    padding: 0 14px;
    font-size: 17px;
  }

  .login-copyright {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
  }
}
