/* Нет аккаунт создавай */

.multilingual-switch {
  font-size: 18px!important;
  font-weight: 500!important;
  line-height: 1.8!important;
  color: #333!important;
}
.multilingual-switch label {
  color: #007bff!important;
  cursor: pointer!important;
  margin-left: 5px!important;
}
.multilingual-switch div {
  margin: 5px 0!important;
}

/* Для кнопки входа через Apple и google */
.social-login-wrapper {
  max-width: 280px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  margin-top: 50px!important;
}

#appleid-signin {
  height: 44px !important;
  overflow: hidden;
  margin-top: 50px!important;
}

.g_id_signin {
  margin-top: 10px!important;
}


body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
  padding: 30px;
}

.container {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  perspective: 2700px;
}

.container .cover {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 50%;
  z-index: 98;
  transition: all 1s ease;
  transform-origin: left;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.container #flip:checked ~ .cover {
  transform: rotateY(-180deg);
}

.container #flip:checked ~ .forms .login-form {
  pointer-events: none;
}

.container .cover .front,
.container .cover .back {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.cover .back {
  transform: rotateY(180deg);
}

.container .cover img {
  position: absolute;
  height: 50px;
  width: 50px;
  object-fit: cover;
  z-index: 10;
}
.logo-starinup img{
  position: absolute;
  height: 50px;
  width: 200px;
  object-fit: cover;
  z-index: 10;
  margin-left: 70px;
}

.container .cover .text {
  position: absolute;
  z-index: 10;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container .cover .text::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  background: black;
}

.cover .text .text-1,
.cover .text .text-2 {
  z-index: 20;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.cover .text .text-2 {
  font-size: 15px;
  font-weight: 500;
}

.container .forms {
  height: 100%;
  width: 100%;
  background: #fff;
}

.container .form-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-content .login-form,
.form-content .signup-form {
  width: calc(100% / 2 - 25px);
}

.forms .form-content .title {
  position: relative;
  font-size: 34px;
  font-weight: 500;
  color: #333;
}

.forms .form-content .title:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 55px;
  background: red;
}

.forms .signup-form .title:before {
  width: 145px;
}
.input-boxes {
  display: flex;
  flex-direction: column;
  gap: 10px; /* небольшой отступ между полями */
}

.forms .form-content .input-boxes {
  margin-top: 30px;
}

.forms .form-content .input-box {
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  margin: 10px 0;
  position: relative;
}

.form-content .input-box input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.form-content .input-box input:focus,
.form-content .input-box input:valid {
  border-color: goldenrod;
}
/* Выбрать пол */
/* Исправляем отступы для select, чтобы иконка не накладывалась */
.form-content .input-box select {
  padding-left: 40px; /* Оставляем место для иконки */
}
/* Иконка */
.form-content .input-box i {
    position: absolute;
    left: 10px; /* Смещаем иконку левее */
  color: goldenrod;
  font-size: 17px;
}

.forms .form-content .text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.forms .form-content .text a {
  text-decoration: none;
}

.forms .form-content .text a:hover {
  text-decoration: underline;
}

.forms .form-content .button {
  color: goldenrod;
  margin-top: 40px;
}

.forms .form-content .button input {
  color: #fff;
  background: gold;
  color:black;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.forms .form-content .button input:hover {
  background: goldenrod;
}

.forms .form-content label {
  color: goldenrod;
  cursor: pointer;
}

.forms .form-content label:hover {
  text-decoration: underline;
}

.forms .form-content .login-text,
.forms .form-content .sign-up-text {
  text-align: center;
  margin-top: 25px;
}

.container #flip {
  transform:rotateY(-180deg);
  backface-visibility: hidden;
}

/* Глазик для пароля */


/* Глазик (СПРАВА) */
/* Контейнер input-box */
.input-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Поле ввода пароля (Сдвигаем текст вправо) */
.input-box input[type="password"],
.input-box input[type="text"] {
    width: 100%!important;
    height: 20px!important;
    padding: 10px 10px 10px 50px; /* ⬅ Увеличиваем padding-left для сдвига текста вправо */
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}
/* Подсветка при фокусе */
.input-box input:focus {
    border-color: goldenrod;
}

/* Глазик (Остаётся слева) */
.input-box .toggle-password {
    position: absolute;
    left: 10px; /* Глазик остаётся слева */
    font-size: 18px;
    color: goldenrod;
    cursor: pointer;
    width: 30px; /* Фиксируем ширину */
    height: 100%; /* Полностью растягиваем */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* При наведении цвет меняется */
.input-box .toggle-password:hover {
    color: darkgoldenrod;
}
/* Полностью скрываем текст пароля на мобильных устройствах */
.input-box input[type="password"] {
    -webkit-text-security: disc !important; /* Для Safari (iPhone, iPad) */
   
}


/* <!-- Глазик для пароля при вход в аккаунт --> */
/* Глазик для логина */
.input-box .toggle-password-login {
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: goldenrod;
    cursor: pointer;
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* принять условия правила использование  */
#consentAlert {
    display: none; /* Скрыто по умолчанию */
    font-size: 14px;
    color: #b22222; /* Красный, но не ядовитый */
    background-color: #ffe5e5; /* Светло-красный фон */
    border: 1px solid #f5c2c2; /* Мягкая граница */
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Лёгкая тень */
    transition: all 0.3s ease; /* Плавное появление */
}
  /* потвердить почту */
  #verify-block,
#verify-button-block {
  display: none;
  align-items: center;
  margin: 10px 0;
  width: 100%;
}

#verify-block input,
#verify-button-block input {
  height: 50px;
  width: 100%;
  padding: 0 30px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

#verify-block i {
  position: absolute;
  left: 10px;
  color: goldenrod;
  font-size: 17px;
}
@media (max-width: 576px) {
  body {
    min-height: 100vh;
    width: 100%!important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    padding: 2px!important;
}
  .container {
  position: relative;
  width: 100%!important;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  perspective: 2700px;
}
.input-box input[type="password"]::placeholder {
    color: #999; /* или другой нужный цвет */
}

  .container .cover {
    display: none;
  }

  .logo-starinup img{
  position: absolute;
  height: 40px!important;
  width: 150px!important;
  object-fit: cover;
  z-index: 10;
  margin-left: 100px!important;
}
  .forms .form-content .title {
  position: relative;
  font-size: 26px!important;
  font-weight: 500;
  color: #333;
}

/* Красная линия под вход */
.forms .form-content .title:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px!important;
  background: red;
}
/* Красная линия под Регистрация */
.forms .signup-form .title:before {
  width: 100px!important;
}
  .form-content .login-form,
  .form-content .signup-form {
    width: 100%;
  }

  .form-content .signup-form {
    display: none;
  }

  .container #flip:checked ~ .forms .signup-form {
    display: block;
  }

  .container #flip:checked ~ .forms .login-form {
    display: none;
  }

  /* потвердить почту */
  #verify-block,
#verify-button-block {
  display: none;
  align-items: center;
  margin: 10px 0;
  width: 100%;
}

#verify-block input,
#verify-button-block input {
  height: 50px;
  width: 100%;
  padding: 0 30px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

#verify-block i {
  position: absolute;
  left: 10px;
  color: goldenrod;
  font-size: 17px;
}

/* Выбрать пол */
  /* Стили для select */
.form-content .input-box select {
  height: 30px;
  width: 100%!important; /* Растянуть на всю ширину родителя */
  padding: 0 30px;
  font-size: 12px;
  font-weight: 500;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  transition: all 0.3s ease;
  appearance: none; /* Убираем стандартный стиль браузера */
  cursor: pointer;
}
  /* Исправляем отступы для select, чтобы иконка не накладывалась */
.form-content .input-box select {
  padding-left: 70px!important; /* Оставляем место для иконки */
}
/* Иконка */
.form-content .input-box i {
    position: absolute;
    left: 10px; /* Смещаем иконку левее */
  color: goldenrod;
  font-size: 17px;
}
/* Дата на мобильных */
.form-content .input-box input[type="date"] {
    height: 30px; /* Делаем ниже, чтобы не было слишком большого квадрата */
    width: 100%; /* Растянуть на всю ширину */
    padding: 0 30px;
    font-size: 12px;
    font-weight: 500;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
    appearance: none; /* Убираем стандартный стиль */
    background-color: white; /* Белый фон */
    color: black; /* Черный текст */
    cursor: pointer;
}

/* Исправляем отступы для даты, чтобы иконка не накладывалась */
.form-content .input-box input[type="date"] {
    padding-left: 40px; /* Оставляем место для иконки */
}

/* Скрываем текст "дд.мм.гггг" на iOS */
input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    display: none;
}

/* Цвет текста внутри поля даты (работает для Android) */
input[type="date"]::-webkit-datetime-edit {
    color: black;
}
/* Стили для input-box */
.form-content .input-box {
    position: relative;
}

/* Добавляем кастомный плейсхолдер внутри input[type="date"] */
.form-content .input-box input[type="date"]::before {
    content: attr(data-placeholder); /* Текст внутри поля */
    position: absolute;
    left: 40px; /* Отступ от иконки */
    top: 50%;
    transform: translateY(-50%);
    color: gray; /* Цвет текста */
    font-size: 14px;
    pointer-events: none; /* Не мешает вводить дату */
}

/* Когда пользователь вводит дату, текст исчезает */
.form-content .input-box input[type="date"].has-value::before {
    content: "";
}

/* принять условия правила использование  */
#consentAlert {
    font-size: 12px !important; /* ещё меньше шрифт */
    padding: 8px 10px !important; /* меньше отступы */
    margin: 8px 0 !important; /* чуть-чуть меньше отступ сверху-снизу */
    line-height: 1.3 !important; /* меньше расстояние между строками */
    word-break: break-word !important; /* РАЗРЕШАЕМ переносить слова */
    max-width: 90% !important; /* чтобы не расползалось на весь экран */
    margin-left: auto;
    margin-right: auto;
  }

}