/* Event-Furs Mitglieder-Dashboard */
.ef-dashboard{
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 0;
}

.ef-header{
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ef-title{
  font-size: 1.8rem;
  margin: 0 0 4px 0;
}

.ef-subtitle{
  opacity: .75;
  font-size: .95rem;
}

.ef-status{
  min-width: 260px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ef-status-label{
  font-size: .85rem;
  opacity: .75;
  margin-bottom: 6px;
}

.ef-status-value{
  font-size: 1.2rem;
  font-weight: 700;
}

.ef-status.is-good{ border-left: 6px solid #198754; }
.ef-status.is-warn{ border-left: 6px solid #ffc107; }
.ef-status.is-bad{  border-left: 6px solid #dc3545; }
.ef-status.is-neutral{ border-left: 6px solid #0d6efd; }

.ef-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 720px){
  .ef-grid{ grid-template-columns: 1fr; }
}

.ef-card{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 16px 18px;
}

.ef-card-label{
  font-size: .85rem;
  opacity: .75;
  margin-bottom: 6px;
}

.ef-card-value{
  font-size: 1.05rem;
  font-weight: 700;
}

/* Zahlungsstatus-Karte visuell hervorheben */
.ef-card.is-bad  { border-left: 6px solid #dc3545; }
.ef-card.is-good { border-left: 6px solid #198754; }

/* Einheitliche Kartenhöhe (Dashboard-Look) */
.ef-card {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Warnbox optisch ins Dashboard integrieren */
.ef-alert {
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Leere Felder dezent darstellen */
.ef-card.is-empty {
  opacity: 0.85;
}

.ef-empty-note {
  opacity: 0.7;
  font-weight: 500;
}

/* =========================
   Mitglieds-Dashboard – Status-Kasten mit Akzent
   ========================= */

.ef-status,
.ef-status-card,
.ef-dashboard .ef-status {
  background-color: #20242b !important;
  color: #e5e7eb !important;

  /* normaler Rahmen */
  border: 1px solid #2b3038 !important;

  /* AKZENT links */
  border-left: 6px solid #22c55e !important; /* grün */
  border-radius: 10px;
}

/* Text im Status-Kasten */
.ef-status *,
.ef-status-card * {
  color: inherit;
}




/* =========================
   Event-Furs Dark Theme – Base
   ========================= */

/* Seitenhintergrund & Text */
body {
  background-color: #121417;
  color: #e5e7eb;
}

/* Hauptcontainer */
.section,
.container,
.main-content {
  background-color: transparent;
}

/* Karten / Boxen / Module */
.card,
.ef-card,
.module,
.alert {
  background-color: #20242b;
  border: 1px solid #2b3038;
  color: #e5e7eb;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
  color: #f3f4f6;
}

/* Sekundärer Text */
.text-muted,
.small,
.ef-subtitle {
  color: #9ca3af !important;
}

/* =========================
   Header & Navigation – Dark
   ========================= */

/* Header-Hintergrund */
#sp-header {
  background-color: #1a1d22 !important;
  border-bottom: 1px solid #2b3038;
}

/* Menü-Links */
#sp-header .sp-megamenu-parent > li > a {
  color: #e5e7eb !important;
}

/* Hover */
#sp-header .sp-megamenu-parent > li:hover > a {
  color: #3b82f6 !important;
}

/* Aktiver Menüpunkt */
#sp-header .sp-megamenu-parent > li.active > a {
  color: #3b82f6 !important;
  font-weight: 600;
}

/* Mobile Menü */
.offcanvas-menu {
  background-color: #121417;
}

/* =========================
   Page Title / Seitentitel – Dark
   ========================= */

#sp-title {
  background-color: #1a1d22 !important;
  border-bottom: 1px solid #2b3038;
}

#sp-title h1,
#sp-title h2,
#sp-title .sp-page-title {
  color: #e5e7eb !important;
}

/* Breadcrumbs im Seitentitel (falls aktiv) */
#sp-title .breadcrumb,
#sp-title .breadcrumb a {
  color: #9ca3af !important;
}

/* =========================
   iCagenda Modul – Dark (über CSS-Klasse Modul)
   ========================= */

/* Helix/Joomla legt die Modulklasse meistens am Wrapper oder an modul-internen Container an */
.icagenda-dark,
.icagenda-dark .sp-module,
.icagenda-dark .sp-module-content,
.icagenda-dark .moduletable,
.icagenda-dark .module-inner,
.icagenda-dark .module-body {
  background-color: #20242b !important;
  border: 1px solid #2b3038 !important;
  border-radius: 14px !important;
  color: #e5e7eb !important;
}

/* Innenabstand */
.icagenda-dark .sp-module-content,
.icagenda-dark .module-inner,
.icagenda-dark .module-body {
  padding: 16px !important;
}

/* Links */
.icagenda-dark a {
  color: #3b82f6 !important;
}
.icagenda-dark a:hover {
  color: #2563eb !important;
}

/* iCagenda Inhalte nicht mehr weiß */
.icagenda-dark table,
.icagenda-dark td,
.icagenda-dark th,
.icagenda-dark .card,
.icagenda-dark .well {
  background-color: transparent !important;
  color: #e5e7eb !important;
}

/* =========================
   iCagenda – Event Boxen Dark
   ========================= */

/* Einzelne Event-Karten im Modul */
.icagenda .ic-event,
.icagenda .ic-evt,
.icagenda .ic-event-list,
.icagenda .icagenda-event,
.icagenda .icmod-event,
.icagenda .event {
  background-color: #20242b !important;
  border: 1px solid #2b3038 !important;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  color: #e5e7eb !important;
}

/* Event-Titel */
.icagenda .ic-event a,
.icagenda .ic-evt a {
  color: #3b82f6 !important;
  font-weight: 600;
}

.icagenda .ic-event a:hover,
.icagenda .ic-evt a:hover {
  color: #2563eb !important;
}

/* Datum / Ort / Meta */
.icagenda .ic-date,
.icagenda .ic-time,
.icagenda .ic-location,
.icagenda .ic-info {
  color: #9ca3af !important;
}

/* Event-Bilder / Badges nicht aufhellen */
.icagenda img {
  background: transparent !important;
}

/* =========================
   iCagenda – Modul größer & luftiger
   ========================= */

/* Gesamter Modulrahmen */
.icagenda-dark {
  padding: 24px !important;
}

/* Einzelne Event-Karten */
.icagenda .ic-event,
.icagenda .ic-evt,
.icagenda .icagenda-event,
.icagenda .icmod-event,
.icagenda .event {
  padding: 16px !important;
  margin-bottom: 14px !important;
}

/* Titel größer */
.icagenda a {
  font-size: 1.05rem;
}

/* Meta-Infos (Datum, Ort etc.) */
.icagenda .ic-info,
.icagenda .ic-location,
.icagenda .ic-time {
  font-size: 0.9rem;
}

/* =========================
   iCagenda – Event-Karten größer
   ========================= */

/* Einzelne Event-Box */
.icagenda .ic-event,
.icagenda .ic-evt,
.icagenda .icagenda-event,
.icagenda .icmod-event,
.icagenda .event {
  padding: 22px !important;        /* mehr Innenabstand */
  min-height: 110px;               /* sorgt für „Größe“ */
  margin-bottom: 18px !important;  /* mehr Abstand zwischen Events */
}

/* Datum-Badge größer */
.icagenda .ic-day {
  font-size: 1.6rem !important;
  font-weight: 700;
  line-height: 1;
}

/* Titel größer */
.icagenda a {
  font-size: 1.15rem;
  line-height: 1.3;
}

/* Meta-Infos etwas luftiger */
.icagenda .ic-info,
.icagenda .ic-location,
.icagenda .ic-time {
  margin-top: 6px;
}

/* =========================
   Mobile/Tablet: Menü IM Header anzeigen
   ========================= */

/* Burger ausblenden */
#offcanvas-toggler,
.offcanvas-toggler {
  display: none !important;
}

/* Menü sichtbar machen */
#sp-header .sp-megamenu,
#sp-header .sp-megamenu-parent {
  display: block !important;
}

/* Mobile Layout: Menü umbruchsicher machen */
@media (max-width: 991px) {
  #sp-header .sp-megamenu-parent {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px;
    justify-content: center;
  }

  #sp-header .sp-megamenu-parent > li > a {
    padding: 8px 10px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    border-radius: 10px;
    background: #20242b;
    border: 1px solid #2b3038;
  }
}

/* =========================
   Mobile Header-Menü: Ausrichtung fix
   ========================= */

@media (max-width: 991px) {

  /* Menüzeile sauber ausrichten */
  #sp-header .sp-megamenu-parent {
    align-items: center !important;
  }

  /* Alle Menüpunkte gleiche Höhe */
  #sp-header .sp-megamenu-parent > li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  #sp-header .sp-megamenu-parent > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* Einheitliche Button-Höhe */
    height: 40px !important;
    padding: 0 12px !important;

    /* Textverhalten */
    white-space: nowrap !important;
    line-height: 1 !important;
  }
}


