.auth-page {
  min-height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.auth-box {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 40px 36px;
  width: 360px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: fadeUp 0.8s ease-out;
}

.auth-box h2 {
  margin-bottom: 24px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #4db8ff;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 0.9rem;
  opacity: 0.85;
}

input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-bottom: 16px;
  transition: 0.3s ease;
}

input:focus {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 1.5px #4db8ff;
}

button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  transition: 0.3s ease;
}

button:hover {
  background: #339cff;
}

.switch {
  margin-top: 14px;
  font-size: 0.9rem;
}

.switch a {
  color: #4db8ff;
  text-decoration: none;
}

.switch a:hover {
  text-decoration: underline;
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .auth-box {
    width: 90%;
    padding: 30px 20px;
  }
}
