/* Apply box-sizing to modern browsers */
html {
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;
    
    box-sizing: border-box;
}

/* Form elements: use padding and width adjustments */
input[type="text"], input[type="email"], input[type="submit"], select, textarea {
    width: 100%; /* Full width for modern browsers */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* For browsers supporting box-sizing */
}

/* For older IE (IE6/7) */
input[type="text"], input[type="email"], input[type="submit"], select, textarea {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}


/* General form styles */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

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

input[type="radio"], input[type="checkbox"] {
    margin-right: 10px;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border: none;
}

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

ul {
    margin-bottom: 20px;
}

ul li {
    color: #d9534f;
}

form input[type="hidden"] {
    display: none;
}