/* ==========================================
   INVESTORS PAGE
   ========================================== */

.investors-section {
  min-height: 100vh;
  padding: 100px 40px 80px;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
}

.investors-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.investors-header {
  margin-bottom: 32px;
}

.investors-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.investors-sub {
  font-size: 1rem;
  color: var(--fg-dim);
}

/* FILTERS */
.investors-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.investors-filters .inp-group {
  min-width: 200px;
  flex: 1;
}

.investors-filters select.inp-field {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.investors-filters select.inp-field:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.investors-filters select.inp-field option {
  background: var(--bg-card);
  color: var(--fg);
}

.investors-filters input.inp-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.investors-filters input.inp-field:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

/* TABLE */
.investor-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.investor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.investor-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  background: var(--bg-card);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.investor-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.investor-table th.sortable:hover {
  color: var(--amber);
}

.investor-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-dim);
}

.investor-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.investor-table tbody tr:hover td {
  background: var(--bg-card-hover);
}

.investor-table tbody tr:last-child td {
  border-bottom: none;
}

.investor-table .sort-arrow {
  color: var(--amber);
  font-size: 0.7rem;
  margin-left: 4px;
}

/* EMPTY ROW */
.investor-empty-row td {
  text-align: center;
  font-style: italic;
  color: var(--fg-muted);
  padding: 36px 18px;
}

/* VERIFIED BADGE */
.investor-verified-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ADE80;
}

.investor-unverified {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ROW LINK */
.investor-detail-row-link {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

.investor-detail-row-link:hover {
  color: var(--amber);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .investors-section {
    padding: 88px 20px 60px;
  }

  .investors-filters {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .investors-filters .inp-group {
    min-width: unset;
  }

  .investor-table th,
  .investor-table td {
    padding: 10px 12px;
  }
}
