/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Body Styling */
body {
  background: linear-gradient(135deg, #ff4081, #007bff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  color: white;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ff4081;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li {
  display: inline;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #ff4081;
}

/* Container with Glassmorphism */
.container {
  background: rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

/* Heading */
h1 {
  color: white;
  font-size: 24px;
}

.subtitle {
  color: #f1f1f1;
  margin-bottom: 15px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"] {
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  text-align: center;
}

button {
  padding: 12px;
  font-size: 18px;
  background: #ff4081;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #e6005c;
}

/* Loading Animation */
.loading {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.spinner {
  width: 25px;
  height: 25px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ff4081;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
footer {
  margin-top: 20px;
  color: white;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 400px) {
  .container {
    width: 95%;
  }
}
