.login-container {
  background: rgba(250, 250, 250, 1);
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 1);
  width: auto;
  animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  color: #393939;
}
.login-container:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.loginTitle {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.welcomeContent {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #49558b;
  outline-offset: 2px;
}

/* Add loading state to button */
button[type="submit"].loading {
  background: #3b3a69;
  cursor: wait;
  opacity: 0.8;
  position: relative;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
  opacity: 0;
}

button[type="submit"] .loading-spinner.loading {
  opacity: 1;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 17px;
  font-weight: 500;
}

input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

input::placeholder {
  font-size: 16px;
}

input:focus {
  outline: none;
  border-color: #434e80;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  background: #fff;
}

input::placeholder {
  color: #999;
  opacity: 1;
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

button:hover {
  background: #5a6fd6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

button:active {
  transform: translateY(0);
  box-shadow: none;
}

button:disabled {
  background: #a0aec0;
  cursor: not-allowed;
  opacity: 0.7;
}

button:disabled:hover {
  transform: none;
  box-shadow: none;
}

#error-container {
  color: #721c24;
  border-radius: 8px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 25px;
}

.alternative {
  text-align: center;

  font-size: 17px;
}
.alternative a {
  color: #5e74d7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.alternative a:hover {
  color: #1e3dd6;
}

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

@keyframes slideUp {
  from {
    transform: translateY(30px);
  }
  to {
    transform: translateY(0);
  }
}
