.signup-page {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 11%, rgba(107, 239, 209, .42), transparent 34%),
    radial-gradient(ellipse at 31% 72%, rgba(250, 195, 220, .45), transparent 31%),
    radial-gradient(ellipse at 69% 77%, rgba(190, 218, 255, .45), transparent 32%),
    #fff;
}

.signup-main {
  min-height: 100vh;
  padding: 0 24px 70px;
}

.signup-brand {
  position: relative;
  z-index: 2;
  display: flex;
  width: 168px;
  height: 56px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(19, 59, 73, .1);
}

.signup-brand img {
  width: 116px;
  height: 38px;
  object-fit: contain;
}

.signup-stage {
  position: relative;
  display: flex;
  width: min(760px, 100%);
  min-height: 700px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.signup-card {
  position: relative;
  z-index: 1;
  width: min(378px, 100%);
  padding: 28px 42px 25px;
  border: 1px solid rgba(19, 59, 73, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(19, 59, 73, .12);
  text-align: center;
}

.signup-book-icon {
  width: 70px;
  height: 62px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.signup-card h1 {
  margin-bottom: 20px;
  color: #333;
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.signup-form {
  display: grid;
  gap: 7px;
}

.signup-field {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #d9d9d9;
  color: #3D553F;
  text-align: left;
}

.signup-field i {
  width: 15px;
  flex: 0 0 15px;
  font-size: 14px;
  text-align: center;
}

.signup-field input {
  width: 100%;
  min-width: 0;
  padding: 7px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font: inherit;
  font-size: 14px;
}

.signup-field input::placeholder {
  color: #999;
  opacity: 1;
}

.signup-field:focus-within {
  border-color: #3D553F;
}

.signup-consent {
  display: flex;
  margin: 7px 0 8px;
  align-items: flex-start;
  gap: 10px;
  color: #777;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}

.signup-consent input {
  width: 15px;
  height: 15px;
  margin: 0;
  flex: 0 0 15px;
  accent-color: #3D553F;
}

.signup-consent a {
  color: #777;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup-submit {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 24px;
  background: #3D553F;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.signup-submit:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.signup-terms {
  margin: 24px 0 17px;
  color: #999;
  font-size: 10px;
  line-height: 1.35;
}

.signup-terms a,
.signup-login a {
  color: #3D553F;
  font-weight: 600;
}

.signup-login {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.signup-book {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
}

.signup-book-top-right {
  top: 185px;
  right: 7%;
  width: 125px;
}

.signup-book-left-bottom {
  bottom: 116px;
  left: 3%;
  width: 158px;
}

.signup-book-bottom-right {
  right: 7%;
  bottom: 106px;
  width: 88px;
}

@media (max-width: 600px) {
  .signup-main {
    padding: 0 18px 36px;
  }

  .signup-book {
    z-index: 0;
  }

  .signup-brand {
    width: 148px;
    height: 52px;
  }

  .signup-stage {
    min-height: 680px;
  }

  .signup-card {
    padding: 26px 28px 23px;
  }

  .signup-book-top-right {
    top: 120px;
    right: -17px;
    width: 92px;
  }

  .signup-book-left-bottom {
    bottom: 80px;
    left: -21px;
    width: 120px;
  }

  .signup-book-bottom-right {
    right: -17px;
    bottom: 70px;
    width: 64px;
  }
}

@media (max-width: 380px) {
  .signup-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .signup-stage {
    min-height: 650px;
  }

  .signup-card {
    padding-right: 23px;
    padding-left: 23px;
  }

  .signup-book-top-right {
    top: 116px;
    right: -12px;
    width: 72px;
  }

  .signup-book-left-bottom {
    bottom: 69px;
    left: -14px;
    width: 94px;
  }

  .signup-book-bottom-right {
    right: -12px;
    bottom: 65px;
    width: 53px;
  }
}
