@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');

/* Base */
html, body {
  height: 100%;
}
body {
  font-family: "Didact Gothic", sans-serif !important;
  line-height: 1.5;
  color: #222;
  margin: 0;
  padding: 24px;
  background: #fff;
}

#container {
  max-width: 1100px;
  margin: 0 auto;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
}

/* Filters */
#filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 10px;
}

#filters label {
  font-weight: 600;
}

#filters input[type="text"],
#filters select {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

#searchInput {
  flex: 1 1 300px;
  min-width: 240px;
}

#regionFilter {
  flex: 0 0 260px;
  min-width: 220px;
}

/* Results info */
#resultsInfo {
  margin: 8px 0 12px;
  font-size: 14px;
  color: #444;
}

/* Table */
#partnersTable {
  width: 100%;
  border-collapse: collapse;
}

#partnersTable thead th {
  background: #f6f7f9;
  position: sticky;
  top: 0; /* keeps headers visible when scrolling */
  z-index: 2;
}

#partnersTable th,
#partnersTable td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

#partnersTable tbody tr:nth-child(odd) {
  background: #fafafa;
}

#partnersTable tbody tr:hover {
  background: #eef5ff;
}

/* Responsive */
@media (max-width: 640px) {
  body {
    padding: 16px;
  }
  h1 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  #filters {
    gap: 10px 12px;
  }
  #searchInput,
  #regionFilter {
    flex: 1 1 100%;
    min-width: 0;
  }
  #partnersTable th,
  #partnersTable td {
    padding: 8px 10px;
  }
}
