/* ===== CITY SELECTOR (IBGE API) ===== */

.city-selector {
  margin-bottom: 15px;
}

.city-selector .form-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.btn-add-city {
  padding: 10px 16px;
  background: var(--marsala);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-add-city:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-add-city:not(:disabled):hover {
  background: #600018;
  transform: translateY(-2px);
}

.cities-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  padding: 10px;
  background: var(--light-bg);
  border-radius: 6px;
  margin-bottom: 10px;
}

.cities-chips:empty {
  display: none;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.city-chip:hover {
  border-color: var(--danger);
  background: rgba(220, 53, 69, 0.05);
}

.city-chip .city-name {
  display: flex;
  align-items: center;
  gap: 4px;
}

.city-chip .uf-badge {
  background: var(--marsala);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.city-chip .remove-city {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.city-chip .remove-city:hover {
  background: var(--danger);
  color: white;
}
