body {
    background: #f4f4f4;
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
}
form {
    background: #fff;
    max-width: 400px;
    margin: 40px auto;
    padding: 30px 40px 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 8px #aaa;
}
h2 {
    margin-top: 0;
    text-align: center;
    color: #1c6ea4;
}
.form-group {
    margin-bottom: 16px;
}
label {
    display: block;
    margin-bottom: 5px;
    color: #222;
}
input[type="text"], input[type="date"], input[type="email"], input[type="tel"], input[type="password"] {
    width: 100%;
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid #bbb;
    font-size: 1em;
}
button[type="submit"] {
    background: #1c6ea4;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 5px;
    width: 100%;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
button[type="submit"]:hover {
    background: #155a8a;
}
.msg {
    margin-bottom: 10px;
    min-height: 20px;
    text-align: center;
    font-weight: bold;
    color: #c00;
}
.msg.success {
    color: #1c8434;
}