/* -------------------------------------------------------------
   AboAlert Formular – Reset Theme Styles
------------------------------------------------------------- */
.aboalert-form {
    max-width: 600px;
    margin: 1em 0;
    font-family: Arial, sans-serif;
}

/* Alle Text-Inputs, Email, Textareas */
.aboalert-form input[type="text"],
.aboalert-form input[type="email"],
.aboalert-form textarea,
.aboalert-form select {
    width: 100% !important; /* volle Breite */
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.4em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
    margin-bottom: 1em;
}

/* Submit Button */
.aboalert-form input[type="submit"] {
    width: auto;
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
}
.aboalert-form input[type="submit"]:hover {
    background-color: #005177;
}

/* Meldungen innerhalb Formulars */
.aboalert-form .notice {
    padding: 10px 15px;
    margin-bottom: 1em;
    border-left: 4px solid;
    border-radius: 3px;
}
.aboalert-form .notice-success {
    background-color: #dff0d8;
    border-color: #3c763d;
    color: #3c763d;
}

/* -------------------------------------------------------------
   Select2 Schlagwörter & Kategorien
------------------------------------------------------------- */

/* Container */
.aboalert-form .select2-container {
    width: 100% !important;
    font-size: 14px;
}

/* Höhe der Auswahlbox */
.aboalert-form .select2-selection--multiple {
    min-height: 40px; /* erhöht für bessere Lesbarkeit */
    padding: 5px;
    line-height: 1.4em;
    box-sizing: border-box;
}

/* Ausgewählte Schlagwörter */
.aboalert-form .select2-selection__choice {
    padding: 3px 6px;
    font-size: 13px;
    line-height: 1.2em;
}

/* Placeholder */
.aboalert-form .select2-selection__placeholder {
    color: #888;
    font-style: italic;
}

/* Dropdown Menü */
.aboalert-form .select2-dropdown {
    max-height: 250px; /* scrollbar Höhe */
    overflow-y: auto;
    font-size: 14px;
}

/* Scrollbar für lange Listen */
.aboalert-form .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

/* Hervorhebung bei Hover / Auswahl */
.aboalert-form .select2-results__option--highlighted {
    background-color: #0073aa;
    color: #fff;
}

/* -------------------------------------------------------------
   Kategorien-Select scrollbar
------------------------------------------------------------- */
.aboalert-form select[multiple]:not(.select2-hidden-accessible) {
    max-height: 200px;
    overflow-y: auto;
}
