/* Grundlegende Container-Stile */
.fsd-container {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
}

/* Formular-Stile */
.fsd-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.fsd-form-group {
    display: flex;
    flex-direction: column;
}

.fsd-form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.fsd-form-group select,
.fsd-form-group input[type="text"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    min-width: 150px;
}

/* Radio Button Gruppe */
.fsd-radio-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px; /* Abstand nach oben, wenn auf eigener Zeile */
}

.fsd-radio-group input[type="radio"] {
    margin-right: 5px;
}

.fsd-radio-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Tabellen-Stile */
.fsd-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.fsd-table th,
.fsd-table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: left;
}

.fsd-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.fsd-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fsd-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Responsives Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .fsd-form {
        flex-direction: column;
        align-items: stretch;
    }

    .fsd-form-group select,
    .fsd-form-group input[type="text"] {
        width: 100%;
        min-width: unset;
    }

    .fsd-table, .fsd-table tbody, .fsd-table tr, .fsd-table td {
        display: block;
        width: 100%;
    }

    .fsd-table thead {
        display: none;
    }

    .fsd-table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden; /* Für border-radius anwenden */
    }

    .fsd-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .fsd-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        text-align: left;
        font-weight: bold;
    }
}

/* Footer-Stile */
.fsd-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.fsd-footer p {
    margin: 5px 0;
}

h3 {
    text-align: center;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
}