body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #2d2d2d, #392727);
  /* radial-gradient(circle at center, #1a0f0f 0%, #100707 100%); */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}


.auth-box {
  background-color: #1c1c1c;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  animation: fadeInUp 0.5s ease forwards;
}

.auth-box h2 {
  text-align: center;
  color: #ff1e1e;
  text-shadow: 0 0 8px #ff1e1e;
  margin-top: 5px; 
  margin-bottom: 25px;
  font-size: 40px;
}

.auth-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  margin: 10px 0 20px;
  background-color: #111;
  border: 2px solid #333;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s ease;
}


.auth-box input:focus {
  border-color: #ff1e1e;
  box-shadow: 0 0 8px #ff1e1e;
  outline: none;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 45%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #ff4c4c;
  user-select: none;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #fff;
}


.auth-box button {
  width: 100%;
  padding: 12px;
  background-color: #ff1e1e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 15px;
}

.auth-box button:hover {
  background-color: #cc0000;
}

.auth-box p {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.auth-box a {
  color: #ff4c4c;
  text-decoration: none;
}

.auth-box a:hover {
  text-decoration: underline;
}

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

@media (max-width: 480px) {
  .auth-box {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .auth-box h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .auth-box input,
  .auth-box button {
    font-size: 14px;
    padding: 10px;
  }

  .toggle-password {
    font-size: 16px;
    right: 10px;
  }
}

.snowflake {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 8px;
  background: white;
  opacity: 0.5;
  border-radius: 50%;
  pointer-events: none;
  animation: fall linear infinite;
  z-index: 1;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}