/* Allgemeine Stile */
form {
    max-width: 99%;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}


/* Fieldsets & Legends */
fieldset {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

legend {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* Eingabefelder */
input[type="text"], 
input[type="email"], 
input[type="number"], 
input[type="date"], 
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Check- & Radio-Buttons */
input[type="checkbox"], 
input[type="radio"] {
    margin-right: 8px;
}

fieldset label {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
button {
    background-color: #007bff;
    color: white;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Responsives Design */
@media (max-width: 768px) {
    form {
        width: 90%;
        padding: 15px;
    }

    fieldset {
        padding: 10px;
    }

    legend {
        font-size: 16px;
    }

    input, select, button {
        font-size: 14px;
        padding: 8px;
    }
}