/* Gesamtes Dokument */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom right, #ffffff, #e8f0fe);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Minimum-Höhe auf 100% der Ansichtshöhe setzen */
    overflow-y: auto;
    /* Scrollbar aktivieren, falls Inhalt länger ist */
}

/* Container für das Formular */
.form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 20px;
    /* Abstand zum oberen und unteren Rand */
    box-sizing: border-box;
}

/* Titel */
h1 {
    text-align: center;
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Formularelemente */
label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    border-color: #000000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Button */
button {
    width: 100%;
    padding: 0.8rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #000000;
}

/* Hinweistext */
.helper-note {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Überschriften in Abschnitten */
h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #000000;
}

/* Abstand zwischen Abschnitten */
h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.loader {
    border: 4px solid #f3f3f3;
    /* Hellgrauer Hintergrund */
    border-top: 4px solid #007bff;
    /* Blaue Farbe */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}