/* General body styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}

/* Form container */
form {
    background-color: #fff;
    padding: 25px 40px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Headings */
h2, h3 {
    color: #333;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* Labels and inputs */
label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
select {
    width: 100%;
    padding: 8px 12px;
    margin-top: 4px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 0.95em;
    transition: border 0.3s ease;
}

    /* Focus style for inputs */
    input:focus,
    select:focus {
        border-color: #4CAF50;
        outline: none;
    }

/* Submit button */
button[type="submit"] {
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Nice dropdown appearance for state */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="8"><polygon points="0,0 14,0 7,8" fill="%23999"/></svg>') no-repeat right 10px center;
    background-color: #fff;
    background-size: 12px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    form {
        padding: 20px;
    }
}
