*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color, #4589ff);
}

.white-small-logo {
  width: 100px;
  height: 122px;
  flex-shrink: 0;
  position: absolute;
  top: 80px;
  left: 77px;
  cursor: pointer;
}

.sign-up-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 588px;
  padding: 48px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.08);
}

.arrow-container {
  width: 37px;
  height: 37px;
  padding: 2.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 48px;
  top: 64px;
}

.arrow-left-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
  background-image: url("../img/arrow-left-line.png");
  background-size: cover;
  transition: background-image 0.1s ease-in-out;
}

.arrow-left-icon:hover {
  background-image: url("../img/arrow-hover.png");
}

.sign-up-main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sign-up-sub-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sign-up-header-title {
  text-align: center;
  color: black;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  word-wrap: break-word;
}

.sign-up-header-line {
  width: 150px;
  height: 2px;
  background-color: var(--bg-color, #4589ff);
}

.sign-up-formular {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sign-up-formular-container {
  display: flex;
  padding: 12px 21px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.sign-up-info-box {
  width: 422px;
  height: 48px;
  padding: 12px 21px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--style, #d1d1d1);
  background: #fff;
}

.sign-up-input-frame {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

.sign-up-text-input {
  width: 100%;
  color: var(--style, #d1d1d1);
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  border: none;
  color: black;
  cursor: pointer;
}

.sign-up-text-input::placeholder {
  color: var(--style, #d1d1d1);
}

.sign-up-text-input:focus {
  outline: none;
  border: none;
}

.sign-up-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.password-match-error {
  align-self: stretch;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.8px;
  word-wrap: break-word;
  color: var(--error, #ff8190);
  display: none;
  margin-top: -7px;
}

.privacy-check-container {
  display: flex;
  padding-top: 20px;
  height: 24px;
  align-items: center;
  gap: 8px;
}

.privacy-ckeck-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}


.privacy-accept-text {
  color: var(--menu, #42526e);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.privacy-policy-link {
  color: var(--ligth-blue, #005dff);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
  cursor: pointer;
}

.privacy-policy-link:hover {
  text-decoration: underline;
  scale: 1.04;
}

.sign-up-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sign-up-btn {
  padding: 10px 21px;
  border-radius: 8px;
  background: var(--bg-color, #4589ff);
  color: #ffffff;
  border: none;
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  cursor: pointer;
}

.sign-up-btn:hover {
  background: var(--ligth-blue, #005dff);
  transition: ease-in-out 100ms;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.sign-up-btn:active {
  background-color: #ffffff;
  color: var(--bg-color, #4589ff);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.legal-notice-container {
  display: flex;
  width: 240px;
  height: 35px;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 42.7px;
  justify-content: center;
}

.legal-notice-sub-container {
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}

.legal-notice-text {
  color: #ffffff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
}

.legal-notice-text:hover {
  color: var(--ligth-blue, #005dff);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-message {
  display: flex;
  width: 326px;
  height: 74px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: var(--bg-color, #4589ff);
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
  animation-name: slideInFromOutside;
  animation-duration: 0.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes slideInFromOutside {
  from {
    transform: translateY(200px);
  }

  to {
    transform: translateY(50%);
  }
}

.success-message p {
  color: #ffffff;
  font-family: Open Sans;
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(5px);
  }
}

.shake-password {
  animation: shake 0.5s ease-in-out;
}

.privacy-error-msg {
  color: red;
  font-size: 0.9rem;
  margin-top: 4px;
}

.error-msg {
  color: red;
  font-size: 0.8em;
  min-height: 1em;
  margin-top: 2px;
}
.sign-up-text-input.invalid {
  border-color: red;
}


.sign-up-dflex {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
}