.representatives-page {
  background: #0a0f1a;
  color: #e2e8f0;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
}

.rep-hero {
  background: linear-gradient(to bottom, #111827, #0f172a);
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 1px solid #1e293b;
  top: 50px;
}

.rep-hero h1 {
  font-size: 2.6rem;
  margin: 0 0 12px;
  color: #60a5fa;
  font-weight: 700;
}

.rep-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto;
}

.rep-filters-full {
  width: 100%;
  background: #0f172a;
  padding: 40px 20px;
  border-bottom: 1px solid #1e293b;
}

.rep-filters-container {
  max-width: 1200px;
  margin: 0 auto;
}

.rep-filters-title {
  text-align: center;
  color: #60a5fa;
  font-size: 1.9rem;
  margin: 0 0 32px;
  font-weight: 600;
}

.rep-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.rep-filter-field label {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1.05rem;
}

.rep-select {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 12px;
  font-size: 1.05rem;
  height: 54px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 18px;
  appearance: none;
}

.rep-select:hover,
.rep-select:focus {
  border-color: #60a5fa;
  background-color: #26344a;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
  outline: none;
}
.rep-select::-webkit-scrollbar {
  width: 8px;
}

.rep-select::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 10px;
}

.rep-select::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 10px;
  border: 2px solid #0f172a;
}

.rep-select::-webkit-scrollbar-thumb:hover {
  background: #60a5fa;
}
.rep-select {
  scrollbar-width: thin;
  scrollbar-color: #475569 #0f172a;
}
.rep-select:focus::-webkit-scrollbar-thumb {
  background: #60a5fa;
}

.rep-map-section {
  padding: 0 20px;
  margin: 40px 0;
}

.rep-map {
  height: 620px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.rep-selected-info {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.rep-selected-inner {
  background: #1e293b;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #334155;
}

.rep-selected-inner h3 {
  color: #60a5fa;
  margin: 0 0 20px;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .rep-hero h1 {
    font-size: 2.1rem;
  }
  .rep-filters-title {
    font-size: 1.6rem;
  }
  .rep-map {
    height: 480px;
  }
}
