/* Allgemeine Container-Stile */
.form-container {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.form-container h1,
.form-container h3 {
    color: #1abc9c;
    margin-bottom: 20px;
    text-align: left;
}

.form-container p {
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Formular-Reihen */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .half-width {
    flex: 1;
    max-width: 100%;
}

.form-row .small-input {
    max-width: 120px;
}

.form-row .zipcode-input {
    max-width: 100px;
}

/* Formular-Labels und Felder */
.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

.form-row textarea {
    resize: none;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 3px rgba(26, 188, 156, 0.5);
}

/* Checkbox und Fließtext */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 3px; /* Hebt die Checkbox leicht an */
    flex-shrink: 0; /* Verhindert, dass die Checkbox gestaucht wird */
}

.checkbox-container label {
    cursor: pointer;
}

/* Radio-Buttons */
.registration-type {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.registration-type input[type="radio"] {
    margin-right: 5px;
}

.registration-type label {
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

/* Button-Stile */
.form-container button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #1abc9c;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

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

/* Pflichtfelder */
.required {
    color: red;
    font-weight: normal;
}

/* Notiz unterhalb des Formulars */
.form-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 15px;
}

/* Entfernen-Link */
.remove-parent {
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: right;
    margin-top: 5px;
}

/* Checkbox und Fließtext */
.checkbox-container {
    display: flex !important; /* Sicherstellen, dass flex verwendet wird */
    align-items: flex-start !important; /* Checkbox am oberen Rand ausrichten */
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 3px !important; /* Leicht anheben */
    flex-shrink: 0 !important; /* Verhindern, dass die Checkbox gestaucht wird */
    cursor: pointer;
}

.checkbox-container label {
    cursor: pointer !important;
    text-align: left !important; /* Sicherstellen, dass der Text korrekt ausgerichtet ist */
}
