.login_modal {

  position: fixed;
  z-index: 1000; /* Выше других элементов */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный черный фон */
}

.login_modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(18, 18, 18);
  padding: 40px 48px 48px 48px;
  border: 2px solid rgb(33, 33, 33);
  width: 360px;
  height: 550px;
  box-sizing: border-box;
  border-radius: 12px;
}

.login_close {
  position: absolute;
  right: 23px;
  top: 21px;
  cursor: pointer;
}

.close-icon {
  width: 14px;
  height: 14px;
}

.login_close:hover .close-icon {
  opacity: 0.8;
}

.login_modal h2 {
  color: #fff;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-top: 0px;
  height: 42px;
}

.input-group1 {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
}

.auth-soc {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.auth-soc-set {
  display: flex;
  gap: 17px;
}

.disc-button-icon {
    width: 29px !important;
    height: 30px !important;
}


.login_modal .button-with-icon {
    width: 17%;
    height: 44px;
    border: none;
    border-radius: 12px;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-with-icon img {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
}

.email-login {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 32px 0px;
}

.input-group {
  width: 100%;
  margin-bottom: 8px;
  position: relative;
}

.input-group label {
  color: rgb(192, 192, 199);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 8px;
  display: block;
}

.input-group1 label {
  color: rgb(192, 192, 199);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 8px;
  display: block;
}

.form_input {
  width: 100%;
  background-color: rgb(18, 18, 18) !important;
  color: #fff !important;
  border: 2px solid rgb(41, 41, 41);
  border-radius: 12px;
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  box-sizing: border-box;
  height: 51px;
  padding: 14px 24px 16px 24px;
    -webkit-appearance: none;
  caret-color: #fff;
}

.form_input::placeholder {
  color: rgb(128, 128, 128) !important;
}


.form_input:-webkit-autofill,
.form_input:-webkit-autofill:focus,
.form_input:-webkit-autofill:hover,
.form_input:-webkit-autofill:active {
  border: 2px solid rgb(41, 41, 41) !important;
  outline: none !important;
  -webkit-box-shadow: 0 0 0 1000px rgb(18, 18, 18) inset !important;
  box-shadow: 0 0 0 1000px rgb(18, 18, 18) inset !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 12px !important;
  background-clip: content-box !important;
}

.form_input:focus {
  border: 2px solid rgb(51, 51, 51);
  outline: none !important;
}

.password-wrapper {
  position: relative;
  width: 100%;
  margin-top: 8px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 54%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.eye-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.input-group .forgot-password {
  color: rgb(128, 128, 128);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: right;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  text-decoration: none;
}

.login-button {
  width: 100%;
  height: 54px;
  border: none;
  font-weight: 600;
  border-radius: 12px;
  background-color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 14px 24px;
  margin-top: 16px;
}

.account-info {
  color: #fff;
  text-align: center;
  margin-top: 32px;
}

.register-link {
  color: rgb(65, 135, 45);
  font-weight: 600;
  text-decoration: none;
}
