/* Стили для контейнера форм */
.auth-container {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 90px auto;
  padding: 30px;

  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Анимация фона */
.auth-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  opacity: 0.05;
  z-index: 0;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Стили для переключателя форм */
.auth-switcher {
  display: flex;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.auth-switcher button {
  flex: 1;
  padding: 15px;
  border: none;
  background: #f5f5f5;
  color: #555;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-switcher button.active {
  background: #2575fc;
  color: white;
}

/* Общие стили для форм */
.new_user_requests, 
.old_user {
  display: none;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.new_user_requests.active, 
.old_user.active {
  display: flex;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Стили для полей ввода */
.new_user_requests input, 
.old_user input {
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.new_user_requests input:focus, 
.old_user input:focus {
  border-color: #2575fc;
  box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.2);
  outline: none;
}

.new_user_requests input::placeholder, 
.old_user input::placeholder {
  color: #aaa;
}

/* Стили для кнопок */
.continue-btn {
  padding: 15px;
  background: #2575fc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(37, 117, 252, 0.3);
}

.continue-btn:hover {
  background: #1a5fd3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
}

.continue-btn:active {
  transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
  .auth-container {
    margin: 200px;
    padding: 20px;
  }
  
  .auth-switcher button {
    padding: 12px;
    font-size: 14px;
  }
  
  .new_user_requests input, 
  .old_user input {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .continue-btn {
    padding: 12px;
    font-size: 14px;
  }
}