/* Kompaktes Auswahlfenster im Stil des bisherigen Plugins */
.bauer-bn-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 33px 20px 20px;
    background: rgba(0,0,0,.75);
}

.bauer-bn-dialog {
    position: relative;
    width: min(700px, 100%);
    padding: 52px 32px 41px;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    text-align: left;
}

/* Im alten Plugin wurden nur „Bitte wählen“ und die beiden Schaltflächen gezeigt. */
.bauer-bn-close,
.bauer-bn-headline,
.bauer-bn-question {
    display: none;
}

.bauer-bn-choose {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
}

.bauer-bn-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.bauer-bn-choice {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: center;
    justify-content: center;
    min-height: 61px;
    padding: 10px 15px;
    border: 0;
    border-radius: 0;
    background: #bd0000;
    color: #fff;
    cursor: pointer;
}

.bauer-bn-choice:hover,
.bauer-bn-choice:focus {
    border: 0;
    background: #a90000;
    color: #fff;
}

.bauer-bn-choice strong {
    font-size: 16px;
    line-height: 1.15;
}

.bauer-bn-choice span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
}

@media (max-width: 575.98px) {
    .bauer-bn-modal {
        padding: 20px 12px;
    }

    .bauer-bn-dialog {
        padding: 30px 20px;
    }

    .bauer-bn-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.bauer-bn-switch {
    cursor: pointer;
}

/* Umschalter im JTL-Topbar-Menue exakt wie die vorhandenen Menuepunkte ausrichten. */
.bauer-bn-switch-item {
    display: flex;
    align-items: center;
}

.bauer-bn-switch-item > .bauer-bn-switch {
    margin: 0;
}

/* Nur fuer Einbauorte ausserhalb einer Navigation etwas Abstand vorsehen. */
:not(.bauer-bn-switch-item) > .bauer-bn-switch {
    display: inline-block;
    margin: 4px 8px;
}

.bauer-bn-switch-fallback {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

@media (max-width: 575.98px) {
    .bauer-bn-dialog {
        padding: 26px 18px 20px;
    }

    .bauer-bn-headline {
        font-size: 21px;
    }

    .bauer-bn-actions {
        grid-template-columns: 1fr;
    }
}
