/* Navbar with right-aligned buttons */
.navbar {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
  background: rgba(0, 0, 0, 0.1);
}

.nav-right {
  display: flex;
  gap: 10px;
}

/* Button-style links */
.nav-button {
  text-decoration: none;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  background: #4a90e2;
  color: white;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-button:hover {
  background: #357ab8;
  transform: scale(1.05);
}

/* Container styling for form */
.container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  animation: fadeIn 1s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

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

.form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
}

.form button {
  padding: 12px;
  border: none;
  background: #4CAF50;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form button:hover {
  background: #388e3c;
}

/* Background themes */
.light-theme {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  color: #111;
}

.dark-theme {
  background: linear-gradient(to right, #232526, #414345);
  color: #fff;
}

/* Unique background and style for home page */
body.home-page {
  background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}

/* Unique container style only for homepage */
body.home-page .container {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #b3d7ff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
  animation: popIn 0.8s ease-out;
}

/* Add some animation */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
