/* =========================================================
   🎨 EVO Frontend Styles – vereinheitlichte Version
   Struktur:
   1. Farbvariablen
   2. Global Layout
   3. Event Overview
   4. Event Single
   5. Event Formulare (Submit/Edit)
   6. Dashboard
   7. Notices & Hilfs-Elemente
   ========================================================= */


/* ===================================
   1️⃣ Farbvariablen
   =================================== */
:root {
  --evo-primary: #DA8366;      /* Kupfer – Buttons, Akzente */
  --evo-secondary: #0A3345;    /* Dunkelblau – Hover, Text */
  --evo-bg: #FFFFFF;           /* Weiß – Flächen */
  --evo-text: var(--evo-secondary);
  --evo-success: #2e7d32;
  --evo-error: #c62828;
  --evo-warning: #ffb74d;
}


/* ===================================
   2️⃣ Global Layout & Buttons
   =================================== */

body {
  color: var(--evo-text);
}

.evo-btn,
.evo-back-btn,
.evo-dashboard .button,
.evo-event-form button,
.evo-event-form input[type="submit"],
.evo-edit-form .evo-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--evo-primary);
  color: var(--evo-btn-text) !important;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-weight: 500;
}

.evo-btn:hover,
.evo-back-btn:hover,
.evo-dashboard .button:hover,
.evo-event-form button:hover,
.evo-event-form input[type="submit"]:hover,
.evo-edit-form .evo-actions .button:hover {
  background: var(--evo-secondary);
  color: var(--evo-btn-text) !important;
}

.evo-dashboard .button-danger {
  background: #b53d3d;
}
.evo-dashboard .button-danger:hover {
  background: #8f2f2f;
}


/* ===================================
   3️⃣ Event Overview (überarbeitet nach Screenshot 1)
   =================================== */

.evo-events-overview {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--evo-bg);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.evo-events-overview h2 {
  color: var(--evo-secondary);
  margin-bottom: 1.2rem;
}

/* Karten */
.evo-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.evo-event-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 15px;
  background: var(--evo-bg);
  color: var(--evo-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: box-shadow .2s ease-in-out, background .2s ease;
}

.evo-event-card:hover {
  background: rgba(218,131,102,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}



/* Thumbnails */
.evo-event-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.evo-event-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background-color: #f3f3f3;
  border-radius: 6px;
}

/* Fotozähler */
.evo-photo-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: var(--evo-secondary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: .78rem;
}

/* TOP-Badge */
.evo-badge-top {
  background: var(--evo-top);
  color: #000;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  margin-left: 8px;
  font-weight: 600;
}

/* Buttons */
.evo-btn {
  display: inline-block;
  background: var(--evo-primary) !important;
  color: var(--evo-btn-text) !important;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: background .2s ease, filter .2s ease;
}

.evo-btn-secondary {
  display: inline-block;
  background: var(--evo-secondary) !important;
  color: var(--evo-btn-text) !important;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: background .2s ease, filter .2s ease;
}

.evo-btn:hover {
  background: var(--evo-secondary) !important;
  color: var(--evo-btn-text);
}

/* Links und Text */
.evo-link,
.evo-event-organizer a,
.evo-social-links a,
.evo-event-meta p a {
  color: var(--evo-primary);
  text-decoration: none;
}

.evo-link:hover,
.evo-event-organizer a:hover,
.evo-social-links a:hover,
.evo-event-meta p a:hover {
  text-decoration: underline;
}

.evo-social-links ul {
  list-style: none;
  padding-left: 0;
}
.evo-social-links li {
  margin-bottom: 4px;
}

.evo-event-price {
  margin-top: 5px;
  font-weight: 500;
  color: var(--evo-text);
}


/* ===================================
   ✨ EVO Overview Optimierung 2025
   =================================== */

/* 1️⃣ Abstand zwischen Filterbereich und Eventkarten */
.evo-filter-info {
  margin-bottom: 30px; /* mehr Luft zum Eventbereich */
}


/* 2️⃣ Karten kompakter & harmonischer */
.evo-event-card {
  padding: 14px;
  gap: 6px;
  border-radius: 10px;
}

.evo-event-card h3 {
  font-size: 1.15rem;
  margin-top: 8px;
  margin-bottom: 4px;
  color: var(--evo-primary);
}

.evo-event-card p {
  margin: 2px 0;
  line-height: 1.4;
}

/* 3️⃣ Preis sichtbarer unter Beschreibung */
.evo-event-price {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--evo-primary);
  font-size: 1.05rem;
}

/* Veranstalter-Stil */
.evo-event-organizer {
  font-size: 0.95rem;
  color: var(--evo-secondary);
  margin-top: 0.4rem;
}

.evo-event-organizer strong {
  color: var(--evo-primary);
}

/* Button etwas kompakter */
.evo-event-card .evo-btn {
  margin-top: 10px;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}



/* ===================================
   4️⃣ Event Single Page
   =================================== */

.evo-event-single {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--evo-bg);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.evo-event-single h2 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--evo-secondary);
}

.evo-event-single .evo-badge-top {
  background: var(--evo-primary);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.evo-event-description {
  margin-top: 1.5rem;
  line-height: 1.6;
}


/* ===================================
   5️⃣ Event Formulare (Submit/Edit)
   =================================== */

/* ===================================
   ✨ EVO Form Optimierung 2025
   =================================== */

.evo-event-form {
  background: #fff;
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.evo-event-form h3 {
  font-size: 1.2rem;
  color: var(--evo-secondary);
  background: rgba(218,131,102,0.08);
  padding: 0.6rem 1rem;
  border-left: 4px solid var(--evo-primary);
  border-radius: 6px;
  margin-top: 2rem;
}

/* Gruppierung der Felder */
.evo-event-form .evo-field-group {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 1.5rem;
}

.evo-event-form label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
  color: var(--evo-secondary);
}

.evo-event-form input,
.evo-event-form select,
.evo-event-form textarea {
  margin-bottom: 1rem;
}

.evo-event-form input[type="file"] {
  background: #fff;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Buttons */
.evo-event-form input[type="submit"] {
  margin-top: 1rem;
  width: 100%;
  font-size: 1.05rem;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--evo-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: background 0.25s ease;
}
.evo-event-form input[type="submit"]:hover {
  background: var(--evo-secondary);
}

/* Responsive Verbesserungen */
@media (max-width: 768px) {
  .evo-event-form {
    padding: 1.5rem;
  }
  .evo-event-form .evo-date-grid {
    grid-template-columns: 1fr 1fr;
  }
}



/* ===================================
   6️⃣ Dashboard
   =================================== */

.evo-dashboard {
  max-width: 1000px;
  margin: -2rem auto;
}

.evo-dashboard h2 {
  color: var(--evo-secondary);
  font-size: 1.6rem;
  border-bottom: 2px solid var(--evo-primary);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}

.evo-table {
  width: 100%;
  border-collapse: collapse;
    }

.evo-table th,
.evo-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  
}

.evo-table th {
  background: var(--evo-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding-top: 1.0rem !important;
  padding-bottom: 1.0rem !important;
  padding-left: 1.0rem !important;
}

.evo-events-table th:last-child {
  text-align: center !important;
}

.evo-table tbody tr:first-child td {
  padding-top: 1.5rem !important; /* zusätzlicher Abstand zum Header */
}

.evo-events-table td:nth-child(5) {
  vertical-align: middle;
}

.evo-table tr:hover td {
  background: #fafafa;
}

.evo-table td:last-child {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}


/* ===================================
   7️⃣ Notices & Hilfs-Elemente
   =================================== */

.evo-notice,
.evo-notice-success,
.evo-notice-error {
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  border-left: 5px solid transparent;
}

.evo-notice.success,
.evo-notice-success {
  background: #e8f5e9;
  border-left-color: var(--evo-success);
  color: #1b5e20;
}

.evo-notice.warn {
  background: #fff6e5;
  border-left-color: var(--evo-warning);
  color: #8a6d00;
}

.evo-notice.error,
.evo-notice-error {
  background: #ffebee;
  border-left-color: var(--evo-error);
  color: #7b1f1f;
}


/* =====================================================
   🧩 EVO Bearbeitungsformular – gleiche Styles wie .evo-event-form
   ===================================================== */

.evo-form {
  max-width: 900px;
  margin: 2rem auto;
  background: var(--evo-bg);
  padding: 2rem 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.evo-form h3 {
  font-size: 1.25rem;
  color: var(--evo-secondary);
  border-bottom: 2px solid var(--evo-primary);
  padding-bottom: 6px;
  margin: 24px 0 12px;
}

.evo-form label {
  font-weight: 600;
  color: var(--evo-secondary);
}

.evo-form input[type="text"],
.evo-form input[type="email"],
.evo-form input[type="number"],
.evo-form input[type="url"],
.evo-form input[type="date"],
.evo-form input[type="time"],
.evo-form textarea,
.evo-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #222;
  box-sizing: border-box;
}

.evo-form textarea {
  min-height: 120px;
}

.evo-form .evo-btn,
.evo-form .evo-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 140px;
  height: 42px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  background: var(--evo-primary);
  color: var(--evo-btn-text) !important;
  transition: background .2s ease;
  text-decoration: none;
}

.evo-form .evo-btn:hover {
  background: var(--evo-secondary);
}

.evo-form .evo-btn-secondary {
  background: var(--evo-secondary);
  color: var(--evo-btn-text) !important;
}

.evo-form .evo-btn-secondary:hover {
  background: var(--evo-primary);
}

/* Bildbereich vereinheitlichen */
.evo-form .evo-image-thumb img {
  border: 2px solid transparent;
  border-radius: 6px;
}
.evo-form .evo-image-thumb.active img {
  border-color: var(--evo-primary);
}


/* ===================================
   🔘 Radiobuttons & ☑️ Checkbox Styling
   =================================== */

/* Gruppe: Event-Typ (Radio Buttons) */
.evo-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.8rem;
}

.evo-radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--evo-secondary);
  cursor: pointer;
}

.evo-radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--evo-primary);
}

/* Datenschutz Checkbox */
.evo-datenschutz {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(218,131,102,0.06);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
}

.evo-datenschutz input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--evo-primary);
  flex-shrink: 0;
}

.evo-datenschutz label {
  line-height: 1.5;
  color: var(--evo-secondary);
  font-weight: 500;
  cursor: pointer;
}



/* ===================================
   ✨ EVO Overview Feinschliff – Januar 2025
   =================================== */

/* 1️⃣ Mehr Weißraum über den Event-Karten */
.evo-filter-note {
  margin-bottom: 2.5rem !important;
}

/* 2️⃣ Eventtitel größer & kein Hover mehr */
.evo-event-card h3.evo-link {
  font-size: 1.3rem;
  color: var(--evo-primary);
  margin: 0.5rem 0 0.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: none;
}

.evo-event-card h3.evo-link:hover {
  color: var(--evo-primary);
  text-decoration: none;
  cursor: default;
}

/* 3️⃣ Preis sichtbarer, rechtsbündig & größer */
.evo-event-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--evo-secondary);
  text-align: right;
  margin-top: 0.5rem;
}

/* Optional: etwas mehr Luft zum Button */
.evo-event-card .evo-btn {
  margin-top: 0.8rem;
}

/* 4️⃣ Eventkarten etwas kompakter */
.evo-event-card {
  padding: 16px;
  border-radius: 10px;
  gap: 8px;
}


/* ===================================
   🧱 EVO Eventkarten – Button bündig unten
   =================================== */


.evo-event-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 15px;
  background: var(--evo-bg);
  box-sizing: border-box;
}

/* Bereich oberhalb des Buttons (Text/Infos) */
.evo-event-card > *:not(.evo-btn) {
  margin-bottom: 0.4rem;
}

/* Button-Container bündig unten */
.evo-event-card .evo-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--evo-primary);
  color: #fff !important;
  font-weight: 600;
  text-align: center;
  padding: 0.8rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.evo-event-card .evo-btn:hover {
  background: var(--evo-secondary);
}


/* 📸 Dropzone UND sichtbares Feld kombinieren */
.evo-upload-dropzone {
  text-align: center;
  border: 2px dashed var(--evo-primary);
  border-radius: 10px;
  padding: 1.5rem;
  background: #fafafa;
  transition: all 0.3s ease;
}

.evo-upload-dropzone:hover {
  background: rgba(218,131,102,0.06);
}

.evo-upload-dropzone label {
  display: block;
  font-weight: 600;
  color: var(--evo-secondary);
  margin-bottom: 0.5rem;
}

.evo-upload-dropzone input[type="file"] {
  display: block !important;
  margin: 0.5rem auto 0;
  cursor: pointer;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  width: 80%;
  max-width: 320px;
}


/* ===================================
   📱 EVO Dashboard Tabelle – responsive
   =================================== */

/* Desktop bleibt wie gehabt */
.evo-events-table {
  width: 100%;
  border-collapse: collapse;
}

.evo-events-table th,
.evo-events-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: middle;
}

/* -----------------------------------
   Mobile Ansicht
----------------------------------- */
@media (max-width: 900px) {
  .evo-events-table thead {
    display: none;
  }

  .evo-events-table,
  .evo-events-table tbody,
  .evo-events-table tr,
  .evo-events-table td {
    display: block;
    width: 100%;
  }

  .evo-events-table tr {
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .evo-events-table td {
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.95rem;
  }

  .evo-events-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--evo-secondary);
  }

  .evo-events-table td img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
  }

  .evo-events-table td:last-child {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    margin-top: 0.6rem;
  }

  .evo-events-table td:last-child a {
    display: block;
    width: 100%;
    text-align: center;
  }
}






/* ===================================
   📱 EVO Filter Responsive Feinschliff – Final 2025
   =================================== */
@media (max-width: 900px) {

  /* Formular kompakter */
  .evo-filter-form {
    gap: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  /* Zeilen untereinander */
  .evo-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  /* Eingabefelder kompakt */
  .evo-filter-form input[type="text"],
  .evo-filter-form input[type="date"],
  .evo-filter-form select {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box;
  }

  /* 📅 Datum – Label über Input */
  .evo-filter-form .date-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .evo-filter-form .date-group label {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.2rem;
  }

  .evo-filter-form .date-group input[type="date"] {
    width: 100%;
  }

  /* Buttons untereinander & zentriert */
  .evo-filter-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .evo-filter-actions .evo-btn,
  .evo-filter-actions .reset {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
  }

  /* Hinweistext */
  .evo-filter-note,
  .evo-filter-info {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
}

/* 🪄 Kleiner Abstand über dem "Von"-Label */
.evo-filter-form .date-group label:first-of-type {
  margin-top: 0.4rem;
}


/* ===================================
   🧩 EVO Eventkarten – Gleichmäßige Höhe & bündiger Preis
   =================================== */
.evo-event-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.evo-event-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.evo-event-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.evo-event-desc {
  min-height: 3.2rem;
  line-height: 1.4;
}

.evo-event-price {
  margin-top: auto;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--evo-secondary);
  text-align: right;
  min-height: 1.8rem;
}

.evo-event-card .evo-btn {
  margin-top: 0.8rem;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}

/* ===================================
   ✨ EVO Eventkarten – mehr Abstand unter Ausführungsort
   =================================== */
.evo-event-location {
  margin-bottom: 1.2rem !important;
}

.evo-login-notice {
  background: linear-gradient(135deg, #DA8366, #0A3345);
  color: #fff !important;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 15px;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 4rem auto;
  font-family: 'Poppins', sans-serif;
}

.evo-login-notice a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: underline;
}

.evo-login-notice a:hover {
  color: #DA8366 !important;
  text-decoration: none;
}

.evo-login-notice::after {
  content: " Nur eingeloggte Nutzer können ihr Event später verwalten, bearbeiten oder löschen.";
  display: block;
  margin-top: 1.2rem;
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.9;
  color: #fff;
}

.evo-dashboard-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.evo-dashboard-actions .evo-btn {
  background: var(--evo-primary, #DA8366);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s ease;
}

.evo-dashboard-actions .evo-btn:hover {
  filter: brightness(0.9);
}

/* 🩹 EVO Mobile Fix – Submit-Button klickbar */
@media (max-width: 768px) {
  .evo-step-actions {
    position: relative;
    z-index: 20;            /* hebt Buttons über überlagernde Elemente */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .evo-step-actions button {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .evo-form,
  .evo-single-preview {
    overflow: visible !important; /* verhindert Touch-Blockade */
  }

  /* Optional etwas Luft unterhalb der Vorschau */
  .evo-single-preview {
    padding-bottom: 2.5rem;
  }
}

/* 🖼️ Upload-Hinweis im Dropzone */
.evo-upload-hint {
  display: block;
  margin-top: 0.4rem;
  color: var(--evo-secondary);
  font-size: 0.9rem;
  opacity: 0.85;
}

/* 📌 Tipp unterhalb des Upload-Felds */
.evo-upload-tip {
  margin-top: 0.8rem;
  background: rgba(218,131,102,0.05);
  border-left: 3px solid var(--evo-primary);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--evo-secondary);
}
.evo-upload-tip strong,
.evo-upload-hint strong {
  color: var(--evo-primary);
}

#featured-helper {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  background: rgba(10, 51, 69, 0.05);
  padding: 0.6rem 1rem;
  border-left: 3px solid var(--evo-secondary);
  border-radius: 6px;
}
#featured-helper em {
  font-style: normal;
}

/* ===========================
   🎯 EVO Status Dots
   =========================== */

.evo-status-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  cursor: help;
  transition: transform .2s ease;
}

/* Tooltip Standard */
.evo-status-dot::after {
  content: attr(title);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #0A3345;
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.evo-status-dot:hover::after {
  opacity: 1;
  transform: translate(-50%, -4px);
}

/* Statusfarben */
.evo-status-draft { background: #888; }
.evo-status-pending_payment { background: var(--evo-secondary); }   /* Dunkelblau */
.evo-status-pending { background: var(--evo-primary); }              /* Kupfer */
.evo-status-published { background: #D6B326; }                       /* Goldgelb */
.evo-status-deleted { background: #c62828; }                         /* Rot */
.evo-status-edit_request { background: #FFB74D; }                    /* Orange */

/* Hover leicht größer */
.evo-status-dot:hover {
  transform: scale(1.25);
}


.evo-status-legend {
  font-size: 0.9rem;
  color: var(--evo-secondary);
}

.evo-status-legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin-top: .4rem;
}


/* ======================================================
   🧭 EVO Responsive Status – Desktop = Dot, Mobile = Text
   ====================================================== */

/* 💻 Desktop */
.evo-status-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  cursor: help;
  transition: transform .2s ease;
}

/* Tooltip bei Hover (nur Desktop) */
.evo-status-dot::after {
  content: attr(title);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 51, 69, 0.95);
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.evo-status-dot:hover::after {
  opacity: 1;
  transform: translate(-50%, -4px);
}

/* Statusfarben */
.evo-status-draft { background: #888; }
.evo-status-pending_payment { background: var(--evo-secondary); }
.evo-status-pending { background: var(--evo-primary); }
.evo-status-published { background: #D6B326; }
.evo-status-deleted { background: #c62828; }
.evo-status-edit_request { background: #FFB74D; }

/* Hover leicht größer */
.evo-status-dot:hover { transform: scale(1.25); }

/* 📱 Mobile/Tablet – nur Text */
@media (max-width: 900px) {
  .evo-status-dot {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    cursor: default;
  }

  .evo-status-dot::after {
    display: none !important; /* Tooltip aus */
  }

  .evo-status-dot::before {
    content: attr(title);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--evo-secondary);
  }
}

/* ======================================================
   📱 EVO Mobile – Status-Text wirklich rechtsbündig
   ====================================================== */
@media (max-width: 900px) {
  /* Tooltip deaktivieren */
  .evo-status-dot::after {
    display: none !important;
  }

  /* Woo zerlegt Tabellenzellen, daher müssen wir den Inhalt separat ausrichten */
  .woocommerce-MyAccount-content .evo-events-table td[data-label="Status"] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    text-align: right !important;
    gap: 6px;
    flex-wrap: nowrap;
  }

  /* Der Punkt bleibt links vom Text */
  .evo-status-dot {
    order: 1;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: auto; /* schiebt Punkt leicht nach rechts */
  }

  /* Text rechtsbündig, bleibt aber in derselben Zeile */
  .evo-status-dot::before {
    content: attr(title);
    order: 2;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--evo-secondary);
    text-align: right;
    white-space: nowrap;
  }
}

.woocommerce-order .product-name small {
  color: var(--evo-secondary);
  font-size: 0.85rem;
  line-height: 1.3;
}

.woocommerce-cart .cart_item .woocommerce-cart-item__meta,
.woocommerce-checkout-review-order-table td .woocommerce-cart-item__meta {
  font-size: 0.9rem;
  color: var(--evo-secondary);
  margin-top: 4px;
}

.evo-status-note {
  background: rgba(10,51,69,0.05);
  border-left: 3px solid var(--evo-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--evo-secondary);
  font-size: 0.85rem;
}

/* ===================================================
   🧩 EVO – Deaktivierter Button mit Tooltip & Mobile Text
   =================================================== */
.evo-btn-disabled {
  background: #cfcfcf !important;
  color: #666 !important;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
  border: none;
  opacity: 0.9;
  font-weight: 600;
}

/* 💻 Tooltip (Desktop) */
.evo-btn-disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 51, 69, 0.95);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.evo-btn-disabled:hover::after {
  opacity: 1;
  transform: translate(-50%, -4px);
}

/* 📱 Mobile/Tablet – Kein Tooltip, stattdessen Text darunter */
@media (max-width: 900px) {
  .evo-btn-disabled[data-tooltip]::after {
    display: none; /* Tooltip ausblenden */
  }

  .evo-btn-disabled::before {
    content: "Bearbeitung gesperrt (Zahlung offen)";
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    text-align: center;
  }

  /* Entferne das Wort „Bearbeiten“ im Button selbst */
  .evo-btn-disabled {
    font-size: 0; /* Text im Button verstecken */
  }

  .evo-btn-disabled::after {
    content: " ";
  }
}

/* ===========================================
   🎨 EVO Hinweis – Bearbeitung gesperrt (zentriert)
   =========================================== */
.evo-dashboard-blocked {
  max-width: 650px;
  margin: 4rem auto; /* zentriert + Abstand nach oben/unten */
  text-align: center;
  background: #fff;
  border: 2px solid rgba(10,51,69,0.1);
  border-left: 6px solid var(--evo-secondary);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.evo-dashboard-blocked h2 {
  color: var(--evo-primary);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}

.evo-dashboard-blocked p {
  color: #444;
  font-size: 1rem;
  margin: 0.6rem 0;
  line-height: 1.5;
}

.evo-dashboard-blocked .evo-btn-secondary {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}


/* ================================================
   🎨 EVO Dashboard Buttons – Links & Rechts Layout
   ================================================ */
.evo-dashboard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  gap: 10px;
}

.evo-btn-left {
  order: 1;
}

.evo-btn-right {
  order: 2;
}

/* 📱 Mobile: Buttons untereinander zentriert */
@media (max-width: 768px) {
  .evo-dashboard-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .evo-dashboard-actions a {
    width: 100%;
    text-align: center;
  }
}

/* === EVO Dashboard: klickbare Bild- & Titel-Links === */
.evo-events-table td.evo-td-image .evo-event-thumb {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 0;            
  overflow: hidden;
  background: #f5f5f5;
}

.evo-events-table td.evo-td-image .evo-event-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Titel-Link ohne Unterstreichung, übernimmt Textfarbe */
.evo-events-table td.evo-td-title .evo-event-title {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  line-height: 1.3;
}

/* Dezente Hover-States */
.evo-events-table td.evo-td-image .evo-event-thumb:hover img {
  transform: scale(1.02);
}
.evo-events-table td.evo-td-image .evo-event-thumb img {
  transition: transform .2s ease;
}

.evo-location-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
@media (max-width: 480px){
  .evo-location-grid { grid-template-columns: 1fr; }
}

/* === EVO Formular: PLZ & Ort nebeneinander === */
.evo-location-fields {
  margin-top: 1.2rem; /* etwas mehr Luft zum Datum */
}

.evo-location-grid {
  display: grid;
  grid-template-columns: 130px 1fr; /* PLZ + Ort nebeneinander */
  gap: 12px;
  align-items: end;
}

@media (max-width: 600px) {
  .evo-location-grid {
    grid-template-columns: 1fr; /* mobil untereinander */
  }
}

/* === EVO Edit: PLZ & Ort nebeneinander === */
.evo-location-edit {
  margin-top: 1rem;
}

.evo-location-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: end;
}

@media (max-width: 600px) {
  .evo-location-grid {
    grid-template-columns: 1fr;
  }
}

.evo-filter-form input[name="plz"],
.evo-filter-form input[name="ort"] {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* === EVO Filterlayout – klar gegliedert === */
.evo-filter-form {
  background: #f8f6f5;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.evo-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.evo-filter-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
}

.evo-filter-col.small { flex: 0 0 130px; }
.evo-filter-col.medium { flex: 1 1 200px; }
.evo-filter-col.wide { flex: 2 1 400px; }

.evo-filter-col label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--evo-secondary);
}

.evo-filter-form input,
.evo-filter-form select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--evo-text);
  background: #fff;
}

.evo-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.evo-filter-row.actions {
  align-items: flex-end;
}

.evo-btn.reset {
  background: #aaa;
  color: #fff;
}

@media (max-width: 700px) {
  .evo-filter-row {
    flex-direction: column;
  }
  .evo-filter-actions {
    justify-content: flex-start;
  }
}

/* === EVO Filter: visuelles Finetuning === */
.evo-filter-form {
  background: #f8f6f5;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.evo-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.evo-filter-col label {
  font-weight: 600;
  color: var(--evo-secondary);
  margin-bottom: 0.3rem;
}

/* Buttons optisch gleich */
.evo-filter-actions .evo-btn,
.evo-filter-actions .reset {
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.evo-filter-actions .evo-btn {
  background: var(--evo-primary);
  color: #fff !important;
}

.evo-filter-actions .reset {
  background: var(--evo-secondary);
  color: #fff !important;
}

.evo-filter-actions .evo-btn:hover {
  background: var(--evo-secondary);
}

.evo-filter-actions .reset:hover {
  background: var(--evo-primary);
}

/* Abstand zwischen Zeilen */
.evo-filter-row.actions {
  align-items: flex-end;
  margin-top: 0.8rem;
}


/* === 🧭 EVO Filter FINAL – Gleichmäßige Breite & einheitliche Felder === */
.evo-filter-form {
  background: #f8f6f5;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Grid-basierte Struktur für gleichmäßige Breite */
.evo-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.evo-filter-col {
  display: flex;
  flex-direction: column;
}

.evo-filter-col label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--evo-secondary);
}

/* Alle Felder im gleichen Stil */
.evo-filter-form input[type="text"],
.evo-filter-form input[type="date"],
.evo-filter-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* Fokuszustand Kupferfarben */
.evo-filter-form input:focus,
.evo-filter-form select:focus {
  outline: none;
  border-color: var(--evo-primary);
  box-shadow: 0 0 0 2px rgba(218,131,102,0.2);
}

/* Buttons */
.evo-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.evo-filter-actions .evo-btn,
.evo-filter-actions .reset {
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .25s ease;
}

.evo-filter-actions .evo-btn {
  background: var(--evo-primary);
  color: #fff !important;
  border: none;
}

.evo-filter-actions .evo-btn:hover {
  background: var(--evo-secondary);
}

.evo-filter-actions .reset {
  background: var(--evo-secondary);
  color: #fff !important;
  border: none;
}

.evo-filter-actions .reset:hover {
  background: var(--evo-primary);
}

/* Mobile */
@media (max-width: 700px) {
  .evo-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* === 🎯 EVO Filter FINAL 2025 – Gleichmäßige Felder & Suchfeld in voller Breite === */
.evo-filter-form {
  background: #f8f6f5;
  padding: 1.8rem 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* --- Zeilenstruktur --- */

/* Zeile 1 & 2: 3 gleich große Spalten */
.evo-filter-row:not(.actions) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.2rem;
  align-items: end;
}

/* Zeile 3 (Suche + Buttons) */
.evo-filter-row.actions {
  display: grid;
  grid-template-columns: 1fr auto auto; /* Suche groß, Buttons schmal */
  gap: 1rem;
  align-items: end;
}

/* --- Spalten & Labels --- */
.evo-filter-col {
  display: flex;
  flex-direction: column;
}
.evo-filter-col label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--evo-secondary);
  margin-bottom: 4px;
}

/* --- Einheitlicher Feldstil --- */
.evo-filter-form input[type="text"],
.evo-filter-form input[type="date"],
.evo-filter-form select {
  width: 100%;
  height: 44px;
  padding: 0 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.evo-filter-form input:focus,
.evo-filter-form select:focus {
  outline: none;
  border-color: var(--evo-primary);
  box-shadow: 0 0 0 2px rgba(218,131,102,0.2);
}

/* --- Buttons --- */
.evo-filter-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}
.evo-filter-actions .evo-btn,
.evo-filter-actions .reset {
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background .25s ease;
}
.evo-filter-actions .evo-btn {
  background: var(--evo-primary);
  color: #fff !important;
}
.evo-filter-actions .evo-btn:hover { background: var(--evo-secondary); }

.evo-filter-actions .reset {
  background: var(--evo-secondary);
  color: #fff !important;
}
.evo-filter-actions .reset:hover { background: var(--evo-primary); }

/* --- Responsive (untereinander auf kleineren Screens) --- */
@media (max-width: 900px) {
  .evo-filter-row:not(.actions),
  .evo-filter-row.actions {
    grid-template-columns: 1fr;
  }
  .evo-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* === 🧭 EVO Filter – finale, stabile Version 2025 === */
.evo-filter-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #f8f6f5;
  padding: 1.8rem 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

/* 🟤 Zeile 1 & 2 → 3 Spalten */
.evo-filter-row:nth-of-type(1),
.evo-filter-row:nth-of-type(2) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.2rem;
  align-items: end;
}

/* 🟤 Zeile 3 → Suchfeld + Buttons nebeneinander */
.evo-filter-row.actions {
  display: grid;
  grid-template-columns: 1fr auto auto; /* Suche groß, Buttons kompakt */
  gap: 1rem;
  align-items: end;
}

/* --- Spalten & Labels --- */
.evo-filter-col {
  display: flex;
  flex-direction: column;
}

.evo-filter-col label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--evo-secondary);
  margin-bottom: 4px;
}

/* --- Einheitliche Felder --- */
.evo-filter-form input[type="text"],
.evo-filter-form input[type="date"],
.evo-filter-form select {
  width: 100%;
  height: 44px;
  padding: 0 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* Fokus-Kupfer */
.evo-filter-form input:focus,
.evo-filter-form select:focus {
  border-color: var(--evo-primary);
  box-shadow: 0 0 0 2px rgba(218,131,102,0.25);
  outline: none;
}

/* --- Buttons --- */
.evo-filter-actions {
  display: contents; /* Buttons direkt ins Grid übernehmen */
}

.evo-filter-actions .evo-btn,
.evo-filter-actions .reset {
  height: 44px;
  padding: 0 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background .25s ease;
  white-space: nowrap;
}

.evo-filter-actions .evo-btn {
  background: var(--evo-primary);
  color: #fff !important;
}
.evo-filter-actions .evo-btn:hover { background: var(--evo-secondary); }

.evo-filter-actions .reset {
  background: var(--evo-secondary);
  color: #fff !important;
}
.evo-filter-actions .reset:hover { background: var(--evo-primary); }

/* --- Mobile Ansicht --- */
@media (max-width: 800px) {
  .evo-filter-row:nth-of-type(1),
  .evo-filter-row:nth-of-type(2),
  .evo-filter-row.actions {
    grid-template-columns: 1fr;
  }
  .evo-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }
  .evo-filter-actions .evo-btn,
  .evo-filter-actions .reset {
    width: 100%;
  }
}

/* === 💎 EVO Filter – finale harmonische Variante === */
.evo-filter-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #f8f6f5;
  padding: 1.8rem 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* --- Zeile 1 & 2: 3 gleich große Spalten --- */
.evo-filter-row:not(.actions) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* drei gleich große Spalten */
  gap: 1.2rem;
  align-items: end;
}

/* --- Zeile 3: Suchfeld + Buttons rechts --- */
.evo-filter-row.actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: end;
}

/* --- Einheitliche Spaltenstruktur --- */
.evo-filter-col {
  display: flex;
  flex-direction: column;
}
.evo-filter-col label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--evo-secondary);
  margin-bottom: 4px;
}

/* --- Einheitliche Felder --- */
.evo-filter-form input[type="text"],
.evo-filter-form input[type="date"],
.evo-filter-form select {
  width: 100%;
  height: 46px;
  padding: 0 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.evo-filter-form input:focus,
.evo-filter-form select:focus {
  outline: none;
  border-color: var(--evo-primary);
  box-shadow: 0 0 0 2px rgba(218,131,102,0.25);
}

/* --- Buttons --- */
.evo-filter-actions {
  display: contents; /* Buttons ins Grid integrieren */
}

.evo-filter-actions .evo-btn,
.evo-filter-actions .reset {
  height: 46px;
  padding: 0 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background .25s ease;
  white-space: nowrap;
}

.evo-filter-actions .evo-btn {
  background: var(--evo-primary);
  color: #fff !important;
}
.evo-filter-actions .evo-btn:hover { background: var(--evo-secondary); }

.evo-filter-actions .reset {
  background: var(--evo-secondary);
  color: #fff !important;
}
.evo-filter-actions .reset:hover { background: var(--evo-primary); }

/* --- Mobile Ansicht --- */
@media (max-width: 900px) {
  .evo-filter-row {
    grid-template-columns: 1fr !important;
  }
  .evo-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  .evo-filter-actions .evo-btn,
  .evo-filter-actions .reset {
    width: 100%;
  }
}

/* === 🧭 EVO Filter – Grid-Fix für gleichmäßige Spalten === */
.evo-filter-row.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.2rem;
  align-items: end;
}

.evo-filter-row.grid-search {
  display: grid;
  grid-template-columns: 1fr auto auto; /* Suche groß, Buttons rechts */
  gap: 1rem;
  align-items: end;
}

.evo-filter-col {
  display: flex;
  flex-direction: column;
}

.evo-filter-form input[type="text"],
.evo-filter-form input[type="date"],
.evo-filter-form select {
  width: 100%;
  height: 46px;
  padding: 0 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--evo-secondary);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.evo-filter-form input:focus,
.evo-filter-form select:focus {
  border-color: var(--evo-primary);
  box-shadow: 0 0 0 2px rgba(218,131,102,0.25);
  outline: none;
}

/* ============================================
   EVO Preview-Edit (bearbeiten im Warenkorb)
   nutzt das gleiche Design wie das Dashboard
   ============================================ */
.evo-edit-container{max-width:950px;margin:0 auto;padding:20px;}
.evo-edit-headline{font-size:1.8rem;color:var(--evo-primary);margin-bottom:.3em;}
.evo-edit-subtext{color:var(--evo-text);margin-bottom:1rem;}
.evo-edit-card{padding:20px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.05);}
.evo-edit-block{border:1px solid rgba(0,0,0,0.1);border-radius:8px;padding:15px;margin-top:1.5rem;background:#fff;}
.evo-edit-block h2{display:flex;justify-content:space-between;align-items:center;font-size:1.2rem;color:var(--evo-primary);}
.evo-edit-section input,
.evo-edit-section textarea,
.evo-edit-block input,
.evo-edit-block textarea,
.evo-edit-block select{
  width:100%;padding:8px;border:1px solid #ccc;border-radius:6px;
}
.evo-btn{background:var(--evo-primary);color:#fff;border:none;padding:8px 18px;border-radius:6px;cursor:pointer;}
.evo-btn-secondary{background:var(--evo-secondary);color:#fff;border:none;padding:8px 18px;border-radius:6px;text-decoration:none;}
.evo-actions-top,
.evo-actions-bottom{margin:2rem 0;text-align:left;}

.evo-event-thumb img { aspect-ratio: 16/9; object-fit: cover; width: 100%; height: auto; display:block; }

.evo-filter-form.compact {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.evo-filter-form.compact .evo-filter-row {
  display: grid;
  gap: 0.8rem;
}

.evo-filter-form.compact .grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.evo-filter-form.compact .grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.evo-filter-form.compact .grid-search {
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 0.6rem;
}

.evo-filter-form.compact label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--evo-text);
}

.evo-filter-form.compact input,
.evo-filter-form.compact select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.95rem;
}

.evo-filter-form.compact .evo-btn {
  padding: 8px 14px;
  font-size: 0.9rem;
  height: 36px;
}

.evo-filter-form.compact .evo-btn.reset {
  background: #ddd;
  color: #333;
}
.evo-filter-form.compact .evo-btn.reset:hover {
  background: #ccc;
}

@media (max-width: 768px) {
  .evo-filter-form.compact .grid-search {
    grid-template-columns: 1fr;
  }
  .evo-filter-form.compact button,
  .evo-filter-form.compact a.evo-btn {
    width: 100%;
  }
}



/* ================================
   📱 Mobile Filter Panel Behavior
   ================================ */

/* Grund-Zustand */
.evo-filter-wrapper {
  position: relative;
  width: 100%;
  transition: all 0.35s ease;
}

/* Geschlossen auf Mobil – unsichtbar + keine Klicks */
@media (max-width: 1024px) {
  .evo-filter-wrapper.closed-mobile {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }

  /* Geöffnet – klickbar + sichtbar */
  .evo-filter-wrapper.open-mobile {
    max-height: 2000px;
    opacity: 1;
    pointer-events: auto;
    z-index: 20;
  }
}

/* Desktop */
.evo-filter-wrapper.open-desktop {
  max-height: none;
  opacity: 1;
  pointer-events: auto;
}



.evo-no-event {
    color: var(--evo-bg);
}


/* =====================================
   🎨 EVO Filter-Toggle – Final & Clean
   ===================================== */

/* Grundstil (mobil ausgeblendet, Desktop unsichtbar) */
/* EVO mobile filter button – überschreibt Reset-CSS */
.evo-filter-toggle {
    background: var(--evo-secondary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background .25s ease, transform .2s ease;
    margin-bottom: 1.6rem !important;
}

/* Icon */
.evo-filter-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hover */
.evo-filter-toggle:hover {
    background: #062534 !important;
    transform: translateY(-1px);
}

/* Zustand beim Aufklappen */
.evo-filter-toggle[aria-expanded="true"] {
    background: var(--evo-primary) !important;
    color: #fff !important;
}

/* Kein rosa Fokus-Ring */
.evo-filter-toggle:focus,
.evo-filter-toggle:focus-visible,
.evo-filter-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Mobile sichtbar */
@media (max-width: 1024px) {
    .evo-filter-toggle {
        display: inline-flex !important;
    }
}

/* 🎯 EVO Filter – Buttons global einheitlich */
.evo-filter-form .evo-btn {
    background: var(--evo-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    height: 44px;
    padding: 0 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    transition: background 0.25s ease, transform 0.2s ease;
}

.evo-filter-form .evo-btn:hover {
    background: var(--evo-secondary) !important;
    transform: translateY(-1px);
}

/* Zurücksetzen */
.evo-filter-form .evo-btn.reset {
    background: var(--evo-secondary) !important;
    color: #fff !important;
}

.evo-filter-form .evo-btn.reset:hover {
    background: var(--evo-primary) !important;
    transform: translateY(-1px);
}

.evo-filter-note {
  margin-top: -0.3rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  opacity: .75;
  color: var(--evo-secondary);
}


/* ============================================
   ✨ EVO Filter – Variante A: Minimal & Clean
   ============================================ */

.evo-filter-form {
    background: #ffffff !important;
    padding: 1.2rem 1.4rem !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
}

/* Zeilen kompakt */
.evo-filter-row {
    display: grid !important;
    gap: 0.8rem !important;
    align-items: center !important;
}

/* Zeile 1 + 2 je 3 Spalten */
.evo-filter-row.grid-3,
.evo-filter-row.grid-4 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.evo-filter-row.grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Zeile 3: Suche + Buttons */
.evo-filter-row.grid-search {
    grid-template-columns: 1fr auto auto !important;
}

/* Labels minimal */
.evo-filter-form label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--evo-secondary) !important;
    margin-bottom: 2px !important;
}

/* Inputs */
.evo-filter-form input[type="text"],
.evo-filter-form input[type="date"],
.evo-filter-form select {
    height: 36px !important;
    border-radius: 6px !important;
    border: 1px solid #d8d8d8 !important;
    padding: 0 0.6rem !important;
    font-size: 0.88rem !important;
    background: #fdfdfd !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.evo-filter-form input:focus,
.evo-filter-form select:focus {
    border-color: var(--evo-primary) !important;
    box-shadow: 0 0 0 2px rgba(218,131,102,0.2) !important;
}

/* Buttons: leicht & minimal */
.evo-filter-actions .evo-btn,
.evo-filter-actions .reset,
.evo-filter-row.grid-search .evo-btn,
.evo-filter-row.grid-search .reset {
    height: 36px !important;
    padding: 0 1rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.evo-filter-actions .evo-btn,
.evo-filter-row.grid-search .evo-btn {
    background: var(--evo-primary) !important;
    color: #fff !important;
    border: none !important;
}

.evo-filter-actions .evo-btn:hover,
.evo-filter-row.grid-search .evo-btn:hover {
    background: var(--evo-secondary) !important;
}

.evo-filter-actions .reset,
.evo-filter-row.grid-search .reset {
    background: #d0d0d0 !important;
    color: #333 !important;
    border: none !important;
}

.evo-filter-actions .reset:hover,
.evo-filter-row.grid-search .reset:hover {
    background: #c2c2c2 !important;
}

/* Hinweis minimal + dezenter */
.evo-filter-note {
    font-size: 0.75rem !important;
    opacity: 0.6 !important;
    margin-top: -0.4rem !important;
    margin-bottom: 0.4rem !important;
}

/* Mobile: einspaltig */
@media (max-width: 900px) {
    .evo-filter-row.grid-3,
    .evo-filter-row.grid-4,
    .evo-filter-row.grid-search {
        grid-template-columns: 1fr !important;
    }

    .evo-filter-form {
        padding: 1rem !important;
    }

    .evo-filter-actions .evo-btn,
    .evo-filter-actions .reset {
        width: 100% !important;
    }
}

/* 📌 Hinweis direkt unter der PLZ/Ort/Land/Radius-Zeile */
.evo-filter-row.grid-4 {
    margin-bottom: 0.4rem !important; /* viel weniger Abstand */
}

.evo-filter-note {
    margin-top: -0.3rem !important;   /* leichter nach oben ziehen */
    margin-bottom: 0.6rem !important; /* etwas Luft nach unten */
    font-size: 0.75rem !important;
    opacity: 0.65 !important;
}

