/* Modal styles */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-header {
  padding: unset !important;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none !important;
}

.modal-content {
  background-color: #fefefe;
  margin: auto 0;
  padding: 40px 60px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  position: absolute;
  padding: 40px 60px;
  width: 90%;
  max-width: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 992px) {
  .modal-content {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .modal-content {
    padding: 30px 45px;
  }
}
@media (max-width: 576px) {
  .modal-content {
    padding: 20px 30px;
    width: 80%;
  }
}

.modal-content-big {
  background-color: #fefefe;
  margin: auto 0;
  padding: 20px 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  padding-bottom: 100px;
  margin: 30px 0 30px 0;
}

.modal-contact {
  padding: 40px 20px;
}

.modal-scroll {
  overflow-y: scroll !important;
}

/* @media (min-width: 610px) {
  .modal-content-big {
    padding: 30px 40px;
  }
}
@media (min-width: 767px) {
  .modal-content-big {
    padding: 40px 60px;
  }
} */

@media (max-width: 992px) {
  .modal-content-big {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .modal-content-big {
    padding: 30px 45px;
  }
}
@media (max-width: 576px) {
  .modal-content-big {
    padding: 20px 30px;
    width: 80%;
  }
}

.modal-content-form {
  background-color: #fefefe;
  margin: auto 0;
  padding: 40px 20px;
  border: 1px solid #888;
  /* width: 42%; */
  /* max-width: 600px; */
  position: absolute;
  top: 50%;
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  width: 500px;
  border-radius: 20px;
}

/* .registration-modal {
  padding-top: 350px;
  overflow-y: auto !important;

  @media screen and (min-width: 1500px) {
    padding-top: 250px;
  }
  @media screen and (min-width: 1800px) {
    padding-top: 100px;
  }
}

.review-modal {
  padding-top: 350px;
  overflow-y: auto !important;

  @media screen and (min-width: 1500px) {
    padding-top: 250px;
  }
  @media screen and (min-width: 1800px) {
    padding-top: 100px;
  }
} */

.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
  opacity: unset !important;
}
.city__block-right {
  position: relative;
}
.city__block-close {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.city-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.city__block-close > img {
  height: 24px;
  width: 24px;
}
@media (max-width: 841px) {
  .city__block-close > img {
    height: 22px;
    width: 22px;
  }
}
@media (max-width: 599px) {
  .city__block-close > img {
    height: 20px;
    width: 20px;
  }
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
  opacity: unset !important;
}

input#remember-password {
  border: var(--border);
}

.control-password_container {
  position: relative;
}

.toggle-password-btn-login,
.toggle-password-btn-registration {
  position: absolute;
  top: 14px;
  right: 20px;
}

.toggle-password-btn-login:hover,
.toggle-password-btn-registration:hover {
  cursor: pointer;
}

.modal-password {
  margin-bottom: 31px;
  display: flex;
  justify-content: space-between;
}

.custom-modal-checkbox {
  display: flex;
  gap: 10px;
}

#toggle-registration,
#toggle-sign-in {
  background-color: white !important;
  margin-bottom: unset !important;
  border: var(--border);
  color: var(--color-main);
}

#toggle-registration:hover,
#toggle-sign-in:hover {
  cursor: pointer;
}

.control-password_container {
  margin-bottom: 30px;
}

.modal-header-code {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-image-container {
  display: flex;
  justify-content: center;
}

.modal-info {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.modal-info > span {
  max-width: 355px;
}
.modal-enter-code {
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}
.modal-tel {
  color: var(--color-main);
}

.modal-confirm-btn {
  padding: 10px;
  height: 50px;
  background: var(--color-main);
  color: white;
  margin-bottom: 20px;
  width: 100%;
  border: none;
  display: block;
  transition: var(--transition);
}

.modal-confirm-btn:hover {
  color: white;
  transition: var(--transition);
  background: var(--hover-add);
}

.code-modal-text {
  display: flex;
  justify-content: center;
}

a.modal-link {
  color: var(--color-main) !important;
}

a.modal-send-again {
  margin-bottom: 30px;
}

a.modal-link:hover {
  color: var(--color-main);
}

.modal-text-h1 {
  font-family: 'Inter';
  font-size: 26px;
  font-weight: 700;
  line-height: 31px;
}

.confirm-modal-text {
  margin-bottom: 30px;
}

.modal-decorate-line {
  width: 190px;
  height: 1px;
  background-color: #dee0e5;
}

.google-login {
  background-color: white !important;
  border: var(--border);
  color: #000;
  height: 100%;
  padding: 15px 0;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  display: block;
}
@media (max-width: 576px) {
  .google-login > span {
    display: none;
  }
}
.modal-back-btn {
  background-color: white !important;
  margin-bottom: unset !important;
  border: var(--border);
  color: var(--color-main);
  height: 100%;
  padding: 15px 0;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  display: block;
  margin-top: 10px;
}
.toggle-password-icon {
  width: 20px;
  height: 20px;
}

.error-phone {
  display: none;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  text-align: center;
  margin-top: 6px;
  color: #f84147;
  margin-bottom: 0;
  padding-bottom: 10px;
}
.empty-phone {
  display: none;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  text-align: center;
  margin-top: 6px;
  color: #f84147;
  margin-bottom: 0;
  padding-bottom: 10px;
}

/* .text-center.google-registration_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
} */

#codeModal input[type='number']:focus {
  border-color: var(--color-main) !important;
}

.forgotPassModal {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(50%, 50%);
  z-index: 10000;
}

.emailPassModal {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(50%, 50%);
  z-index: 10000;
}

.back-btn-modal {
  background-color: white !important;
  margin-bottom: unset !important;
  border: var(--border);
  color: var(--color-main);
}
.modal-text {
  text-align: center;
}
