/* ==============================
   Notdienstliste – Plugin-spezifische Styles
   (Gemeinsame Styles kommen aus ndb-shared)
   ============================== */

/* Page heading spacing – align title with table/content */
body.page h1:first-of-type {
  max-width: 1100px;
  margin: 30px auto 20px;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

/* ==============================
   Filter – Erweiterte Suche (Grid)
   ============================== */

.ndnl-filter {
  max-width: 100%;
  margin: 0 0 20px 0;
}

.ndnl-filter-fields {
  display: grid;
  grid-template-columns: 160px 220px 220px 120px 220px;
  gap: 12px;
  margin-bottom: 12px;
}

.ndnl-filter-fields input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  height: 40px;
}

.ndnl-filter-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ndnl-search {
  padding: 8px 18px;
  background: #1e73be;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.ndnl-search:hover {
  background: #155a8a;
}

.ndnl-reset {
  padding: 8px 18px;
  background: #e5e5e5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.ndnl-reset:hover {
  background: #d5d5d5;
}

/* Row colors for past / future entries */
.ndb-row-expired {
  background-color: #fff0f0 !important;
}

.ndb-row-upcoming {
  background-color: #f0f7ff !important;
}
