@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.content {
  display: flex;
  align-items: top;
  justify-content: center;
  min-height: 30vh;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.login {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 552px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}


.login h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 13px;
  color: #1e293b;
  text-align: center;
  background: linear-gradient(135deg, #1e293b, #34602F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 3px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="password"] {
  padding: 16px 20px;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #34602F;
  box-shadow: 0 0 0 3px rgba(52, 96, 47, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

input[type="text"]:hover,
input[type="password"]:hover {
  border-color: rgba(52, 96, 47, 0.5);
}

button[type="submit"] {
  background: linear-gradient(135deg, #34602F, #1e293b);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 7px;
  position: relative;
  overflow: hidden;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(52, 96, 47, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

button[type="submit"]:hover::before {
  left: 100%;
}

.login>p {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 1rem;
  color: #64748b;
}

.login>p a {
  color: #34602F;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login>p a:hover {
  color: #1e293b;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content {
    padding: 20px 16px;
  }

  .login {
    padding: 32px 24px;
  }

  .login h2 {
    font-size: 1.875rem;
  }
}

/* Loading state for form submission */
.form-loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-loading button[type="submit"] {
  background: #94a3b8;
  cursor: not-allowed;
}

.form-loading button[type="submit"]:hover {
  transform: none;
  box-shadow: none;
}
