body {
    background-color: #f5f5f5;
}

form {
    max-width: 600px;
    margin: 40px auto;
    background-color: white;
    padding: 30px 40px;
    border-radius: 12px;
}

h1, legend {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

input[type="text"], input[type="email"], input[type="date"], textarea {
    background-color: #e0e0e0;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, textarea:focus {
    border-color: #0057e7;
}

input[type="submit"], input[type="button"], button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    cursor: pointer;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background-color: #004bb5;
}

input[type="checkbox"], input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 8px;
    vertical-align: middle;
}

label, legend {
    font-weight: 700;
    font-size: 15px;
    color: #222;
}
