* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background {
  background-image: url('7.jpg');
  background-size: cover;
  background-position: center;
 position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
 
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  width: 90%;
  max-width: 600px;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(64, 178, 214, 0.5);
  
  /* Centering with absolute positioning */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h2 {
  margin-bottom: 30px;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.textbox {
  margin-bottom: 20px;
  position: relative;
}

.textbox input {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  outline: none;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s;
}

.textbox input:focus {
  border-color: #00d9ff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.options {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #ddd;
  margin-bottom: 20px;
}

.options a {
  color: #00d9ff;
  text-decoration: none;
  transition: 0.3s;
}

.options a:hover {
  color: #ff007f;
}

.btn {
  width: 100%;
  padding: 14px;
  border: none;
  background: linear-gradient(90deg, #00aeff, #00ffffad);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: linear-gradient(90deg, #00d9ff, #163ce6);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.register {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ddd;
}

.register a {
  color: #00d9ff;
  text-decoration: none;
  transition: 0.3s;
}

.register a:hover {
  color: #ff007f;
  text-decoration: underline;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .login-box {
    padding: 30px;
  }

  .btn {
    font-size: 0.9rem;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 25px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .textbox input {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px;
  }
}
