

.empty-state {
  text-align: center;
  margin: 20px 0;
}
.empty-state-img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
  display: block;
  opacity: .75;
}




.select2-sub { display: flex; align-items: center; gap: 6px; min-width: 0; }
.select2-sub-icon { width: 20px; height: 20px; flex-shrink: 0; }
.select2-sel { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; max-height: 34px; }
.select2-obj-name { font-size: .72rem; font-weight: 400; opacity: .6; position: relative; top: -3px; }
.select2-sub, .select2-sel, .select2-sub span, .select2-sel span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select2-results__option {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-obj-name .select2-selection--single { height: 45px !important; }
.select-obj-name .select2-selection--single .select2-selection__rendered { line-height: 1 !important; padding-top: 6px !important; }
.select-obj-name .select2-selection--single .select2-selection__arrow { height: 46px !important; }
.select2-container--default .select2-results__group { opacity: .6; font-weight: 500; }
.select2-search--dropdown { padding: 8px !important; }
.select2-search--dropdown .select2-search__field { border-radius: 5px !important; padding: 8px !important; }






.select2-container .select2-selection--single { height: 37px; }
.select2-container { min-width: 160px; }

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--body-text);
    line-height: 34px;
    font-size: .95rem;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    padding-right: 20px;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 310px;
}

.select2-results__option {
    padding: 7px 12px 5px 12px;
    min-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    width: 16px !important;
    height: 16px !important;
    left: 35% !important;
    top: 34% !important;
    border: none;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTIgMTIiPgo8cGF0aCBkPSJNMTAuMTkzIDMuOTdhLjc1Ljc1IDAgMCAxIDEuMDYyIDEuMDYyTDYuNTMgOS43NTZhLjc1Ljc1IDAgMCAxLTEuMDYgMEwuNzQ1IDUuMDMyQS43NS43NSAwIDAgMSAxLjgwNyAzLjk3TDYgOC4xNjNsNC4xOTMtNC4xOTN6IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjwvcGF0aD48L3N2Zz4KCg==);
    background-size: 11px 11px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 3px;
    right: 8px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid var(--border-input);
    border-radius: 8px;
}

/* Tastatur-Fokus sichtbar machen (globales outline:none überschreiben) */
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}

.select2-dropdown {
    border: 1.2px solid var(--border);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.2px solid var(--border);
}


/* ── Select2 Overrides ───────────────────────────────────────────────────── */
.select2-container--default .select2-selection--single {
    height: 38px;
    border-radius: 6px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
    padding-right: 32px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}


.form-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 10px;
}


.admin-debug { margin-bottom: 16px; }
.admin-debug summary { cursor: pointer; font-size: .8rem; color: var(--muted); }
.admin-debug pre { font-size: .75rem; overflow: auto; max-height: 300px; }

.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ── Select2 Dark Mode ───────────────────────────────────────────────────── */
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTIgMTIiPjxwYXRoIGQ9Ik0xMC4xOTMgMy45N2EuNzUuNzUgMCAwIDEgMS4wNjIgMS4wNjJMNi41MyA5Ljc1NmEuNzUuNzUgMCAwIDEtMS4wNiAwTC43NDUgNS4wMzJBLjc1Ljc1IDAgMCAxIDEuODA3IDMuOTdMNiA4LjE2M2w0LjE5My00LjE5M3oiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI2JjYzRkNCIvPjwvc3ZnPg==);
}

[data-theme="dark"] .select2-container--default .select2-selection--single {
    background-color: var(--input-bg);
    border-color: var(--border-input);
}
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--body-text);
}
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--muted);
}
[data-theme="dark"] .select2-dropdown {
    background-color: var(--input-bg);
    border-color: var(--border-input);
}
[data-theme="dark"] .select2-search--dropdown .select2-search__field {
    background-color: var(--body-bg);
    border-color: var(--border-input);
    color: var(--body-text);
}
[data-theme="dark"] .select2-results__option {
    color: var(--body-text);
}
[data-theme="dark"] .select2-container--default .select2-results__option--selected {
    background-color: var(--bg-hover);
}
[data-theme="dark"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--accent);
    color: #fff;
}
[data-theme="dark"] .select2-container--default .select2-results__option--disabled {
    color: var(--muted);
}
[data-theme="dark"] .select2-container--default .select2-selection--multiple {
    background-color: var(--input-bg);
    border-color: var(--border-input);
}
[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bg-hover);
    border-color: var(--border-input);
    color: var(--body-text);
}
[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--muted);
    border-right-color: var(--border-input);
}

/* ── Abo-Assistent: Preistabelle wie auf der Marketing-Website (/preise) ─── */
.abo-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 16px 0 24px; }
@media (max-width: 900px) { .abo-pricing-grid { grid-template-columns: 1fr; } }
.abo-pricing-grid .pricing-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid rgba(13, 17, 23, .08);
    border-radius: 20px;
    padding: 12px 25px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}
.abo-pricing-grid .pricing-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.10); transform: translateY(-1px); text-decoration: none; color: inherit; }
.abo-pricing-grid .pricing-card.featured { border: none; }
.abo-pricing-aktiv-badge {
    position: absolute; top: -13px; right: 20px;
    background: var(--accent); color: #fff;
    font-size: .78rem; font-weight: 700; padding: 4px 12px;
    border-radius: 100px; display: flex; align-items: center; gap: 4px; z-index: 10;
}
.abo-pricing-grid .pricing-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; color: var(--body-text); }
.abo-pricing-preis { font-size: .95rem; font-weight: 700; color: var(--body-text); margin: 0 0 10px; }
.abo-preistabelle { width: 65%; margin: 20px 5px 30px 5px; }
.abo-preistab-zwischen { color: var(--muted); }
.abo-preistab-gesamtsumme { color: var(--muted-heavy); }
.abo-preistab-gesamtpreis { font-size: 1.1rem; }
.abo-preistab-betrag { text-align: right; white-space: nowrap; }
.abo-preistab-trenner td { border-top: 2px solid var(--border); padding-top: 10px; }
.abo-mt-10 { margin-top: 10px; }
.abo-mt-20 { margin-top: 20px; }

.videothek-video-box { border-radius: 12px; box-shadow: 0 0 40px rgba(0,0,0,.25); overflow: hidden; }
.videothek-video { display: block; width: 100%; margin: 0; }
.abo-pricing-grid .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0 0 8px; padding: 0; }
.abo-pricing-grid .pricing-features li { font-size: .85rem; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.abo-pricing-grid .pricing-card.featured .pricing-features li { color: var(--muted-heavy); }
.abo-pricing-grid .pricing-features li::before {
    content: ''; flex-shrink: 0; margin-top: 2px;
    background-color: #f1f0ee;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2,6 5,9 10,3'/%3E%3C/svg%3E");
    background-size: 65%; background-repeat: no-repeat; background-position: center;
    width: 16px; height: 16px; border-radius: 50%; display: inline-block;
}
@property --abo-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes abo-pricing-spin { to { --abo-angle: 360deg; } }
.price-wrapper {
    display: block;
    padding: 3px;
    border-radius: 23px;
    background: conic-gradient(from var(--abo-angle, 0deg),
        #e63946 0deg, #ff6b6b 40deg, #74c0fc 120deg, #339af0 180deg,
        #74c0fc 220deg, #ffe066 280deg, #fcc419 320deg, #e63946 360deg);
    animation: abo-pricing-spin 6s linear infinite;
}
.price-table-container { background: #fff; border-radius: 20px; height: 100%; }
.price-table-container .pricing-card { height: 100%; }

/* ── Admin: Channex Payload ──────────────────────────────────────────────── */
.admin-payload { margin: 20px 0; border: 1px dashed var(--border); border-radius: 8px; overflow: hidden; }
.admin-payload summary { padding: 10px 15px; font-size: .9rem; font-weight: 600; color: var(--body-text); cursor: pointer; user-select: none; background: var(--bg-white-light); }
.admin-payload-json { margin: 0; padding: 12px 16px; background: var(--body-bg); font-size: .78rem; line-height: 1.5; overflow-x: auto; max-height: 480px; }

