/* Auth Container */
.auth-container {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgb(249, 250, 251);
}

.auth-content {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.auth-form-container {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgb(209, 213, 219);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: rgb(99, 102, 241);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Password Strength Indicator */
.password-strength-meter {
  height: 0.25rem;
  border-radius: 9999px;
  background-color: rgb(229, 231, 235);
  margin-top: 0.5rem;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  transition: width 0.3s ease-in-out;
}

/* Error Messages */
.error-message {
  background-color: rgb(254, 242, 242);
  border: 1px solid rgb(252, 165, 165);
  color: rgb(185, 28, 28);
  padding: 0.75rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Loading States */
.loading-spinner {
  animation: spin 1s linear infinite;
}

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

/* Submit Button */
.submit-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: rgb(79, 70, 229);
  color: white;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: rgb(67, 56, 202);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Links */
.auth-link {
  color: rgb(79, 70, 229);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-link:hover {
  color: rgb(67, 56, 202);
}

.forgot-password {
  font-size: 0.75rem;
  color: rgb(107, 114, 128);
}

/* Responsive Adjustments */
@media (min-width: 640px) {
  .auth-container {
    padding: 2rem;
  }
  
  .auth-form-container {
    padding: 2.5rem;
  }
}
