/* Ensure all form elements use Roboto */
.form {
    font-family: 'Roboto', Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000000;
    margin-bottom: 20px;
}


/* Style buttons */
button {
    display: inline-block;
    background-color: #78a31b; /* Akzentfarbe für den Standard-Button */
    color: #FFFFFF;
    border: none;
    padding: 10px 35px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #89b920; /* Akzentfarbe für den Standard-Button */
}

button.negative {
    background-color: #fb253a; /* Akzentfarbe für den Ablehnungs-Button */
}

button.negative:hover {
    background-color: #fd3448; /* Hellerer Hover-Zustand für den Ablehnungs-Button */
}

.button_dark {
    background-color: #212121; /* Dunklerer Hintergrund für den Dark-Button */
}

.button_dark:hover {
    background-color: #2f2f2f; /* Hellerer Hover-Zustand für den Dark-Button */
}

/* Style radio buttons */
input[type="radio"] {
    margin-right: 10px;
    accent-color: #1f679a; /* Hauptfarbe */
}

/* Style checkboxes */
input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #1f679a; /* Hauptfarbe */
}

/* Style select elements */
select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #000000;
    font-size: 16px;
    margin-top: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: #FFFFFF;
    color: #000000;
}

select:focus {
    border-color: #1f679a; /* Hauptfarbe */
    outline: none;
}

/* Style für alle Eingabefelder */
input[type="text"],
input[type="date"],
input[type="datetime-local"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #000000;
    font-size: 16px;
    margin-top: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: #FFFFFF;
    color: #000000;
    font-family: 'Roboto', Arial, sans-serif;
}

/* Fokus-Stil für Eingabefelder */
input[type="text"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="number"]:focus,
textarea {
    border-color: #1f679a; /* Hauptfarbe */
    outline: none;
}

/* Hervorhebung für ungültige Felder */
.highlightIssue {
    background-color: #fff8cc !important; /* Leichte Hintergrundfarbe */
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
    color: #000000;
}

/* Standardansicht für Desktop */
.multi-date {
    display: none;
}

/* Für mobile Ansicht (unter 800px Breite) */
@media (max-width: 800px) {
    .single-date {
        display: none;
    }

    .multi-date {
        display: flex;
        gap: 16px;
    }

    /* Angepasste Breite für Eingabefelder */
    .multi-date input[type="number"] {
        width: calc(33.33% - 10px); /* Gleichmäßige Verteilung */
    }
}


.drag-and-drop {
    width: 300px;
    height: 140px;
    border: 2px dashed #ccc;
    border-radius: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
    margin-left: 10px;
    margin-bottom: 25px;
}

.fa-file-image {
    font-size: 48px;
    margin-bottom: 10px;
}

.drag-over {
    background-color: orange;
}

/* Erfolgs Icon */

.icon-wrapper {
    display: flex;
    justify-content: center;
    height: 100vh;
}

.fa-check-circle {
    color: #78a31b;
    font-size: 100px;
    animation: successAnimation 1s ease-in-out;
}

@keyframes successAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.button-container button {
    width: 100%; /* Stellt sicher, dass beide Buttons gleich breit sind */
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px; /* Abstand zwischen den Buttons */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Berücksichtigt Padding und Border in der Breite */
}

.button-container button i {
    margin-right: 8px; /* Abstand zwischen Icon und Text */
}

.button-container button.negative {
    background-color: #fb253a; /* Beispiel für eine negative Aktion */
    color: #ffffff;
}

.button-container button.negative:hover {
    background-color: #fa3649; /* Hellerer Ton beim Hovern */
}

.button-container button {
    background-color: #78a31b; /* Akzentfarbe für den Standard-Button */
    color: #ffffff;
}

.button-container button:hover {
    background-color: #87b71e; /* Akzentfarbe für den Standard-Button */
}