/* Сброс стилей */
body {
    font-family: Arial, sans-serif;
    background-color: #000d18;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #e6e6e6;
}

/* Общие стили */
.container {
    max-width: 1200px;
    margin: auto;
    padding: var(--spacing-large);
}

/* Стиль для login-container */
.login-container {
    width: 100%;
    max-width: 400px;
    background-color: #000a12;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px #04c5bf, 0 0 40px rgba(4, 197, 191, 0.2); 
    text-align: center;
    margin: 0; /* Убираем лишние отступы */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


/* Стили для полей ввода */
.input-group {
    margin-bottom: 15px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #1e293b;
    border: 1px solid #3b5360;
    border-radius: 8px;
    color: #e6e6e6;
}

.login-container button {
    background-color: #ee0c6f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.login-container button:hover {
    background-color: #ee0c6f;
}

/* Стили для ссылок */
.links {
    margin-top: 10px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
}

.links a {
    color: #ee0c6f;
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    color: #ee0c6f;
}

/* Заголовок */
h1 {
    font-size: 1.5rem;
    color: #ee0c6f;
    margin-bottom: 20px;
}

/* Внутренние элементы формы */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #04c5bf;
    border-radius: 5px;
    background-color: #001a2e;
    color: #e6e6e6;
    font-size: 1rem;
    margin: 0; /* Убираем любые дополнительные отступы */
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #04c5bf;
}


/* Стили для кнопки */
.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #ee0c6f;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ee0c6f;
}




.register-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #000a12;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.register-logo {
    font-size: 32px;
    font-weight: bold;
    color: #04c5bf; /* Основной цвет Tatzo */
    margin-bottom: 10px;
}

.register-container h1 {
    font-size: 24px;
    color: #ee0c6f; /* Акцентный цвет */
    margin-bottom: 15px;
}

.register-container p {
    color: #e6e6e6;
    font-size: 14px;
    margin-bottom: 20px;
}

.account-type-options {
    display: flex;
    gap: 15px; /* Расстояние между карточками */
    justify-content: center;
}

.account-type-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 180px; /* Фиксированная ширина карточки */
    height: 150px; /* Фиксированная высота карточки */
    padding: 0; /* Убираем внутренние отступы */
    border: 2px solid #04c5bf; /* Цвет границы */
    border-radius: 15px; /* Устанавливаем круглые углы */
    background-color: transparent; /* Прозрачный фон по умолчанию */
    color: #04c5bf; /* Цвет текста */
    transition: all 0.3s ease; /* Плавный переход */
    cursor: pointer;
    box-sizing: border-box; /* Учитываем границы в размерах */
}

.account-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-type-option .option-content {
    pointer-events: none;
}

.account-type-option h3 {
    font-size: 18px;
    color: #04c5bf;
    margin-bottom: 5px;
}

.account-type-option p {
    font-size: 14px;
    color: #e6e6e6;
}

.account-type-option:hover {
    background-color: rgba(4, 197, 191, 0.1); /* Лёгкая заливка при наведении */
    box-shadow: 0px 0px 10px rgba(4, 197, 191, 0.5); /* Тень при наведении */
}

.account-type-option input[type="radio"] {
    display: none; /* Скрываем радиокнопку */
}

.account-type-option input[type="radio"]:checked + .option-content {
    background-color: #04c5bf; /* Полная заливка при выборе */
    color: #000a12; /* Контрастный цвет текста */
    border-color: #04c5bf;
    box-shadow: 0px 0px 15px rgba(4, 197, 191, 0.8);
    transform: scale(1.05);
    border-radius: 15px; /* Ровные углы при выборе */
}

.option-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.option-content p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.4;
}

.option-content {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    width: 100%; /* Растягиваем содержимое по ширине карточки */
    height: 100%; /* Растягиваем содержимое по высоте карточки */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Учитываем границы */
    padding: 10px; /* Дополнительные отступы внутри */
    transition: all 0.3s ease;
    border-radius: 15px; /* Ровные углы */
}


.account-type-option input:checked + .option-content h3 {
    color: #ee0c6f;
}

body, .container {
    font-family: Arial, sans-serif;
    background-color: #000d18; /* Основной фон */
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    margin-left: 700px; /* Отступ для боковой панели */
}

.errors {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4c4c;
    color: #ff4c4c;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: left;
    font-size: 14px;
}
.errors ul {
    margin: 0;
    padding-left: 20px;
}

/* Стили для логотипа */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.logo img {
    width: 200px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* === Signup language switcher === */

.signup-language-switcher {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 8px;

  background: rgba(0, 10, 18, 0.72);
  border: 1px solid rgba(4, 197, 191, 0.22);
  border-radius: 999px;

  backdrop-filter: blur(10px);

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.signup-language-btn {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid transparent;
  border-radius: 50%;

  background: rgba(0, 26, 46, 0.7);
  color: #ffffff;

  font-size: 21px;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}

.signup-language-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(4, 197, 191, 0.45);
  box-shadow: 0 0 16px rgba(4, 197, 191, 0.22);
  filter: brightness(1.08);
}

.signup-language-btn.active {
  background: rgba(4, 197, 191, 0.18);
  border-color: #04c5bf;

  box-shadow:
    0 0 18px rgba(4, 197, 191, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);

  transform: scale(1.05);
}

@media (max-width: 700px) {
  .signup-language-switcher {
    top: 12px;
    right: 12px;
    gap: 7px;
    padding: 6px;
  }

  .signup-language-btn {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }
}