/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Arial', sans-serif;
  color: #fff;
}

/* Background Video */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Add a dark overlay for contrast */
  z-index: -1;
}

/* Login Form Container */
.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.15); /* Transparent form */
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px); /* Frosted glass effect */
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.logo img {
  width: 250px;
  margin-bottom: 1rem;
  max-width: 80%; /* Ensures responsiveness */
}

.input-group {
  margin-bottom: 1rem;
}

input {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  text-align: center;
}

input:focus {
  outline: none;
  border: 1px solid #fff;
  box-shadow: 0 0 10px rgba(78, 84, 200, 0.5); /* Glowing effect */
  transition: 0.3s;
}

.btn-primary {
  width: 100%;
  padding: 0.75rem;
  background: #4e54c8;
  color: white;
  border: none;
  border-radius: 25px; /* Rounded button */
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background: #3b43a1;
  transform: scale(1.05); /* Slight scaling on hover */
}

