* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: url('aurora-borealis.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.auth-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 15px;
  width: 320px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: fadeIn 0.8s ease;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 180px;
  animation: floatLogo 3s ease-in-out infinite;
}

.toggle-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.toggle-buttons button {
  flex: 1;
  padding: 10px;
  margin: 0 5px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.toggle-buttons button.active {
  background: #f59e0b;
  color: black;
}

.form {
  display: none;
  flex-direction: column;
}

.form.active {
  display: flex;
  animation: slideIn 0.5s ease;
}

.form input {
  padding: 10px;
  margin: 8px 0;
  border-radius: 5px;
  border: none;
  outline: none;
}

.form button {
  padding: 10px;
  background: #22c55e;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form button:hover {
  background: #16a34a;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

@keyframes slideIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes floatLogo {
  0%, 100% {transform: translateY(0);}
  50% {transform: translateY(-8px);}
}
