/** Register modal **/

.register-modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.form-input__container{
    width: 100%;
}

.register-modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: #ffffff;
  padding: 2rem 4rem;
  width: 500px;
  height: max-content!important;
  border-radius: 10px;
}

.register-modal__close-button {
  position: absolute;
  top: -20px;
  right: 15px;
  cursor: pointer;
  color: #000000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  background: hsl(36, 99%, 64%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.register-modal__close-button:hover,
.register-modal__close-button:focus {
  background: hsl(36, 82%, 59%);
}
.register-modal__close-button:before,
.register-modal__close-button:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 1px;
  background-color: #000000;
}

.register-modal__close-button:before {
  transform: rotate(45deg);
}

.register-modal__close-button:after {
  transform: rotate(-45deg);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/** Register form **/

.register-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.register-form__title {
  color: var(--primary-500);
  font-weight: bold;
}

.register-form__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: var(--fs-300);
  font-weight: bold;
  background: hsl(36, 99%, 64%);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  padding: 1rem 3rem;
  -webkit-text-decoration: none;
  text-decoration: none;
  text-transform: uppercase;
  transition: 275ms ease;
  white-space: nowrap;
}

.register-form__button:hover {
  background: hsl(36, 99%, 60%);
}

.register-form__link {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  width: max-content;
  letter-spacing: -1px;
  color: hsl(36, 94%, 35%);
  font-size: var(--fs-200);
  font-weight: bold;
  transition: all 0.2s;
}

.register-form__link:hover {
  color: hsl(36, 94%, 45%);
}

.form__phone-input {
  width: 100%;
  border: 1px solid #b1b1b1;
  border-radius: 10px;
  padding: 5px 7px;
}

.form__phone-input input {
  width: 85%;
  direction: ltr;
  border: none;
  outline: none;
  color: rgba(0, 0, 0, 0.7);
  font-size: var(--fs-200);
}

.form__phone-input input::-moz-placeholder {
  text-align: right;
  color: hsla(0, 0%, 0%, 0.5);

}
.form__phone-input input::placeholder {
  text-align: right;
  color: hsla(0, 0%, 0%, 0.5);
    font-size: 1.2rem;
}

.form__phone-input span {
  direction: ltr;
  color: rgba(0, 0, 0, 0.7);
  font-size: var(--fs-200);
  border-right: 1px solid #b1b1b1;
  padding-right: 5px;
}

/** Header register button **/
.header__register {
  cursor: pointer;
  background: none;
  border: 0;
  outline: none;
}

.otp-form {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.otp-input {
    text-align: center;
}

.otp-container {
    direction: ltr;
    display: flex;
    gap: 1rem;
}

.otp-form__link {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    width: max-content;
    letter-spacing: -1px;
    color: hsl(36, 94%, 35%);
    font-size: var(--fs-200);
    font-weight: bold;
    transition: all 0.2s;
}

.otp-form__link:hover {
    color: hsl(36, 94%, 45%);
}

.register-form__link-signin-container {
    display: none ;
}
.invest-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.invest-modal__content {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: #ffffff;
    padding: 2rem 4rem;
    width: 500px;
    height: 450px;
    border-radius: 10px;
}

@media only screen and (max-width: 600px) {
    .invest-modal__content {
        padding: 1rem;
        width: 300px;
        height: 350px;
    }
}

.invest-modal__close-button {
    position: absolute;
    top: -20px;
    right: 70px;
    cursor: pointer;
    color: #000000;
    float: right;
    font-size: 28px;
    /*font-weight: bold;*/
    background: hsl(36, 99%, 64%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.invest-modal__close-button:hover,
.invest-modal__close-button:focus {
    background: hsl(36, 82%, 59%);
}

.invest-modal__close-button:before,
.invest-modal__close-button:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 1px;
    background-color: #000000;
}

.invest-modal__close-button:before {
    transform: rotate(45deg);
}

.invest-modal__close-button:after {
    transform: rotate(-45deg);
}
