/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    font-size: 16px; /* Basis-Schriftgröße */
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

/* Auswahl der Feeds */
#feedSelectionSection {
    border: 1px solid #ccc;
    padding: 1rem;
}

#feedSelection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#feedSelection label {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

#feedSelection input[type="checkbox"] {
    margin-right: 0.5rem;
}

#selectButtons {
    margin-top: 1rem;
}

#selectButtons button {
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

/* Vorlagenfilter */
#predefinedFiltersSection {
    border: 1px solid #ccc;
    padding: 1rem;
}

#predefinedFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#predefinedFilters button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

/* Suchfeld */
#searchSection {
    border: 1px solid #ccc;
    padding: 1rem;
}

#searchSection input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
}

/* Optionen */
#options {
    margin-top: 1rem;
}

#options label {
    font-size: 1rem;
    cursor: pointer;
}

#options input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Tabelle */
#rssTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

#rssTable th, #rssTable td {
    border: 1px solid #ccc;
    padding: 0.5rem;
}

#rssTable th {
    background-color: #f0f0f0;
    font-size: 1rem;
}

#rssTable tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#rssTable tbody tr:hover {
    background-color: #e9e9e9;
}

#rssTable td {
    font-size: 0.9rem;
}

/* Responsives Design */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    #feedSelection label, #selectButtons button, #predefinedFilters button, #options label {
        font-size: 0.9rem;
    }

    #rssTable th, #rssTable td {
        font-size: 0.8rem;
        padding: 0.3rem;
    }

    #rssTable td a {
        font-size: 0.9rem;
    }
}

/* Tabelle scrollbar machen */
.table-responsive {
    overflow-x: auto;
}

/* Buttons und Labels für mobile Geräte optimieren */
button, input[type="checkbox"] + label {
    touch-action: manipulation;
}

button {
    min-width: 44px;
    min-height: 44px;
}