  /* Autocomplete Results */
  .autocomplete-results {
    position: absolute;
    background: white;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: calc(100% - 4px);
    display: none;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .autocomplete-results.active {
    display: block;
  }

  .autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #333;
  }

  .autocomplete-item:hover {
    background: #f0f0f0;
  }

  .autocomplete-item:last-child {
    border-bottom: none;
  }

  .city-name {
    font-weight: bold;
    color: #1e3c72;
  }

  .city-state {
    font-size: 0.9em;
    color: #666;
    margin-left: 5px;
  }

  /* Interest Grid */
  .interest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
  }

  .interest-option {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
  }

  .interest-option:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
  }

  .interest-option input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
  }

  .interest-option input[type="checkbox"]:checked + span {
    font-weight: bold;
  }

  .interest-option:has(input:checked) {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.3);
  }

  .interest-option span {
    color: white;
    font-size: 0.95em;
  }

  /* Community List */
  .community-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .community-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }

  .community-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }

  .community-name {
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
  }

  .community-type {
    background: rgba(102, 126, 234, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: capitalize;
  }

  .community-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    margin: 10px 0;
    line-height: 1.4;
  }

  .community-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
  }

  .community-action {
    margin-top: 10px;
  }

  .join-btn, .leave-btn, .enter-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-right: 10px;
  }

  .join-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
  }

  .join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.4);
  }

  .leave-btn {
    background: rgba(255, 75, 75, 0.3);
    color: white;
  }

  .leave-btn:hover {
    background: rgba(255, 75, 75, 0.5);
  }

  .enter-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
  }

  .enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
  }

  .communities-container {
    max-width: 900px;
    margin: 0 auto;
  }