.nav-link {
   color: var(--primary-color);
}

.nav-link:hover {
   color: var(--focus-color);
}

@media screen and (max-width: 600px) {
  .mobile-hide {
    visibility: hidden;
    clear: both;
    float: left;
    margin: 10px auto 5px 20px;
    width: 28%;
    display: none;
  }
}

@media screen and (min-width: 601px) {
  .desktop-hide {
    visibility: hidden;
    clear: both;
    float: left;
    margin: 10px auto 5px 20px;
    width: 28%;
    display: none;
  }
}

.switcher-btn {
    font-size: 13px;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: gray;
    box-shadow: 1px 1px 5px -2px #888888;
}

.switcher-btn:focus {
    background-color: #80ABC0;
    border-color: #80ABC0;
}

.switcher-btn:hover {
    background-color: #80ABC0;
    border-color: #80ABC0;
}



@media screen and (min-width: 601px) {
  #row-housing {
    padding: 1rem;
  }
}

.time-box {
   min-width: 77px;
   display: inline-block;
}

/* Minyan filter bar */
.minyan-filter-bar {
  margin-bottom: 0.5rem;
}

/* Single scrollable row — no wrap on any screen */
.filter-scroll-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; /* room for focus rings */
  /* hide scrollbar but keep scrollability */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-scroll-row::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 2px solid #275ED8;
  background: transparent;
  color: #275ED8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.5;
  white-space: nowrap;
}

.filter-pill.active {
  background: #275ED8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(39, 94, 216, 0.3);
}

.filter-pill:hover:not(.active) {
  background: rgba(39, 94, 216, 0.08);
  color: #1F4BAC;
  border-color: #1F4BAC;
}

.filter-shul-select {
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  width: auto;
  min-width: 110px;
  max-width: 180px;
  border: 2px solid #275ED8;
  border-radius: 50px;
  color: #275ED8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 28px 4px 14px;
  background-color: transparent;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
  white-space: nowrap;
}

.filter-shul-select:focus {
  border-color: #1F4BAC;
  box-shadow: 0 0 0 0.15rem rgba(39, 94, 216, 0.2);
  outline: none;
}

#filter-empty-state {
  text-align: center;
}

/* Lock desktop table column widths so filtering doesn't cause reflow */
#minyan-table {
  table-layout: fixed;
  width: 100%;
}

#minyan-table th:nth-child(1) { width: 38%; } /* Shul */
#minyan-table th:nth-child(2) { width: 24%; } /* Type */
#minyan-table th:nth-child(3) { width: 20%; } /* Time */
#minyan-table th:nth-child(4) { width: 18%; } /* Room */

#minyan-table td {
  overflow: hidden;
  word-wrap: break-word;
}