/* styles for form-based pages */
:root {
  --primary-color: #3498db;
  --accent-color: #2ecc71;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --warning-color: #e74c3c;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background-color: var(--light-color);
  color: var(--dark-color);
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #2980b9;
}

.message {
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
}

.success {
  background-color: #d4edda;
  color: #155724;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
}

.return-link {
  margin-top: 2rem;
  display: block;
  color: var(--primary-color);
  text-decoration: none;
}

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