body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
}

form {
    margin-top: 20px;
}

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

input[type="text"],
input[type="email"],
select,
textarea,
input[type="url"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    height: 100px;
}

input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 90%;
    }
}

.response {
    margin-top: 30px; /* Increased space under the submit button */
    color: #000;
    background-color: #f0f0f0;
    border: 2px solid #dcdcdc;
    padding: 15px;
    display: none; /* Initially hidden */
    width: calc(100% - 40px); /* Adjust width if necessary */
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.success, .error {
    margin-top: 30px; /* Ensure this is applied for visibility */
}

.success {
    color: #155724; /* Dark green text for better readability */
    background-color: #d4edda; /* Light green background for contrast */
    border: 2px solid #2e8b57; /* Darker green border for emphasis */
    padding: 15px;
    margin-top: 30px;
    display: block; /* Make sure this is visible when class is applied */
    width: calc(100% - 40px); /* Adjust width to account for padding and border */
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.error {
    color: #721c24; /* Dark red text for better readability */
    background-color: #f8d7da; /* Light red background for contrast */
    border: 2px solid #a94442; /* Darker red border for emphasis */
    padding: 15px;
    margin-top: 30px;
    display: block; /* Make sure this is visible when class is applied */
    width: calc(100% - 40px); /* Adjust width to account for padding and border */
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

