/* Base Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* Header Styles */
h1 {
    color: #3498db; /* Primary color */
    text-align: center;
}

/* Form Styles */
form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto; /* Center the form */
}

/* Input and Textarea Styles */
input[type="text"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding is included in width */
}

/* Checkbox and Radio Styles */
label {
    margin-top: 10px;
    display: block;
}

/* Submit Button Styles */
input[type="submit"] {
    background-color: #2ecc71; /* Secondary color */
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #27ae60; /* Darken on hover */
}

/* Error Message Styles */
.error {
    color: #e74c3c; /* Error color */
    font-size: 0.9em;
}

/* Confirmation Message Styles */
h2 {
    color: #2ecc71; /* Confirmation message color */
    text-align: center;
}

.confirmation {
    background: #dff0d8; /* Light green */
    padding: 15px;
    border: 1px solid #d6e9c6;
    border-radius: 5px;
    color: #3c763d; /* Dark green text */
    max-width: 500px;
    margin: 20px auto; /* Center confirmation message */
}