/* Mitbringliste – Verwaltung (index.php), zusätzlich zu buchung.css und werk.css. */

/* Startseite: Attrappe einer Liste */
.mb-attrappe .wz-attrappe-kopf { margin-bottom: 12px; }
.mb-a-fortschritt { margin: 0 0 12px; }
.mb-a-fortschritt span { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #f97316 var(--a), rgba(15, 23, 42, .08) var(--a)); animation: mb-a-balken 2.4s var(--kurve) both; }
.mb-a-fortschritt small { display: block; margin-top: 5px; color: #64748b; font-size: 12px; font-weight: 600; }
@keyframes mb-a-balken { from { background: linear-gradient(90deg, #f97316 0%, rgba(15, 23, 42, .08) 0%); } }
.mb-a-zeile { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px; margin-top: 7px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f6; }
.mb-a-zeile i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(249, 115, 22, .1); font-style: normal; font-size: 19px; }
.mb-a-zeile b { display: block; color: #0f172a; font-size: 14px; } .mb-a-zeile small { color: #94a3b8; font-size: 12px; }
.mb-a-zeile em { font-style: normal; font-size: 12px; font-weight: 800; color: #047857; }
.mb-a-zeile em.frei { color: #c2410c; }
.mb-a-zeile.voll { opacity: .7; }
.mb-a-knopf { grid-column: 1 / -1; justify-self: end; padding: 6px 12px; border-radius: 10px; background: #f97316; color: #fff; font-size: 12px; font-weight: 800; animation: mb-a-tipp 4s ease-in-out infinite; }
.mb-a-zeile + .mb-a-zeile .mb-a-knopf { animation-delay: 2s; }
@keyframes mb-a-tipp { 0%, 70%, 100% { transform: none; box-shadow: none; } 76% { transform: scale(.93); } 82% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(249, 115, 22, .2); } }

/* Vorlagen */
.mb-vorlagen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 1rem; }
.mb-vorlagen label { position: relative; cursor: pointer; }
.mb-vorlagen input { position: absolute; opacity: 0; }
.mb-vorlagen span { display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1px solid var(--rand-2); background: var(--flaeche); color: #fff; font-weight: 700; transition: border-color .2s, background .2s, transform .25s var(--feder); }
.mb-vorlagen b { font-size: 1.5rem; }
.mb-vorlagen small { color: var(--text-3); font-weight: 600; }
.mb-vorlagen input:checked + span { border-color: var(--gelb); background: rgba(255, 198, 26, .1); transform: translateY(-2px); }
.mb-vorlagen input:focus-visible + span { outline: 2px solid var(--gelb); outline-offset: 2px; }

/* Kacheln: Fortschritt */
.mb-kachel-balken { display: block; height: 5px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mb-kachel-balken span { display: block; height: 100%; border-radius: inherit; background: var(--f); }

/* Übersicht „Wer bringt was“ */
.mb-fortschritt { display: grid; gap: .5rem; margin-bottom: 1rem; }
.mb-fortschritt-balken { height: 12px; border-radius: 99px; background: var(--flaeche-2); overflow: hidden; }
.mb-fortschritt-balken span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--f), color-mix(in srgb, var(--f) 70%, #fff)); animation: mb-wachsen 1s var(--kurve) both; transform-origin: left; }
@keyframes mb-wachsen { from { transform: scaleX(0); } }
.mb-fortschritt p { margin: 0; color: var(--text-2); } .mb-fortschritt b { color: #fff; }
.mb-werkzeuge { margin-bottom: 1rem; }
.mb-uebersicht { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mb-uebersicht li { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--rand); }
.mb-uebersicht li.voll { border-color: rgba(52, 211, 153, .35); }
.mb-emoji { flex: none; font-size: 1.5rem; }
.mb-uebersicht-text { flex: 1; min-width: 0; }
.mb-uebersicht-text b { color: #fff; } .mb-uebersicht-text small { color: var(--text-3); }
.mb-wer { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.mb-person { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .2rem .1rem .6rem; border-radius: 99px; background: var(--flaeche-2); color: var(--text-2); font-size: .85rem; font-weight: 600; }
.mb-person .bu-inline { display: inline; margin: 0; }
.mb-x { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-3); cursor: pointer; }
.mb-x:hover { background: rgba(251, 113, 133, .2); color: var(--rot); }
.mb-niemand { color: var(--text-3); font-size: .85rem; }
.mb-zahl { flex: none; font-style: normal; font-weight: 800; color: var(--gelb); }
.mb-uebersicht li.voll .mb-zahl { color: var(--gruen); }
.mb-kat { margin: 1rem 0 .5rem; font-size: .95rem; color: var(--text-2); }

/* Vorgaben-Editor */
.mb-vorgaben { display: grid; gap: .45rem; margin-bottom: .7rem; }
.mb-vorgabe-kopf, .mb-vorgabe { display: grid; grid-template-columns: 22px minmax(0, 2fr) minmax(0, 1.4fr) 70px minmax(0, 1.4fr) auto; gap: .45rem; align-items: center; }
.mb-vorgabe-kopf { padding-left: calc(22px + .45rem); grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) 70px minmax(0, 1.4fr) 40px; color: var(--text-3); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mb-vorgabe input, .mb-vorgabe select { width: 100%; padding: .6rem .7rem; border-radius: 11px; border: 1px solid var(--rand-2); background: rgba(0, 0, 0, .25); color: #fff; font: 500 15px 'Exo 2', sans-serif; }
.mb-vorgabe select option { background: #10163d; }
.mb-vorgabe.zieht { opacity: .4; }
.mb-vorgabe.ueber { box-shadow: 0 -3px 0 var(--gelb); }
.mb-griff { color: var(--text-3); cursor: grab; text-align: center; }
.mb-vorgabe-stand { grid-column: 2 / -1; margin-top: -.2rem; color: var(--gruen); font-size: .78rem; font-weight: 600; }
@media (max-width: 760px) {
    .mb-vorgabe-kopf { display: none; }
    .mb-vorgabe { grid-template-columns: 22px minmax(0, 1fr) 70px auto; padding: .6rem; border-radius: 14px; background: var(--flaeche); }
    .mb-vorgabe > select { grid-column: 2 / 4; grid-row: 2; }
    .mb-vorgabe > input[name$="[hinweis]"] { grid-column: 2 / 4; grid-row: 3; }
}
.mb-modus { flex-wrap: wrap; }

@media print { .bu-kopf, .bu-reiter, .wz-objekt-kopf .bu-dash-kopf-knoepfe, .mb-werkzeuge, .t-zurueck, .bu-fuss, .mb-x, .wz-gaeste { display: none !important; } body { background: #fff; color: #000; } .t-karte, .mb-uebersicht li { background: #fff !important; border-color: #ccc !important; } .mb-uebersicht-text b, .wz-objekt-kopf h1 { color: #000 !important; } }
.bu-felder-2 .bu-segmente { flex-wrap: wrap; }
