/* Stil für Textfelder */
input[type="text"] {
    width: 80%;
    padding: 12px 20px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 2rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Fokus-Stil für Textfelder */
input[type="text"]:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    outline: none;
}

/* Stil für Textfelder */
input[type="submit"] {
    width: 80%;
    padding: 12px 20px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 2rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Fokus-Stil für Textfelder */
input[type="submit"]:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    outline: none;
}

/* Stil für Textfelder */
input[type="date"] {
    width: 80%;
    padding: 12px 20px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 2rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Fokus-Stil für Textfelder */
input[type="date"]:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    outline: none;
}

/* Stil für Checkboxen und Radiobuttons */
input[type="checkbox"], input[type="radio"] {
    display: none; /* Versteckt das Standard-Eingabeelement */
}

/* Gestaltete Checkbox- und Radiobutton-Labels */
input[type="checkbox"] + label,
input[type="radio"] + label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 2rem;
    user-select: none;
}

/* Gemeinsamer Stil für die Kästchen und Kreise */
input[type="checkbox"] + label::before,
input[type="radio"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
    transition: background 0.3s ease, border 0.3s ease;
}

/* Checkbox-Kästchen */
input[type="checkbox"] + label::before {
    border-radius: 4px;
}

/* Radiobutton-Kreise */
input[type="radio"] + label::before {
    border-radius: 50%;
}

/* Stil, wenn die Checkbox oder der Radiobutton aktiviert ist */
input[type="checkbox"]:checked + label::before,
input[type="radio"]:checked + label::before {
    background: #28a745;
    border-color: #28a745;
}

input[type="checkbox"]:checked + label::after,
input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 5px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radiobutton-Zeichen, wenn aktiviert */
input[type="radio"]:checked + label::after {
    left: 9px;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    border-width: 0;
}

/* Hover-Effekt für Checkboxen und Radiobuttons */
input[type="checkbox"] + label:hover::before,
input[type="radio"] + label:hover::before {
    border-color: #28a745;
}