/* ==========================================================================
   cms-shared.css
   Gemeinsame Regeln, die zuvor als Inline-<style> in mehreren Seiten
   dupliziert waren (edit-poi, edit-collection, edit-galerie, edit-bild,
   collection_neu, eingabe/index, kategorien/*).
   Eingebunden über oben.php und oben_tour.php.
   ========================================================================== */

/* Slim-Upload: eigenen Upload-Button ausblenden (Upload läuft über Save) */
.slim-btn-upload {
    display: none !important;
}

/* Radio-Inputs nicht auf Formularbreite ziehen */
.radio input {
    width: auto !important;
}

/* --------------------------------------------------------------------------
   Overlay (Vorschau-Overlay in edit-poi / edit-collection)
   -------------------------------------------------------------------------- */
.noscroll {
    overflow: hidden;
}

.overlay {
    position: fixed;
    overflow-y: scroll;
    z-index: 1001;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(40, 40, 40, .75);
}

[aria-hidden="true"] { display: none; }
[aria-hidden="false"] { display: block; }

.overlay div {
    margin: 12vh auto;
    padding: 30px;
    min-height: 50vh;
    background: rgb(225, 225, 225);
    width: 85%;
    column-count: 2;
    column-gap: 10px;
    position: relative;
    color: #000000e3;
    font-size: 1em;
}

.close-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px;
}

.overlay pre {
    background: #fafafa;
    padding: 15px;
    border: 1px #ccd dashed;
}

.overlay pre + p {
    margin: 5vh 0;
}
