a {
  text-decoration: none;
}

.body-signup {
  min-height: 100vh;
}

.app {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-main);
  width: 100%;
  min-height: 100vh;
  padding: 0 0.5rem;
  gap: 4rem;
}

.header-signup {
  height: auto;
  width: 100%;
  padding: 2.31rem 0 0 2.38rem;
}

.header-signup img {
  height: 4.88rem;
  width: 4rem;
  object-fit: cover;
  object-position: center;
}

.main-signup {
  max-width: 25rem;
  position: relative;
  height: 37.19rem;
  width: 100%;
  border-radius: 1.88rem;
  padding: 2rem 1rem;
  background-color: var(--color-white);
  box-shadow: 0 0 0.88rem 0.19rem var(--color-black-10);
}

.signup-back-vector {
  height: 2.5rem;
  width: 2.5rem;
  position: absolute;
  left: 1rem;
  top: 2.5rem;
}

/* form signup */
form {
  height: 100%;
  width: 100%;
  gap: 1rem;
}

/* Spacing & Labels */
.pb-1 {
  padding-bottom: 1rem;
  width: 100%;
}

.form-label {
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* form-control (Input-Felder) */
.form-control {
  height: 3rem;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-gray-104);
  border: 1px solid var(--color-gray-209);
  border-radius: 0.65rem;
  transition: box-shadow 100ms ease-in-out;
}

.form-control:focus {
  outline: 0;
  border: 1px solid var(--color-medium);
}

.input-wrapper {
  position: relative;
  max-width: 22.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.input-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  pointer-events: none;
}

.visibility-icon {
  pointer-events: auto;
  cursor: pointer;
}

.error-text {
  height: 1rem;
  width: 100%;
  color: var(--color-error);
  font-size: 0.875rem;
  text-align: center;
  padding-top: 0.5rem;
}

.input-error {
  border: 1px solid var(--color-error);
}

.heading-accent--bottom-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.heading-accent--bottom-center::after {
  content: "";
  width: 80%;
  height: 0.1875rem;
  background-color: var(--color-highlight);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-highlight);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--color-black-100);
}

/* Buttons */
.btn {
  height: 3rem;
  width: 100%;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--color-gray-104);
  border-radius: 0.5rem;
  transition:
    background-color 100ms ease-in-out,
    box-shadow 100ms ease-in-out;
  gap: 0.63rem;
}

.btn-primary {
  color: var(--color-bg-main);
  background-color: var(--color-dark);
  width: 11.25rem;
}

.btn-primary:hover {
  box-shadow: 0 0.25rem 0.5rem var(--color-black-25);
}

.signup-a {
  color: var(--color-medium);
}

/* footer */
.footer-signup {
  height: 10.8rem;
  width: 100%;
  gap: 1.5rem;
}

.impress-bar {
  width: 15.375rem;
  height: 2.2rem;
}

.impress-bar a {
  padding: 0.5rem;
}

.toast {
  position: absolute;
  top: 8rem;
  right: 0.5rem;
  padding: 0.5rem;
  width: auto;
  color: var(--color-bg-main);
  background-color: var(--color-dark);
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  user-select: none;
  border: 1px solid var(--color-gray-104);
  border-radius: 0.5rem;
  transform: translateX(120%);
  transition: transform 300ms ease-out;
}

.toast.show {
  transform: translateX(0);
}

/* teblet */
@media (width >= 40rem) and (width < 64rem) {
  .signup-back-vector {
    left: 2rem;
  }
}

/* Laptop */
@media (width >= 64rem) {
  .app {
    min-width: 64rem;
    width: 100%;
    min-height: 100vh;
    padding: 4.1875rem 7.625rem 2.5rem 4.8125rem;
  }

  .header-signup {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 77.5rem;
    height: 6.5rem;
    padding: 0;
  }

  .header-signup img {
    height: 6.5rem;
    width: 5rem;
    padding: 0;
  }

  .main-signup {
    max-width: 37.5rem;
    max-height: 39.38rem;
    height: auto;
  }

  .signup-back-vector {
    left: 3rem;
    top: 2.5rem;
  }

  .form-label {
    margin-bottom: 0;
    line-height: 0;
  }

  .input-wrapper {
    width: 26.375rem;
    height: 3rem;
    margin-bottom: 1.25rem;
  }

  .input-bar .input-wrapper:last-of-type {
    margin-bottom: 0.5rem;
  }

  .footer-signup {
    justify-content: end;
    height: 2rem;
  }
}

/* Desktop */
@media (width >= 90rem) {
  .app {
    max-width: 90rem;
  }

  .header-signup {
    height: 7.75rem;
  }

  .header-signup img {
    height: 7.75rem;
    width: 6.25rem;
  }
}
