#particles {
  background: var(--background);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

#login-box {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 520px);
  max-height: 90vh;
  overflow-y: auto;
  border-top: 4px solid var(--redLight);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#login-box:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%) translateY(-2px);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  max-height: 60px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.login-title {
  color: var(--redLight);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
}

.login-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 300;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label i {
  color: var(--redLight);
  width: 16px;
  text-align: center;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control:focus {
  outline: none;
  border-color: var(--redLight);
  background: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1);
}

.form-control::placeholder {
  color: #adb5bd;
  font-weight: 300;
}

.login-btn {
  background: linear-gradient(135deg, var(--redLight), #c82333);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #c82333, var(--redLight));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.login-btn i {
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #login-box {
    padding: 2rem;
    border-radius: 8px;
  }
  .login-title {
    font-size: 1.5rem;
  }
  .form-control {
    padding: 0.875rem 1rem;
  }
}
@media (max-width: 480px) {
  #login-box {
    padding: 1.5rem;
    width: min(95vw, 420px);
  }
  .login-title {
    font-size: 1.3rem;
  }
}
/* Loading animation for the button */
.login-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.login-btn.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

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

/*# sourceMappingURL=login.css.map */
