/* Authentication pages styles */
.auth-container {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
}

.auth-card h2 {
  color: #2C2C2C;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #2C2C2C;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 2px solid #E1E4E8;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #FF6A13;
}

.form-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: -0.25rem;
}

.forgot-link {
  color: #FF6A13;
  text-decoration: none;
  font-size: 0.9rem;
  align-self: flex-end;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: #FF6A13;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #E55A00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 106, 19, 0.3);
}

.btn-primary:disabled {
  background: #CCC;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  background: #FEE;
  color: #C33;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  border: 1px solid #FCC;
}

.success-message {
  background: #EFE;
  color: #383;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  border: 1px solid #CFC;
}

.auth-footer {
  margin-top: 2rem;
  text-align: center;
  color: #666;
}

.auth-footer a {
  color: #FF6A13;
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #FFF;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

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

/* Responsive design */
@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
  }

  .auth-card h2 {
    font-size: 1.5rem;
  }
}