/* Formular Labels */
label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Eingabefelder 
label {
    font-size: 14px; /* Labels etwas kleiner
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
}*/
input[type="text"], input[type="password"] {
    height: 10px; /* Kleinere Höhe */
    line-height: 1.2;
    font-size: 14px; /* Eingabefelder kompakter */
    padding: 5px; /* Weniger Innenabstand */
    width: 90%;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #001b41;
    color: #dedc00;
    font-weight: bold;
    font-size: 16px;
}

input[type="text"], input[type="password"], input[type="date"] {
    appearance: none; /* Entfernt Standard-Styling von iOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 30px;  /* Höhere Eingabefelder */
    font-size: 14px; /* Gut lesbare Schrift */
    padding: 5px;
}

input:disabled {
    color: black !important; /* Statt Blau eine neutrale Farbe */
    background-color: #f2f2f2; /* Grauer Hintergrund für deaktivierte Felder */
    opacity: 1 !important;
}

input[type="date"] {
    appearance: none; /* Entfernt Standard-Styling von iOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 20px;
    font-size: 14px;
    padding: 5px;
}

input[type="date"] {
    padding-right: 30px; /* Platz für das Kalender-Icon */
}


.submit-btn {
    display: flex;
    justify-content: flex-end;
    color: #dedc00; 
}
.error {
    color: red;
    margin: 10px 0;
}
.options {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 0px;
}

.options a, .options div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.options img {
    transition: transform 0.2s ease-in-out;
}

.options img:hover {
    transform: scale(1.1);
}

.field-disabled {
    background-color: #d3d3d3 !important;
    pointer-events: none;  /* Verhindert Interaktionen */
    opacity: 0.6; /* Macht es visuell ausgegraut */
}

.required { /*roter Stern für Pflichtfeld*/
    color: black;
    font-weight: bold;
    margin-left: 5px;
}
label.required:after {
    content: " *";
    color: red;
    font-weight: bold;
}

.field-required {
    border: 2px solid red !important;
    background-color: #ffe6e6;
}

.form-container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
    border-radius: 5px;
    background-color: #f8f9fa;
}

.form-container label {
    font-weight: bold;
}

.form-container select, 
.form-container button {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.form-container button {
    background-color: #001f3f;
    color: #dedc00;
    border: none;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #dedc00;
}
