/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

h2 {
    text-align: center;
    color: #444;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Form Container */
form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    box-sizing: border-box;
}

/* Form Labels */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

/* Form Inputs */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: #1b6b2d;
    outline: none;
}

/* Textarea Specific Styles */
textarea {
    resize: vertical; /* Allow vertical resizing only */
}

/* Submit Button */
button {
    width: 100%;
    padding: 12px 0;
    background-color: #b5b5b5;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1b6b2d;
}

/* Form Styling */
form h2 {
    margin-top: 0;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

/* Mobile-friendly adjustments */
@media (max-width: 500px) {
    form {
        width: 90%;
        padding: 20px;
    }

    h2 {
        font-size: 1.5em;
    }
}