/* Mitgliedersuche – Night */
@import url("community_search_shared.css");

.msearch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0 0 14px;
}

.msearch-field--wide {
  grid-column: 1 / -1;
}

.msearch-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.msearch-date-row .date {
  flex: 1 1 auto;
  min-width: 0;
}

.msearch-fieldset {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.msearch-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}

.msearch-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}

.msearch-choice--check {
  margin: 0 0 16px;
}

.msearch-col-action {
  width: 1%;
  text-align: center !important;
  white-space: nowrap;
}

.msearch-col-num {
  text-align: center !important;
  white-space: nowrap;
}

.msearch-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--inset);
  transition: border-color var(--ease), background-color var(--ease);
}

.msearch-action:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.msearch-action img {
  display: block;
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .msearch-grid {
    grid-template-columns: 1fr;
  }
}
