body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}.aspect--9\:16,.responsive.ratio-916{padding-bottom:177.7777%}.aspect--1\:1,.responsive.ratio-11{padding-bottom:100%}
/* MWFewoManager — Feature icon picker (v110, backoffice-bundle)
 *
 * The modal chrome itself (.modal, .modal__dialog, .modal__header, …) is
 * provided by ui-modal.css (loaded globally in the backend). This file
 * only styles:
 * - the trigger button on the DCA edit form
 * - the picker content that lives inside `.modal__body`
 */

/* --- Trigger -------------------------------------------------------- */
.widget.icon-picker {
    display: block;
}

.icon-picker__trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border: 1px solid var(--border, #cbd5e1);
    border-radius: 6px;
    background: var(--form-bg, #fff);
    color: var(--text, #1f2937);
    cursor: pointer;
    min-height: 38px;
    max-width: 32rem;
    text-align: left;
    font: inherit;
}

.icon-picker__trigger:hover {
    border-color: var(--focus, #2f6fe4);
}

.icon-picker__preview {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--form-bg-alt, #f1f5f9);
    border-radius: 4px;
    flex: 0 0 auto;
}

.icon-picker__preview svg {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.icon-picker__label {
    flex: 1 1 auto;
    font-weight: 600;
    color: inherit;
    word-break: break-word;
}

.icon-picker__action {
    color: var(--link-color, var(--focus, #2f6fe4));
    font-size: 0.8125rem;
    font-weight: 600;
    flex: 0 0 auto;
}

/* --- Picker content inside .modal__body ----------------------------- */
/* Die klebende Suchzeile braucht eine deckende Fläche, sonst scrollen die
   Symbolkacheln sichtbar unter ihr durch. `inherit` und kein eigener Wert:
   Die Zeile soll immer die Farbe des Dialogkörpers tragen. Die steht an
   genau einer Stelle (`.modal__body` in `ui-modal.css`); ein zweiter
   Farbwert hier wäre die nächste Regel, die davon leise abdriftet. */
.icon-picker-modal__toolbar {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0 14px 12px;
    background: inherit;
}

/* The search input keeps the Contao-native `tl_text` look; we only make
   it stretch to the full toolbar width. */
.icon-picker-modal__search.tl_text {
    width: 100%;
    box-sizing: border-box;
}

.icon-picker-modal__grid {
    padding: 0 14px;
    display: grid;
    gap: 18px;
}

.icon-picker-modal__group-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #6b7280);
    margin: 0 0 8px 2px;
}

.icon-picker-modal__group-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 8px;
}

/* --- Tile ----------------------------------------------------------- */
.icon-picker-modal__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px 10px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    background: var(--form-bg, #fff);
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
    text-align: center;
    font: inherit;
    color: inherit;
    min-height: 96px;
}

.icon-picker-modal__tile:hover {
    border-color: var(--focus, #2f6fe4);
    background: var(--form-bg-alt, #eff6ff);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.10);
}

.icon-picker-modal__tile.is-active {
    border-color: var(--focus, #2f6fe4);
    background: color-mix(in srgb, var(--focus, #2f6fe4) 12%, var(--form-bg, #fff));
    box-shadow: inset 0 0 0 1px var(--focus, #2f6fe4);
}

.icon-picker-modal__tile:focus-visible {
    outline: 2px solid var(--focus, #2f6fe4);
    outline-offset: 2px;
}

.icon-picker-modal__tile-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-picker-modal__tile-icon svg {
    width: 28px;
    height: 28px;
    color: inherit;
}

.icon-picker-modal__tile-label {
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--text-muted, #4b5563);
    word-break: break-word;
}

/* Dark-mode tweaks — align with the rest of the BO modal theme */
html[data-color-scheme=dark] .icon-picker-modal__tile-icon svg {
    color: #e5e7eb;
}

