/* פס עליון: דילוג לפי תאריך וחיפוש */

.forum-bydate-toolbar {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.forum-bydate-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.forum-bydate-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.forum-bydate-toolbar label {
  font-size: 0.9rem;
}

.forum-bydate-select {
  min-width: 90px;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
}

/* כפתור "דילוג" – בצבע זהה ל"חיפוש נושא" */
.forum-bydate-jump-btn {
  background-color: #F8E4AB;
  border-color: #F8E4AB;
  color: #000000;
}

.forum-bydate-jump-btn {
  background-color: #F8E4AB;
  border-color: #F8E4AB;
  color: #000000;
  cursor: pointer;           /* <— זה מה שהיה חסר בשביל היד */
}

.forum-bydate-range {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* רשימת השיחות */

.forum-bydate-list-section {
  margin-top: 1rem;
}

.forum-bydate-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.forum-bydate-item {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.forum-bydate-title-link {
  text-decoration: none;
}

.forum-bydate-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.forum-bydate-title-link:hover .forum-bydate-title {
  text-decoration: underline;
}

.forum-bydate-meta {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.forum-bydate-meta-sep {
  opacity: 0.75;
}

.forum-bydate-snippet {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #374151;
  margin: 0;
}

/* פאג'ינציה */

.forum-bydate-pagination {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;  /* במקום 2rem */
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
}


.forum-bydate-page-link,
.forum-bydate-ellipsis {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.forum-bydate-page-link {
  text-decoration: none;
  color: #374151;
  border: 1px solid transparent;
}

.forum-bydate-page-link.is-disabled {
  color: #9ca3af;
  border-color: transparent;
  cursor: default;
}

.forum-bydate-page-link.is-disabled:hover {
  background: none;
}

.forum-bydate-page-link:hover {
  border-color: #d1d5db;
  background-color: #f3f4f6;
}

.forum-bydate-page-link.is-current,
.forum-bydate-page-link.is-current:visited {
  background-color: #f97316; /* צבע "מותגי" מקומי – אפשר לכוון אם צריך */
  color: #ffffff;
  border-color: transparent;
  cursor: default;
}

.forum-bydate-ellipsis {
  color: #9ca3af;
}

/* התאמה למסכים קטנים */

@media (max-width: 768px) {
  .forum-bydate-toolbar {
    padding: 0.75rem 0.85rem;
  }

  .forum-bydate-toolbar-row {
    align-items: stretch;
  }

  .forum-bydate-search-link {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .forum-bydate-search-link .forum-btn {
    width: 100%;
    text-align: center;
  }

  .forum-bydate-jump {
    width: 100%;
  }
}
