.dwem-form-container {
  max-width: 600px;
  margin: 2rem auto;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

.dwem-form-modern {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  border: 1px solid #dcdcde;
}

.dwem-form-minimal {
  background: #f6f7f7;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid #dcdcde;
}

.dwem-form-inline {
  display: flex;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.dwem-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d2327;
  margin-bottom: .5rem;
}

.dwem-form-subtitle {
  color: #646970;
  margin-bottom: 1.5rem;
}

.dwem-form-group {
  margin-bottom: 1.25rem;
}

.dwem-form-label {
  display: block;
  font-weight: 500;
  margin-bottom: .5rem;
  color: #1d2327;
  font-size: 14px;
}

.dwem-form-input {
  width: 100%;
  padding: .625rem .75rem;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}

.dwem-form-input:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.dwem-form-button {
  width: 100%;
  padding: .75rem 1.5rem;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.dwem-form-button:hover {
  background: #135e96;
}

.dwem-form-message {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 14px;
}

.dwem-form-message.success {
  background: #d5f2e3;
  color: #00a32a;
  border: 1px solid #00a32a;
}

.dwem-form-message.error {
  background: #fcf0f1;
  color: #d63638;
  border: 1px solid #d63638;
}

.dwem-contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.dwem-contact-form textarea {
  width: 100%;
  min-height: 150px;
  padding: .625rem .75rem;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}

.dwem-contact-form textarea:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

@media (max-width: 640px) {
  .dwem-form-inline {
    flex-direction: column;
    align-items: stretch;
  }
  
  .dwem-form-modern,
  .dwem-form-minimal {
    padding: 1.5rem 1rem;
  }
}
