.demo-form {
  max-width: 400px;
  margin: 20px 0;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8f9fa;
}

.demo-form__group {
  margin-bottom: 1.5rem;
}

.demo-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
}

.demo-form__input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.demo-form__input:focus {
  outline: none;
  border-color: #007bff;
}

.demo-form__input--error {
  border-color: #dc3545;
}

.demo-form__error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.demo-form__error--visible {
  display: block;
}

.demo-form__submit {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.demo-form__submit:hover {
  background: #0056b3;
}

.demo-form__submit--disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.demo-form__success {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  border: 1px solid #c3e6cb;
  display: none;
}

.demo-form__success--visible {
  display: block;
}