form {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
form h2 {
    text-align: center;
    margin-bottom: 20px;
}
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form input[type="submit"] {
    width: 100%;
    background-color: #0073aa;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
form input[type="submit"]:hover {
    background-color: #005177;
}
.error {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}
