.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #717070;
  font-size: 16px;
  font-family: DM Sans;
  font-weight: 300;
  word-wrap: break-word;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  background-color: #FAFAFA;
  border: none; 
  font-size: 16px;
  box-sizing: border-box;
  resize: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

input:disabled,
select:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-col {
  flex: 1;
}

.hidden-fields {
  display: none;
}

.required {
  color: #03A7A0;
  font-size: 12px;
  font-family: DM Sans;
  font-weight: 300;
  word-wrap: break-word;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 100%;
}

button:hover {
  background-color: #0056b3;
}

button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.success-message,
.error-message {
  padding: 10px;
  margin-top: 20px;
  border-radius: 4px;
  display: none;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
