/* Сбрасываем отступы, задаем box-sizing для всех элементов */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1a1a1a, #442b63);
  color: #fff;
}

/* Центровка всей страницы */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Контейнер формы */
.auth-container {
  background: rgba(47, 45, 55, 0.85);
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(92, 52, 161, 0.6);
  /* Текстовые элементы (заголовок, ссылки) пусть центрируются */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Заголовок */
.auth-container h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #fff;
}

/* Поля ввода */
.auth-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
  /* Убираем выравнивание текста по центру,
     чтобы при вводе текст не выглядел «съехавшим» */
  text-align: left;
}

.auth-container input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Вместо border на фокусе используем outline */
.auth-container input:focus {
  outline: 2px solid #4CAF50;
  background: rgba(255, 255, 255, 0.15);
}

/* Кнопка */
.auth-button {
  width: 100%;
  background: #4CAF50;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  margin-top: 10px;
}

.auth-button:hover {
  background: #3d8e42;
}

/* Ссылки */
.auth-container a {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #4CAF50;
  text-decoration: none;
  transition: 0.3s;
}

.auth-container a:hover {
  color: #37a637;
}

/* Футер */
.footer {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
}





