/* Global styles for Edelweiss plugin shortcodes (no inline CSS) */

/* Badge components (memberships/discounts) */
.mbl-sc-wrap { width:100%; box-sizing:border-box; margin:6px 0; }
.mbl-sc-heading { font-size:.9em; margin:8px 0 6px; font-weight:300; color:#222222; }
.mbl-badges { display:flex; flex-wrap:wrap; gap:6px; }
.mbl-badge { display:inline-block; padding:4px 8px; border:1px solid transparent; border-radius:0; font-size:.8em; line-height:1.2; }
.mbl-badge-active { background:#c3bf07; color:#fffff7; border-color:#c3bf07; }
.mbl-badge-possible { background:#222222; color:#c3bf07; border-color:#222222; }
.mbl-heading-icon { margin-left:8px; display:inline-flex; align-items:center; text-decoration:none; color:inherit; }
.mbl-heading-icon svg { width:14px; height:14px; display:block; }

/* Layout for next course dates shortcodes */
.layout_main { width: 100%; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-around; align-items: flex-start; }
@media all and (max-width: 996px) { .mbl_div_main{ width:95%; } }
.layout { width:100%; display:grid; grid-template-rows:100px; grid-template-columns:100px 1fr; gap:8px; justify-content:start; align-content:start; padding:0 7px 0 0; margin-bottom:10px; }
.mbl_shadow_box { -webkit-box-shadow: 3px 3px 15px 0px rgba(117,117,117,1); -moz-box-shadow: 3px 3px 15px 0px rgba(117,117,117,1); box-shadow: 3px 3px 15px 0px rgba(117,117,117,1); border-radius:7px; border:0; }
.mbl_img { border-radius:7px 0 0 7px; border:0; }
.mbl-font { font-size:0.8em; margin:0; }
/* Variant for white text (weiss shortcode) */
.mbl-white .mbl-font { color:#ffffff; }

/* Heatmap container defaults */
.edel-plz-heatmap-wrap { width:100%; }
.edel-plz-heatmap { width:100%; min-height:260px; border:1px solid #dadada; box-sizing:border-box; }

/* Heatmap: Tabelle unterhalb der Karte */
.edel-plz-heatmap-table-wrap { margin-top:8px; overflow:auto; }
.edel-plz-heatmap-table { width:100%; border-collapse:collapse; font-size:0.9em; }
.edel-plz-heatmap-table th, .edel-plz-heatmap-table td { border:1px solid #dadada; padding:6px 8px; text-align:left; }
.edel-plz-heatmap-table thead th { background:#f7f7f7; font-weight:600; }
.edel-plz-heatmap-table tbody tr:nth-child(odd) { background:rgba(230,224,0,0.06); }
.edel-plz-heatmap-table tbody tr:hover { background:rgba(230,224,0,0.12); }

/* Heatmap: Gesamtanzahl-Info unter der Karte, oberhalb der Tabelle */
.edel-plz-heatmap-total {
  background:#2f2f2f; /* Anthrazit */
  color:#ececec;      /* sehr helles Grau */
  padding:8px 10px;
  margin:8px 0 6px;
  font-size:1.0em;    /* etwas größer als der Tabellen-Text */
  border:1px solid #444;
}

/* Mein-Konto Menü (nur für unsere erzeugte Menügruppe, beeinflusst keine anderen Menüs) */
.menu-item.mbl-account-menu > a svg.mbl-account-icon { width:20px; height:20px; display:inline-block; vertical-align:middle; }
.menu-item.mbl-account-menu > .sub-menu { background:#ffffff; border:1px solid #eeeeee; padding:0; }
.menu-item.mbl-account-menu > .sub-menu > li { border-top:1px solid #e5e5e5; }
.menu-item.mbl-account-menu > .sub-menu > li:first-child { border-top:0; }
