/* General Form Styles */
form {
    width: 100%;
    max-width: 600px; /* Limit the width of the form */
    margin: 0 auto; /* Center the form */
    padding: 20px; /* Add padding inside the form */
    border: 1px solid #ccc; /* Light border around the form */
    border-radius: 5px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%; /* Full width */
    padding: 10px; /* Padding inside the input */
    margin: 10px 0; /* Margin between inputs */
    border: 1px solid #ccc; /* Light border */
    border-radius: 4px; /* Rounded corners */
    box-sizing: border-box; /* Include padding in width */
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    border-color: #007BFF; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

/* Labels */
label {
    font-weight: bold; /* Bold labels */
    margin-bottom: 5px; /* Space below labels */
    display: block; /* Block display for labels */
}

/* Submit Button */
input[type="submit"] {
    background-color: #007BFF; /* Primary button color */
    color: white; /* Text color */
    padding: 10px 15px; /* Padding inside the button */
    border: none; /* Remove border */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Font size */
}

/* Submit Button Hover Effect */
input[type="submit"]:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Error Message Styles */
.error {
    color: red; /* Red color for error messages */
    font-size: 14px; /* Font size for error messages */
    margin-top: -5px; /* Negative margin to reduce space */
    margin-bottom: 10px; /* Space below error messages */
}