/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General body styles */
body {
  font-family: "Arial", sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Particle Network Animation container */
.particle-network-animation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: #171717;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Đảm bảo particles ở phía sau form */
}

/* Form Container */
.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10px;
  position: relative;
  z-index: 1; /* Đảm bảo form nằm trên particles */
}

/* Wrapper for the form */
.form-wrapper {
  background-color: rgba(26, 26, 26, 0.9); /* Slightly transparent background */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  width: 100%;
  max-width: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Logo */
.logo img {
  display: block;
  margin: 0 auto 30px;
  max-width: 160px;
}

/* Title of the form */
h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #ff9e00;
  font-weight: 600;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Input fields */
input {
  width: 100%;
  padding: 14px 18px;
  margin: 15px 0;
  border: 1px solid #444;
  border-radius: 10px;
  background-color: #333;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 158, 0, 0.5);
}

/* Input focus effect */
input:focus {
  outline: none;
  border-color: #ff9e00;
  background-color: #444;
  box-shadow: 0 0 10px rgba(255, 158, 0, 0.7);
}

/* Button */
.login-btn,
.signup-btn {
  width: 100%;
  padding: 14px;
  background-color: #ff9e00;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect for button */
.login-btn:hover,
.signup-btn:hover {
  background-color: #ff6a00;
  transform: translateY(-3px);
}

/* Links */
a {
  color: #ff9e00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6a00;
}

/* Text below form */
p {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

p a {
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 600px) {
  .form-wrapper {
    padding: 30px;
  }

  h2 {
    font-size: 22px;
  }

  input {
    font-size: 14px;
  }

  .login-btn,
  .signup-btn {
    font-size: 16px;
  }
}
