/* == Formular-Container == */
.praktikum-search-form {
    margin-bottom: 2em;
    background: linear-gradient(to bottom, #e0f4f5, #f8fefe);
    padding: 1em;
    border: 2px solid #52b7b0;
    border-radius: 8px;
    color: #333;
    font-family: sans-serif;
}

/* == Ergebnisse: Hauptüberschrift == */
.praktikum-result-headline {
    font-size: 2.5em;
    margin-top: 2em;
    margin-bottom: 0.1em;
    color: #de9f38;
    text-align: center;
}

/* == Ergebnisse: Gesamtanzahl unter Überschrift == */
.praktikum-total-count {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    font-weight: normal;
    margin-top: 0.2em;
    margin-bottom: 2em;
}

/* == Fieldset, Label, Select == */
.praktikum-search-form fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1em;
}

.praktikum-search-form label {
    display: block;
    margin-bottom: 0.8em;
    font-weight: bold;
    color: #de9f38;
}

.praktikum-search-form select {
    width: 100%;
    max-width: 400px;
    padding: 0.5em;
    margin-top: 0.3em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f8fefe;
}

/* == Filter-Button == */
.praktikum-search-form button,
#praktikum-filter-btn,
button.filter-button {
    padding: 0.6em 1.2em;
    background-color: #52b7b0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;

    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    z-index: 1;
}

.praktikum-search-form button:hover {
    background-color: #449994;
}

/* == Ergebnis-Bereich == */
.praktikum-results {
    margin-top: 2em;
}

/* Dezente Ergebniszahl hinter Kategorie */
.praktikum-cat {
    font-size: 1.6em;
    margin-top: 2.5em;
    margin-bottom: 0.3em;
    color: #dd9a2e;
    font-weight: 600;
    border-bottom: 2px solid #52b7b0;
    padding-bottom: 0.3em;
    line-height: 1.3;
}

.praktikum-cat .count {
    display: block; /* eigener Zeilenblock */
    margin-top: 0.2em;
    font-size: 0.75em; /* etwas kleiner */
    color: #666;
    font-weight: normal;
}

/* == Listen == */
.praktikum-results ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1em;
}

.praktikum-results li {
    background: #f3fdfc;
    border: 1px solid #cceae7;
    border-radius: 6px;
    padding: 1em;
    margin-bottom: 1em;
}

/* == Job-Titel in der Box == */
.praktikum-results h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 1.3em;
    color: #c28c2a;
}

/* == Info-Paragraphs == */
.praktikum-results p {
    margin: 0.3em 0;
    color: #333;
}

/* == Links == */
.praktikum-results a {
    color: #52b7b0;
    text-decoration: none;
    font-weight: bold;
}

.praktikum-results a:hover {
    text-decoration: underline;
}
/* ===========================
   Dropdown-Kategorien (details/summary)
   =========================== */

/* Container für jede Kategorie */
.praktikum-cat-box {
    margin-top: 2.5em;
    padding-bottom: 0.6em;
}

/* Standard-Styling von <summary> entfernen */
.praktikum-cat-box summary {
    list-style: none;
    cursor: pointer;
    outline: none;
}

/* Entfernt den standardmäßigen Caret-Pfeil in Firefox */
.praktikum-cat-box summary::-webkit-details-marker {
    display: none;
}

/* Kategoriename + Ergebniszahl */
.praktikum-cat {
    font-size: 1.6em;
    font-weight: 600;
    color: #dd9a2e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1.5em; /* Platz für Pfeil */
    position: relative;
}

/* Ergebniszahl */
.praktikum-cat .count {
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
    margin-left: 0.4em;
}

/* Pfeil für Dropdown */
.praktikum-cat-box summary::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 0.2em;
    font-size: 1.3em;
    color: #52b7b0;
    transition: transform 0.25s ease;
}

/* Pfeil dreht sich beim Öffnen */
.praktikum-cat-box[open] summary::after {
    transform: rotate(180deg);
}

/* Animation beim Öffnen/Schließen */
.praktikum-cat-box ul {
    margin-top: 1em;
    animation: dropdown-fade 0.25s ease;
}

@keyframes dropdown-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
