body {
    font-family: Arial, sans-serif;
    background-image: url("bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

form h1 {
    color: #4b79a1;
    text-align: center;
    margin-bottom: 20px;
}

form input[type="text"], form input[type="date"], form select {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form input[type="submit"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    background: #4b79a1;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form input[type="submit"]:hover {
    background: #283e51;
}

form hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

@media (max-width: 600px) {
    form {
        padding: 15px;
        width: 90%;
    }
    
    form input[type="text"], form input[type="date"], form select, form input[type="submit"] {
        width: calc(100% - 15px);
        padding: 8px;
    }

    form h1 {
        font-size: 24px;
    }
}
