.tz_form_box span[id*='_error'] {
  color:red;
}

.tz_form_box tr {
  border: none;
}

.tz_form_box .tz_form_buttons {
  margin: 12px 0px;
  display: flex;
  justify-content: flex-end;
}

.tz_form_buttons input:not(:last-child) {
  margin-right: 6px;
}

.tz_invisible {
  display: none;
}

.tz_msg_box
{
  display: none;
  padding: 4px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid gray;
  background-color: LightYellow;
  box-shadow: 3px 3px 3px gray;
  border-radius: 3px;
}

.tz_form_title_edit {
  display: flex;
  justify-content: space-between;
}

.tz_form_section {
  margin-bottom: 12px;
}

.tz-hint-list {
  margin: 4px 0 10px 18px;
  padding: 0;
  color: #555;
  font-size: 0.95em;
  list-style: disc;
}
.tz-hint-list li {
  margin-bottom: 2px;
}

/* Taizé-Gruppen-Seite: Einführung */
.tz-taize-info {
  margin: 0 0 20px 0;
  padding: 14px 18px;
  background: #f5f5f5;
  border-left: 4px solid #888;
  border-radius: 4px;
}
.tz-taize-info p {
  margin: 6px 0;
}
.tz-taize-info-hint {
  font-size: 0.95em;
  color: #555;
}

/* Alleinreisende-Seite */
.tz-taize-individuals-page .tz-individuals-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}
@media (max-width: 600px) {
  .tz-taize-individuals-page .tz-individuals-options {
    grid-template-columns: 1fr;
  }
}
.tz-individuals-option {
  padding: 14px 16px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}
.tz-individuals-option h3 {
  margin-top: 0;
}
.tz-individuals-link {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
}
.tz-individuals-hint {
  margin-top: 18px;
  font-size: 0.95em;
  color: #555;
}

/* ── Neue Seiten: Taizé & Łódź ─────────────────────────────── */

.tz-page {
  max-width: 900px;
}

/* Filter Bar */
.tz-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #f5f5f5;
  border-radius: 6px;
  align-items: center;
}

.tz-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tz-filter-label {
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-right: 4px;
}

.tz-filter-btn {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  color: #444;
  font-size: 0.88em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tz-filter-btn:hover {
  border-color: #888;
  color: #222;
  text-decoration: none;
}

.tz-filter-btn.tz-filter-active {
  background: #3d6b8e;
  border-color: #3d6b8e;
  color: #fff;
}

.tz-filter-search {
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  color: #444;
  font-size: 0.88em;
  min-width: 160px;
}

.tz-filter-search:focus {
  outline: none;
  border-color: #3d6b8e;
}

/* Trip card grid */
.tz-trip-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.tz-trip-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}

/* display:none statt opacity/visibility, damit die Kachel aus dem Grid-Flow
   fällt und die sichtbaren Kacheln lückenlos nach oben links nachrücken. */
.tz-trip-card.tz-hidden {
  display: none;
}

.tz-trip-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tz-trip-date-badge {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3d6b8e;
  margin-bottom: 8px;
}

.tz-trip-title {
  font-size: 1.05em;
  margin: 0 0 8px;
}

.tz-trip-title a {
  color: #222;
  text-decoration: none;
}

.tz-trip-title a:hover {
  color: #3d6b8e;
}

.tz-trip-excerpt {
  font-size: 0.88em;
  color: #555;
  flex-grow: 1;
  margin-bottom: 12px;
}

.tz-trip-more {
  font-size: 0.85em;
  color: #3d6b8e;
  text-decoration: none;
  font-weight: 600;
}

.tz-trip-more:hover {
  text-decoration: underline;
}

.tz-trip-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.tz-trip-revision {
  font-size: 0.8em;
  color: #888;
  text-decoration: none;
}

.tz-trip-revision:hover {
  color: #555;
  text-decoration: underline;
}

/* Revisions-Button "Eintrag überarbeiten" auf einem Einzelbeitrag dezent */
#tz_revision_expand {
  font-weight: normal;
  font-size: 0.9em;
  padding: 6px 14px;
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
#tz_revision_expand:hover {
  background: #e8e8e8;
  border-color: #aaa;
}

.tz-no-trips {
  color: #888;
  font-style: italic;
  grid-column: 1 / -1;
}

/* Łódź badges */
.tz-lodz-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tz-badge {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 3px;
}

.tz-badge-arrival {
  background: #e8f0d8;
  color: #4a6b1e;
}

.tz-badge-region {
  background: #dde9f5;
  color: #2a4e78;
}

/* Add-entry button */
.tz-add-entry-section {
  margin-top: 8px;
  margin-bottom: 24px;
}

.tz-add-entry-btn {
  padding: 10px 22px;
  background: #3d6b8e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.tz-add-entry-btn:hover,
.tz-add-entry-btn.tz-btn-open {
  background: #2c4f6a;
}

/* Form wrapper */
.tz-form-wrapper {
  margin-top: 20px;
}

.tz-taize-form-box,
.tz-lodz-form-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 24px;
  background: #fafafa;
}

.tz-taize-form-box h3,
.tz-lodz-form-box h3 {
  margin-top: 0;
  font-size: 1em;
  font-weight: 700;
  color: #3d6b8e;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.tz-taize-form-box textarea,
.tz-lodz-form-box textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.tz-field-error {
  color: red;
  font-size: 0.88em;
}

.tz-radio-label {
  display: block;
  margin-bottom: 4px;
  cursor: pointer;
}

/* Łódź info block */
.tz-lodz-info {
  background: linear-gradient(135deg, #eef4fb, #f7f0e8);
  border-left: 4px solid #3d6b8e;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.tz-lodz-info h2 {
  margin-top: 0;
  color: #2c4f6a;
}

.tz-lodz-info p {
  margin-bottom: 8px;
  color: #333;
}
