.user-registration-Input {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.login,
.register,
.lost-password {
  max-width: 640px;
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

.login__form-wrapper,
.register__form-wrapper,
.lost-password__form-wrapper {
  text-align: center;
}

.login__title,
.register__title,
.lost-password__title {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
}

.login__subtitle,
.register__subtitle,
.lost_reset_password p:first-child {
  font-family: "Inter", sans-serif;
  color: #666;
  /* margin-bottom: 48px; */
  font-size: 16px;
}

.ur-form-row {
  margin-bottom: 0px !important;
}

.ur-form-row .form-row {
  margin-bottom: 24px !important;
}

.ur-form-row label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.ur-form-row label .required {
  color: #ee2424;
}
.ur-form-grid {
  min-width: 480px;
}
.ur-frontend-form .ur-button-container {
  margin-top: 5px !important;
}
.user-registration-Input,
.user-registration input[type="text"],
.user-registration input[type="email"],
.user-registration input[type="password"],
.woocommerce-account .lost_reset_password .woocommerce-Input--text {
  width: 100% !important;
  height: 48px !important;
  padding: 16px !important;
  border: 1px solid #adaab1 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-family: "Inter", sans-serif !important;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #383838 !important;
}
#ur-frontend-form {
  border: none;
}
.user-registration .button,
.user-registration input[type="submit"],
.user-registration-MyAccount-content .button,
.lost_reset_password .woocommerce-Button {
  background-color: #ee2424;
  color: white;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: none;
}

.lost-password__form-wrapper .lost_reset_password {
  max-width: unset !important;
}

.lost-password__form-wrapper .lost_reset_password .woocommerce-form-row {
  border-top: unset !important;
  margin-bottom: 10px !important;
}

.user-registration .button:hover,
.user-registration input[type="submit"]:hover,
.lost_reset_password .woocommerce-Button {
  background-color: #c71a1f;
}

/* Забыли пароль? */
.user-registration-LostPassword {
  text-align: center;
  margin-top: 16px;
}

.user-registration-LostPassword a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

/* Вкладки регистрация/вход */
.tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-height: 64px;
  margin-bottom: 48px;
  margin-top: 100px;
  border-bottom: 1px solid #e5e5e5;
}

.tabs a {
  color: #666;
  text-decoration: none;
  padding: 16px 0;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
}

.tabs a.active {
  color: #000;
}

.tabs a.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

/* Логотип */
.login__logo,
.register__logo {
  max-width: 48px;
  margin: 0 auto 48px;
  display: block;
}

/* чистка рамки */
.user-registration {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* очистка дефолтных стилей плагина */
#user-registration,
#user-registration.horizontal {
  box-shadow: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

/* Стили для чекбокса "Запомнить меня" */
.ur-frontend-form .ur-form-row .ur-form-grid input[type="checkbox"] {
  margin: 0 8px 0 0;
}

/* =======================
Auth Responsive */
@media (max-width: 1200px) {
  .login,
  .register,
  .lost-password {
    max-width: 600px;
    margin: 32px auto;
  }
  .login__title,
  .register__title,
  .lost-password__title {
    font-size: 30px;
  }
}

@media (max-width: 992px) {
  .login,
  .register,
  .lost-password {
    max-width: 560px;
    padding: 0 16px;
  }
  .login__subtitle,
  .register__subtitle,
  .lost_reset_password p:first-child {
    font-size: 15px;
  }
  .ur-form-grid {
    min-width: 420px;
  }
}

@media (max-width: 768px) {
  .user-registration-before-login-btn {
    flex-wrap: wrap;
  }
  .login,
  .register,
  .lost-password {
    max-width: 520px;
  }
  .login__title,
  .register__title,
  .lost-password__title {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .tabs {
    gap: 24px;
    margin-bottom: 36px;
    margin-top: 80px;
  }
  .user-registration input[type="text"],
  .user-registration input[type="email"],
  .user-registration input[type="password"],
  .user-registration-Input,
  .woocommerce-account .lost_reset_password .woocommerce-Input--text {
    height: 46px !important;
    padding: 14px !important;
    font-size: 15px !important;
  }
  .ur-form-grid {
    min-width: 100%;
  }
  .lost-password__form-wrapper .lost_reset_password .woocommerce-form-row {
    margin-bottom: 24px !important;
  }
}

@media (max-width: 576px) {
  .login,
  .register {
    max-width: 100%;
    margin: 24px auto;
    padding: 0 12px;
  }
  .login__logo,
  .register__logo {
    margin: 0 auto 32px;
  }
  .login__title,
  .register__title {
    font-size: 24px;
  }
  .login__subtitle,
  .register__subtitle,
  .lost_reset_password p:first-child {
    font-size: 14px;
  }
  .tabs {
    gap: 16px;
    max-height: 56px;
    margin-bottom: 28px;
  }
  .tabs a {
    font-size: 14px;
    padding: 12px 0;
  }
  .ur-form-row .form-row {
    margin-bottom: 18px !important;
  }
  .user-registration input[type="text"],
  .user-registration input[type="email"],
  .user-registration input[type="password"],
  .user-registration-Input,
  .woocommerce-account .lost_reset_password .woocommerce-Input--text {
    height: 44px !important;
    padding: 12px !important;
    font-size: 14px !important;
  }
  .user-registration .button,
  .user-registration input[type="submit"],
  .user-registration-MyAccount-content .button {
    padding: 14px;
    font-size: 14px;
  }
}

.ur-frontend-form .ur-form-row .ur-form-grid label.ur-label {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

/* Стили для всех input и label */
.ur-form-row label,
.user-registration-form-label {
  font-family: "Inter", sans-serif;
}

/* Общие стили для формы */
.ur-frontend-form {
  margin: 0 auto !important;
  max-width: 100% !important;
}

/* Контейнер формы */
.ur-frontend-form .ur-form-row .ur-form-grid {
  padding: 0 !important;
  margin: 0 auto !important;
  float: none !important;
}

/* Стили для инпутов */
.ur-frontend-form .ur-form-row .ur-form-grid input[type="text"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="email"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="password"],
.user-registration-Input,
.woocommerce-account .lost_reset_password .woocommerce-Input--text {
  width: 100% !important;
  height: 48px !important;
  padding: 16px !important;
  border: 1px solid #adaab1 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-family: "Inter", sans-serif !important;
  box-sizing: border-box !important;
  background: #fff !important;
  margin: 0 auto !important;
}

/* Контейнер кнопки */
.ur-frontend-form form .ur-button-container {
  padding: 0 !important;
  margin: 0 auto !important;
  display: block !important;
  width: 100% !important;
}

/* Стили для кнопки */
.ur-frontend-form .ur-form-row .ur-form-grid button,
.ur-frontend-form .ur-form-row .ur-form-grid input[type="submit"],
.user-registration .button.user-registration-submit-Button,
.ur-frontend-form form .ur-button-container .ur-submit-button,
.lost_reset_password .woocommerce-Button {
  background-color: #ee2424;
  color: white;
  width: 100% !important;
  max-width: 100% !important;
  padding: 16px;
  border: none;
  border-radius: 10px !important;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: none !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Убираем float и выравниваем сетку */
.ur-frontend-form .ur-form-row {
  display: flex !important;
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Стили для чекбокса "Запомнить меня" */
.ur-frontend-form .ur-form-row .ur-form-grid label.ur-label {
  display: flex !important;
  align-items: center;
  margin-bottom: 24px;
}

.ur-frontend-form .ur-form-row .ur-form-grid input[type="checkbox"] {
  margin: 0 8px 0 0;
}

.lost_reset_password label {
  margin-top: 0;
  margin-bottom: 12px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  text-align: start;
}

.lost-password__back-to-login {
  margin-top: 24px;
  text-align: center;
}

.lost-password__link {
  color: #000 !important;
  text-decoration: none;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.main-reset-password-form .woocommerce-password-hint,
.main-reset-password-form .woocommerce-password-strength {
  color: #000 !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-family: "Inter", sans-serif !important;
}

.lost-password__link:hover {
  text-decoration: underline;
}

/* Стили для формы сброса пароля на странице myaccount */
.woocommerce-account .lost-password {
  max-width: 640px;
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

.woocommerce-account .lost-password__form-wrapper {
  text-align: center;
}

.woocommerce-account .lost-password__title {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0 !important;
  color: #000;
}

.woocommerce-account .lost_reset_password .woocommerce-form-row {
  margin-bottom: 24px;
  text-align: left;
}

.woocommerce-account .lost_reset_password .woocommerce-form-row label {
  display: block;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.woocommerce-account
  .lost_reset_password
  .woocommerce-form-row
  label
  .required {
  color: #ee2424;
}

.woocommerce-account .lost_reset_password .woocommerce-Button {
  background-color: #ee2424;
  color: white;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: none;
  margin-top: 8px;
}

.woocommerce-account .lost_reset_password .woocommerce-Button:hover {
  background-color: #c71a1f;
}

.main-reset-password-form .woocommerce-Button {
  margin-top: 24px !important;
}

/* Стили для обертки поля пароля */
.main-reset-password-form .password-input {
  position: relative;
  display: block;
}

.main-reset-password-form .password-input input {
  padding-right: 48px !important;
}

/* Стили для кнопки показа пароля */
.main-reset-password-form .show-password-input {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  transition: all 0.25s ease;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  min-height: unset !important;
  z-index: 1;
}

.main-reset-password-form .show-password-input:hover {
  color: #666;
}

.main-reset-password-form .show-password-input::before {
  font-family: "woodmart-font";
  content: "\f11a";
  display: block;
}

.main-reset-password-form .show-password-input.display-password::before {
  content: "\f11b";
}

/* Responsive для формы сброса пароля на myaccount */
@media (max-width: 768px) {
  .woocommerce-account .lost_reset_password {
    margin-top: 0;
    padding-top: 10px;
  }
  .lost-password__form-wrapper
    .lost_reset_password
    .woocommerce-form-row--first {
    padding-top: 4px !important;
  }
  .woocommerce-account .lost-password {
    max-width: 520px;
    padding: 0 16px;
  }

  .woocommerce-account .lost-password__title {
    font-size: 28px;
  }

  .woocommerce-account .lost_reset_password .woocommerce-Input--text {
    height: 46px;
    padding: 14px;
    font-size: 15px;
  }

  .main-reset-password-form .password-input input {
    padding-right: 46px !important;
  }

  .main-reset-password-form .show-password-input {
    width: 46px;
    height: 46px;
  }

  .main-reset-password-form .woocommerce-Button {
    margin-top: 36px !important;
  }
}

@media (max-width: 576px) {
  .woocommerce-account .lost-password {
    max-width: 100%;
    margin: 24px auto;
    padding: 0 12px;
  }

  .woocommerce-account .lost-password__title {
    font-size: 24px;
  }

  .woocommerce-account .lost_reset_password .woocommerce-form-row {
    margin-bottom: 18px;
  }

  .woocommerce-account .lost_reset_password .woocommerce-Input--text {
    height: 44px;
    padding: 12px;
    font-size: 14px;
  }

  .main-reset-password-form .password-input input {
    padding-right: 44px !important;
  }

  .main-reset-password-form .show-password-input {
    width: 44px;
    height: 44px;
  }

  .woocommerce-account .lost_reset_password .woocommerce-Button {
    padding: 14px;
    font-size: 14px;
  }
}
